GnuPG 2.1.0: key too large, import stops

Hauke Laging mailinglisten at
Thu Dec 4 11:05:44 CET 2014

Am Do 04.12.2014, 10:54:33 schrieb Werner Koch:

>     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. --

Wouldn't it make sense to leave this value rather low and create an 
option for overriding?

--max-file-size 5000000

If a large cert is skipped a warning pointing at this option could be 

Crypto für alle:
OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20141204/9a5e99dc/attachment.sig>

More information about the Gnupg-devel mailing list