GPG - Invalid packet

Harper, Jason (GE Consumer Finance) jason.harper at
Fri Apr 2 17:46:31 CEST 2004

We get the file via a program called "Connect Direct" from Sterling Software, which I 'believe' to be a binary transfer program (will have to check).  Also the file itself does not have the neat "----BEGIN PGP MESSAGE----".  When I look at it in VIM it is total gibberish, but there is a noticeable "pgp" within the first 6 characters (e.g. "¨ PGPÁÂN Ä»ƒ£eÔlã )

-----Original Message-----
From: David Shaw [mailto:dshaw at] 
Sent: Friday, April 02, 2004 10:27 AM
To: Harper, Jason (GE Consumer Finance)
Cc: gnupg-users at
Subject: Re: GPG - Invalid packet

On Fri, Apr 02, 2004 at 09:32:54AM -0500, Harper, Jason (GE Consumer Finance) wrote:
> Jim,
> No ascii-armor was used. The encryption command that was used on the 
> NAI system was:
> pgp --encrypt --user mypublickey --encrypt-to-self datafile.dat

How was the file transferred to you?  It it was FTP, make sure you didn't transfer it in text mode.  That'll mangle the file in a way similar to what you posted.


More information about the Gnupg-users mailing list