GPG Decryption fails for files > 1MB

david.vazquez_landa at ecb.int david.vazquez_landa at ecb.int
Fri Apr 13 17:11:06 CEST 2012


Hello Werner, 

The files sent to us are already encoded using --armor. Funnily enough, only files larger than 1MB fail. Anything smaller can be decrypted without problems. 

Anyway, thanks for the hint.

Best Regards,

David Vázquez
EDEN Team
__________________ 
Tel. (+49) 69 1344 7029
Mail. david.vazquez-landa at ecb.europa.eu


> -----Original Message-----
> From: Werner Koch [mailto:wk at gnupg.org]
> Sent: Friday 13 April 2012 16:28
> To: Vazquez Landa, David
> Cc: gnupg-users at gnupg.org
> Subject: Re: GPG Decryption fails for files > 1MB
> 
> On Thu, 12 Apr 2012 10:49, david.vazquez_landa at ecb.int said:
> 
> > We have an issue with one of our users. When he sends encrypted
> messages larger than ~1 MB, we get these errors:
> 
> > gpg: [don't know]: invalid packet (ctb=0d)
> >
> 
> > gpg: [don't know]: invalid packet (ctb=0a)
> 
> 
> This might indicate a problem in your file transfer - make sure data is
> not modified; i.e. the channel is 8 bit clean).  As a quick test you may
> add the option --armor to the encryption command - this makes the
> message larger but it will be plain ASCII.
> 
> > $ /cygdrive/d/GNU/GnuPG/gpg.exe --version
> >
> > gpg (GnuPG) 1.4.8
> 
> I don't know whether you use a version of GPG build for Cygwin - I
> suggest to use a native Windows version of GnuPG - and well; update to
> a more recent version <ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32ci-
> 1.4.12.exe>
> 
> > Is this a gnupg bug?
> 
> I doubt that.  If you need support, you may want to checkout the service
> directory at gnupg.org.
> 
> 
> 
> Salam-Shalom,
> 
>    Werner
> 
> --
> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.





Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement. This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system.





More information about the Gnupg-users mailing list