mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-03 23:15:33 +00:00
updates
This commit is contained in:
parent
65de27f436
commit
494ee56fd3
@ -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').data == pubkey
|
||||
else:
|
||||
keychain['pubkey']=KomradeAsymmetricPublicKey(pubkey)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user