PGP and GnuPG compatibility issue

Werner Koch wk at
Thu Feb 11 11:10:42 CET 1999

dwpalmer at writes:

> I've tried MD5, SHA1, and RIPEMD160 with 3DES.  All fail in the same
> way, but almost works.  The file that PGP creates has everything but
> the first few lines of the original file before complaining, "The
> keyring contains a bad (corrupted) PGP packet."  Note that everything
> works fine when using much smaller files.

I notced that there is a bug in the GnuPG buffering code which leads
to some extra bytes - I have to check this.  AFAIK this only happens
with large file but the ususal buffer size is 8k ...


ceterum censeo RSA esse delendam

More information about the Gnupg-devel mailing list