]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
mutable: stub out pubkey creation until we wire in pycryptopp properly
authorBrian Warner <warner@allmydata.com>
Wed, 7 Nov 2007 02:27:06 +0000 (19:27 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 7 Nov 2007 02:27:06 +0000 (19:27 -0700)
src/allmydata/mutable.py

index c7baca4eb8ae1dd4a8df32ff002394b8df4313cc..7ced3b1e3efa29aea006246f68c45e609a622dec 100644 (file)
@@ -919,6 +919,9 @@ class MutableFileNode:
         # TODO: wire these up to pycryptopp
         privkey = "very private"
         pubkey = "public"
+        from allmydata.test.test_mutable import FakePrivKey, FakePubKey
+        pubkey = FakePubKey(0)
+        privkey = FakePrivKey(0)
         return pubkey, privkey
 
     def _publish(self, initial_contents):