Diffusion GnuPG b375d50ee4ce

gpg: Don't let gpg return failure on an invalid packet in a keyblock.

Authored by werner on Feb 22 2018, 2:23 PM.

Description

gpg: Don't let gpg return failure on an invalid packet in a keyblock.

* g10/keydb.c (parse_keyblock_image): Use log_info instead of
log_error for skipped packets.
* g10/keyring.c (keyring_get_keyblock): Ditto.

log_info should be sufficient and makes this more robust. Some
tools (e.g. Enigmail) are too picky on return codes from gpg.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerFeb 22 2018, 2:23 PM
Parents
rG88e766d3915c: g10: Select a secret key by checking availability under gpg-agent.
Branches
Unknown
Tags
Unknown