gpg: Allow import of large keys.
authorWerner Koch <wk@gnupg.org>
Thu, 4 Dec 2014 09:53:10 +0000 (10:53 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 4 Dec 2014 09:53:10 +0000 (10:53 +0100)
commit63e7891f0f9f0228d93c6cd979fbf2797da2b67d
tree1c3421cceb8031e985e2cc5ff7affb64c023a914
parent2d37e0c800623c3704d9167153507df83b75745e
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>
NEWS
g10/import.c
kbx/keybox-file.c