fetching DE415B0E from sks ([don't know]: invalid packet (ctb=2d))

David Shaw dshaw at jabberwocky.com
Fri Apr 7 17:30:55 CEST 2006

On Fri, Apr 07, 2006 at 03:40:43PM +0200, Peter Palfrader wrote:
> Hi,
> running 1.4.4-cvs, when I try to download DE415B0E I get the following
> error:
> | weasel at asteria:~$ gpg --keyserver random.sks.penguin.de --recv 94c09c7f DE415B0E 
> | gpg: requesting key DE415B0E from hkp server random.sks.penguin.de
> | gpg: requesting key 94C09C7F from hkp server random.sks.penguin.de
> | gpg: key DE415B0E: public key "Susumu OSAWA <susumu-o at goforward.org>" imported
> | gpg: [don't know]: invalid packet (ctb=2d)
> | gpg: read_block: read error: invalid packet
> | gpg: Total number processed: 1
> | gpg:               imported: 1
> While it imports the key in question, it breaks the current download
> action, not fetching additional keys given on the command line.

This is a feature, believe it or not.  During an import (and a
keyserver --recv-keys or --refresh-keys is really just an import), GPG
reads packets off the input stream.  Once any of those packets prove
invalid (a packet starting with 2D is invalid), there is no way to
know where it is in the stream - how many bytes should it jump ahead
to get back on the track.


More information about the Gnupg-users mailing list