gnupg - pgp reading signed files

Johan Wevers johanw at
Mon Jul 14 20:00:56 CEST 2014


Due to a discussion on sci.crypt I tried pgp 2.6 accept a file signed by
gnupg. This worked, but only when I set the compression to 0 (none).
Doesn't pgp 2.6 use zip compression?

I have in gpg.conf:

compress-algo 0
cipher-algo IDEA
digest-algo MD5
s2k-cipher-algo IDEA
s2k-digest-algo MD5

gpg --sign --armor file.txt

results in file.txt.asc

pgp 2 can interpret it just fine. I use gnupg 1.4.18 and pgp 2.6.3ia
(compiled myself as 32 bit win32 commandline executable).

If I use another value for compress-algo pgp gives:

ERROR: Nested data has unexpected format. CTB=0x90

ir. J.C.A. Wevers
PGP/GPG public keys at

More information about the Gnupg-users mailing list