mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-19 15:25:34 +00:00
updates
This commit is contained in:
parent
a20bb787f9
commit
16c5bc565b
@ -44,7 +44,7 @@ class Operator(Keymaker):
|
||||
assert type(pubkey)==bytes
|
||||
if isBase64(pubkey): pubkey = b64decode(pubkey)
|
||||
if keychain.get('pubkey'):
|
||||
assert keychain.get('pubkey').data == pubkey
|
||||
assert keychain.get('pubkey') == pubkey
|
||||
else:
|
||||
keychain['pubkey']=KomradeAsymmetricPublicKey(pubkey)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user