2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-03 23:15:33 +00:00
This commit is contained in:
quadrismegistus 2020-09-12 21:20:39 +01:00
parent 65de27f436
commit 494ee56fd3

View File

@ -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)