GPG Decryption fails for files > 1MB

david.vazquez_landa at david.vazquez_landa at
Thu Apr 12 10:49:36 CEST 2012

Hello list,


We have an issue with one of our users. When he sends encrypted messages larger than ~1 MB, we get these errors:


8218 - PGP decryption error - gpg: encrypted with RSA key, ID CD5AA2E4

gpg: encrypted with 2048-bit RSA key, ID B44D925D, created 2006-03-29

      "Mehdi Rahman <mr at>"

gpg: encrypted with 2048-bit RSA key, ID 4E9BF326, created 2010-03-16

      "Mehdi Rahman <Mehdi.Rahman at>"

gpg: encrypted with 2048-bit ELG-E key, ID 044C8E09, created 2008-04-04

      "EXDI_STC (EXDI PGP key for STC) <exdidata.stats at>"

gpg: [don't know]: invalid packet (ctb=27)

gpg: [don't know]: invalid packet (ctb=0d)

gpg: mdc_packet with invalid encoding

gpg: decryption failed: invalid packet

gpg: [don't know]: invalid packet (ctb=0a)

gpg: block_filter: pending bytes!

gpg: no valid OpenPGP data found.


This is the output of gpg.exe –version:


$ /cygdrive/d/GNU/GnuPG/gpg.exe --version

gpg (GnuPG) 1.4.8

Copyright (C) 2007 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.


Home: C:/Users/sa_vazqula/AppData/Roaming/gnupg

Supported algorithms:



Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224

Compression: Uncompressed, ZIP, ZLIB, BZIP2


And we run it on a Windows 2008 – 64 Bit VM.


Is this a gnupg bug?


Best Regards,


David Vázquez



Tel. (+49) 69 1344 7029

Mail. david.vazquez-landa at <mailto:david.vazquez-landa at> 


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20120412/bb82e2e8/attachment.htm>

More information about the Gnupg-users mailing list