From: Brian Warner Date: Wed, 7 Nov 2007 02:27:06 +0000 (-0700) Subject: mutable: stub out pubkey creation until we wire in pycryptopp properly X-Git-Url: https://git.rkrishnan.org/FOOURL?a=commitdiff_plain;h=8be9ef5149b63a2f8b032b5c2337a0087732469d;p=tahoe-lafs%2Ftahoe-lafs.git mutable: stub out pubkey creation until we wire in pycryptopp properly --- diff --git a/src/allmydata/mutable.py b/src/allmydata/mutable.py index c7baca4e..7ced3b1e 100644 --- a/src/allmydata/mutable.py +++ b/src/allmydata/mutable.py @@ -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):