Policy now takes multiple kFrags and a URI as arguments.

pull/145/head
jMyles 2017-12-14 11:22:00 -08:00
parent f5a0db8603
commit 847a0e0e99
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ class Policy(object):
hashed_part = 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):
"""
:param kfrag: