From 3940a19ff8f199bbb2abbd99fa03560456d32a06 Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Sat, 12 Sep 2020 22:24:36 +0100 Subject: [PATCH] updates --- komrade/backend/keymaker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komrade/backend/keymaker.py b/komrade/backend/keymaker.py index 81fea47..646263b 100644 --- a/komrade/backend/keymaker.py +++ b/komrade/backend/keymaker.py @@ -311,7 +311,7 @@ class Keymaker(Logger): name,pubkey = self.find_pubkey_and_name() # get uri - uri = b64encode(pubkey) if type(pubkey)==bytes else b64encode(pubkey.decode().data) + uri = b64encode(pubkey) if type(pubkey)==bytes else b64encode(pubkey.encode()) # get from cache for keyname in look_for: