prepare: Add warning if local PGP key not found.

This commit is contained in:
tecnovert 2025-03-26 12:33:33 +02:00
parent 1f6ef7dfc7
commit 65cf6789a7
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93

View file

@ -493,6 +493,8 @@ def importPubkey(gpg, pubkey_filename, pubkeyurls):
return
except Exception as e:
logging.warning(f"Import from file failed: {e}")
else:
logger.warning(f"Public key file {pubkey_filename} not found locally.")
for url in pubkeyurls:
try: