diff options
author | Werner Koch <[email protected]> | 2019-05-21 15:27:42 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-05-21 15:40:41 +0000 |
commit | 30f44957ccd1433846709911798af3da4e437900 (patch) | |
tree | 4ed1c6e00d8b4387f9276a75faf2c7c29a8d6f63 /common/userids.c | |
parent | gpg: Do not allow creation of user ids larger than our parser allows. (diff) | |
download | gnupg-30f44957ccd1433846709911798af3da4e437900.tar.gz gnupg-30f44957ccd1433846709911798af3da4e437900.zip |
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 <[email protected]>
This is a backport from master with support for the unsupported v5 key
handling.
Diffstat (limited to 'common/userids.c')
0 files changed, 0 insertions, 0 deletions