From 8be9ef5149b63a2f8b032b5c2337a0087732469d Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 6 Nov 2007 19:27:06 -0700 Subject: [PATCH] mutable: stub out pubkey creation until we wire in pycryptopp properly --- src/allmydata/mutable.py | 3 +++ 1 file changed, 3 insertions(+) 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): -- 2.45.2