@ -362,6 +362,8 @@ def hasLocalPGPkey() -> bool:
homeDir = str(Path.home())
gpgDir = homeDir + '/.gnupg'
if os.path.isdir(gpgDir):
keyId = _pgpLocalPublicKeyId()
if keyId:
return True
return False