We might initially construct a MessageKit without some of the components.

pull/157/head
jMyles 2018-02-12 12:59:52 -08:00
parent e17e10b452
commit 0e57e44c03
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class CryptoKit:
class MessageKit(CryptoKit):
splitter = capsule_splitter + key_splitter
def __init__(self, capsule, alice_pubkey, ciphertext):
def __init__(self, capsule, alice_pubkey=None, ciphertext=None):
self.ciphertext = ciphertext
self.capsule = capsule
self.alice_pubkey = alice_pubkey