Home GnuPG
Diffusion GnuPG 63e7891f0f9f

gpg: Allow import of large keys.
63e7891f0f9fUnpublished

Unpublished Commit · Learn More

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

Description

gpg: Allow import of large keys.

* g10/import.c (import): Skip too large keys.
* kbx/keybox-file.c (IMAGELEN_LIMIT): Change limit from 2MB to 5MB.

The key which triggered the problem was 0x57930DAB0B86B067. With this
patch it can be imported. Keys larger than the now increased limit of
5MB will are skipped and the already existing not_imported counter is
bumped up.

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

Details

Provenance
wernerAuthored on Dec 4 2014, 10:53 AM
Parents
rG2d37e0c80062: indentation: Update g10/import.c
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG63e7891f0f9f: gpg: Allow import of large keys. (authored by Werner Koch <wk@gnupg.org>).Dec 4 2014, 10:53 AM