gpg: Don't let gpg return failure on an invalid packet in a keyblock.
authorWerner Koch <wk@gnupg.org>
Thu, 22 Feb 2018 13:23:01 +0000 (14:23 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 22 Feb 2018 13:23:01 +0000 (14:23 +0100)
commitb375d50ee4ce52c9b0f0855ec155be027642fb05
treef3e0d600229ca7dbbbd7216d62ecf48d6cb73dc1
parent88e766d3915c2919e9968148ebb30463d4a673e4
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>
g10/keydb.c
g10/keyring.c