mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
44fec4bf8b
commit
c82ae0d058
@ -255,7 +255,8 @@ class Keymaker(Logger):
|
||||
def find_pubkey(self,name=None):
|
||||
if not name: name=self.name
|
||||
if 'pubkey' in self._keychain and self._keychain['pubkey']:
|
||||
return self._keychain['pubkey']
|
||||
pk=self._keychain['pubkey']
|
||||
return KomradeAsymmetricPublicKey(b64dec(pk)) if type(pk)==bytes else pk
|
||||
res = self.crypt_keys.get(name, prefix='/pubkey/')
|
||||
res = self.load_qr(self.name)
|
||||
if not res: return
|
||||
|
Loading…
Reference in New Issue
Block a user