mutable: stub out pubkey creation until we wire in pycryptopp properly

This commit is contained in:
Brian Warner 2007-11-06 19:27:06 -07:00
parent ddf4d23bef
commit 8be9ef5149

View 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):