Lots of "packet(6) too short" errors with gpg 2.1

Marco d'Itri md at Linux.IT
Mon Nov 3 04:54:51 CET 2014

On Oct 31, Werner Koch <wk at gnupg.org> wrote:

> Found and fixed: The --keydb-rebuild-caches function which is also used
> internally before checking the trustdb, caused the trouble.  It parsed
> the key and wrote it back.  Now v3 keys are not anymore supported and
> thus a garbled package was written.  The parsing is required to check
This also breaks the keyring for gpg 1.x BTW:

md at bongo:~$ gpg --list-sigs
gpg: packet(6) too short
gpg: keyring_get_keyblock: read error: invalid packet
gpg: keydb_get_keyblock failed: invalid keyring
[Exit 2]


More information about the Gnupg-devel mailing list