2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-19 15:25:34 +00:00
This commit is contained in:
quadrismegistus 2020-09-12 22:34:57 +01:00
parent 59ec5403a8
commit b6b1b5c692

View File

@ -320,7 +320,7 @@ class Keymaker(Logger):
# get uri # get uri
if pubkey: if pubkey:
uri = b64encode(pubkey) if not isBase64(pubkey) and type(pubkey) == bytes else pubkey.data_b64_s uri = b64encode(pubkey) if not isBase64(pubkey) else pubkey
#uri = b64encode(pubkey) if type(pubkey)==bytes else b64encode(pubkey.encode()) #uri = b64encode(pubkey) if type(pubkey)==bytes else b64encode(pubkey.encode())
# get from cache # get from cache
for keyname in look_for: for keyname in look_for: