Skip to content

Commit

Permalink
gpg: change warning log statement to debug
Browse files Browse the repository at this point in the history
Change warning type log statement about exported subkeys to debug.
This is no longer relevant for GPGSigner.import_, which don't
return key bundles to the user, but only a key or a subkey.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
  • Loading branch information
lukpueh committed Mar 6, 2023
1 parent c77018a commit 1752316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securesystemslib/gpg/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def get_pubkey_bundle(data, keyid):
):
if public_key and public_key["keyid"].endswith(keyid.lower()):
if idx > 1:
log.warning(
log.debug(
"Exporting master key '{}' including subkeys '{}' for" # pylint: disable=logging-format-interpolation,consider-using-f-string
" passed keyid '{}'.".format(
master_public_key["keyid"],
Expand Down

0 comments on commit 1752316

Please sign in to comment.