GnuPG 2.1.0: key too large, import stops

Werner Koch wk at
Thu Dec 4 10:54:33 CET 2014

On Tue, 25 Nov 2014 03:26, gnupg-devel at said:
> Is there a way to skip the import of that one key, continuing on, so
> that one unimportable key doesn't abort the entire keyring?


    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.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-devel mailing list