mirror of https://github.com/nucypher/nucypher.git
Stray import of Signature.
parent
57396ef1ca
commit
8379b23a1f
|
@ -114,7 +114,7 @@ def test_bob_can_issue_a_work_order_to_a_specific_ursula(enacted_policy, bob,
|
|||
# Attach the CFrag to the Capsule.
|
||||
capsule = capsule_side_channel[0].capsule
|
||||
capsule.set_correctness_keys(delegating=enacted_policy.public_key,
|
||||
encrypting=bob.public_key(EncryptingPower),
|
||||
receiving=bob.public_key(EncryptingPower),
|
||||
verifying=alice.stamp.as_umbral_pubkey())
|
||||
capsule.attach_cfrag(the_cfrag)
|
||||
|
||||
|
@ -142,7 +142,7 @@ def test_bob_can_issue_a_work_order_to_a_specific_ursula(enacted_policy, bob,
|
|||
assert the_correct_cfrag.verify_correctness(capsule,
|
||||
delegating_pubkey=enacted_policy.public_key,
|
||||
signing_pubkey=alice.stamp.as_umbral_pubkey(),
|
||||
encrypting_pubkey=bob.public_key(EncryptingPower))
|
||||
receiving_pubkey=bob.public_key(EncryptingPower))
|
||||
|
||||
# Now we'll show that Ursula saved the correct WorkOrder.
|
||||
work_orders_from_bob = ursula.work_orders(bob=bob)
|
||||
|
|
|
@ -11,10 +11,6 @@ from nucypher.blockchain.eth.chains import Blockchain
|
|||
from nucypher.characters import Alice, Bob
|
||||
|
||||
from nucypher.config.configs import NucypherConfig
|
||||
from nucypher.crypto.signature import SignatureStamp
|
||||
|
||||
from nucypher.keystore import keystore
|
||||
from nucypher.keystore.db import Base
|
||||
|
||||
from nucypher.data_sources import DataSource
|
||||
from nucypher.keystore import keystore
|
||||
|
|
Loading…
Reference in New Issue