Diffusion GnuPG 4c7d63cd5b02

gpg: Do not bail on an invalid packet in the local keyring.

Authored by werner on May 21 2019, 5:27 PM.

Description

gpg: Do not bail on an invalid packet in the local keyring.

* g10/keydb.c (parse_keyblock_image): Treat invalid packet special.

This is in particular useful to run --list-keys on a keyring with
corrupted packets. The extra flush is to keep the diagnostic close to
the regular --list-key output.

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

Details

Committed
wernerMay 21 2019, 5:27 PM
Parents
rG156788a43c20: gpg: Do not allow creation of user ids larger than our parser allows.
Branches
Unknown
Tags
Unknown