mirror of https://gitlab.com/bashrc2/epicyon
Check that tag value is a string
parent
43e98aba6d
commit
32817b721a
2
pgp.py
2
pgp.py
|
@ -341,6 +341,8 @@ def _getPGPPublicKeyFromActor(handle: str, actorJson=None) -> str:
|
||||||
continue
|
continue
|
||||||
if not tag.get('value'):
|
if not tag.get('value'):
|
||||||
continue
|
continue
|
||||||
|
if not isinstance(tag['value'], str):
|
||||||
|
continue
|
||||||
if '--BEGIN PGP PUBLIC KEY BLOCK--' in tag['value']:
|
if '--BEGIN PGP PUBLIC KEY BLOCK--' in tag['value']:
|
||||||
return tag['value']
|
return tag['value']
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue