Home GnuPG
Diffusion GnuPG 2ca90f78cee9

gpg: Skip overlong keys and a print a warning.
2ca90f78cee9Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Skip overlong keys and a print a warning.

* kbx/keybox-search.c (keybox_search): Add arg r_skipped and skip too
long blobs.
* sm/keydb.c (keydb_search): Call keybox_search with a dummy param.
* g10/keydb.c (struct keydb_handle): Add field skipped_long_blobs.
(keydb_search_reset): Reset that field.
(keydb_search): Update that field.
(keydb_get_skipped_counter): New.
* g10/keylist.c (list_all): Print count of skipped keys.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Oct 9 2014, 9:01 PM
Parents
rG60e21d8b8588: gpg: Sync keylist output and warning messages.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG2ca90f78cee9: gpg: Skip overlong keys and a print a warning. (authored by Werner Koch <wk@gnupg.org>).Oct 9 2014, 9:01 PM