GPG - Invalid packet

Harper, Jason (GE Consumer Finance) jason.harper at ge.com
Thu Apr 1 21:26:22 CEST 2004


Dear Group,

I've been using gpg to do file encryption with partners of ours, but we
just ran into two odd issues. I've done the google thing on this, but
I'm not making much progress. Does the list have any pointers for me to
look at? We've not run into this before. 

The source file is being encrypted, and compressed and signed by an NAI
7.11 Business PGP system, and we are opening on a Solaris 8 box with gpg
1.2.3.  I've sanitized some of the data to protect the innocent..

Sample one:

gpg --output ce331 --decrypt CE_Con_1040326.dat
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: encrypted with 3072-bit ELG-E key, ID xxxxxxxx, created 2001-08-23
      "KEYNAME <key at mycorp.com>"
gpg: encrypted with 1024-bit ELG-E key, ID xxxxxxxx, created 2004-03-25
      "key at sample.com (COMPANY decription key) <key at sample.com>"
gpg: Signature made Fri Mar 26 14:20:29 2004 EST using DSA key ID
xxxxxxxx
gpg: Good signature from "COMPANY <key at sample.com>"
gpg:                 aka "COMPANY <key at sample.com>"
gpg: [don't know]: invalid packet (ctb=1f)
gpg: WARNING: message was not integrity protected
gpg: [don't know]: invalid packet (ctb=40)
 
Then it just ends, but we end up with a plain text file. Accuracy of the
file is unkown.  What is the CTB=1f and CTB=40

Sample two:

->> gpg --output au331 --decrypt  AU_Con_1040331.dat
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: encrypted with 3072-bit ELG-E key, ID xxxxxxxx, created 2001-08-23
      "COMPANY <key at mycorp.com>"
gpg: encrypted with 1024-bit ELG-E key, ID xxxxxxxx, created 2004-03-25
      "key at sample.com (COMPANY decription key) <key at sample.com>"
gpg: Signature made Fri Mar 26 14:20:46 2004 EST using DSA key ID
xxxxxxx
gpg: Good signature from "COMPANY <key at sample.com>"
gpg:                 aka "COMPANY <key at sample.com>"
File `au331' exists. Overwrite (y/N)? yes
gpg: Problem reading source (2386467048 bytes remaining)
gpg: handle plaintext failed: file read error
gpg: WARNING: message was not integrity protected

Thanks for any and all assistance.

jason




More information about the Gnupg-users mailing list