header field causing problem

ejonesca at yahoo.com ejonesca at yahoo.com
Sat Sep 20 23:24:01 CEST 2008


I got a message that gpg failed to decrypt. It looked something like this:

-----BEGIN PGP MESSAGE-----
Charset: ISO-8859-1

Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

hQQOAx8Jy...
-----END PGP MESSAGE-----

When I saved this message to a file and ran gpg --decrypt on it, this is what it returned:
$ gpg --decrypt decryptme.txt
gpg: invalid radix64 character 3A skipped
gpg: invalid radix64 character 2E skipped
gpg: invalid radix64 character 2E skipped
gpg: invalid radix64 character 28 skipped
gpg: invalid radix64 character 29 skipped
gpg: invalid radix64 character 3A skipped
gpg: invalid radix64 character 2D skipped
gpg: invalid radix64 character 3A skipped
gpg: invalid radix64 character 2E skipped
gpg: invalid radix64 character 2E skipped
gpg: CRC error; FCF429 - 1C37C0
gpg: [don't know]: invalid packet (ctb=55)

However, when I deleted the Charset: field, it was able to decrypt it just fine. That is, when I made it look like:

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

hQQOAx8Jy...
-----END PGP MESSAGE-----

Then gpg --decrypt worked just fine.

I'm running gpg version 1.4.6.


      



More information about the Gnupg-users mailing list