mirror of https://github.com/nucypher/nucypher.git
Policy now takes multiple kFrags and a URI as arguments.
parent
f5a0db8603
commit
847a0e0e99
|
@ -189,7 +189,7 @@ class Policy(object):
|
||||||
hashed_part = None
|
hashed_part = None
|
||||||
_id = None
|
_id = None
|
||||||
|
|
||||||
def __init__(self, alice, bob=None, kfrag=UNKNOWN_KFRAG, pfrag=None, alices_signature=NOT_SIGNED, challenge_size=20,
|
def __init__(self, alice, bob=None, kfrags=(UNKNOWN_KFRAG,), pfrag=None, uri=None, alices_signature=NOT_SIGNED, challenge_size=20,
|
||||||
set_id=True, encrypted_challenge_pack=None):
|
set_id=True, encrypted_challenge_pack=None):
|
||||||
"""
|
"""
|
||||||
:param kfrag:
|
:param kfrag:
|
||||||
|
|
Loading…
Reference in New Issue