search cancel

BUG REPORT: Large Files Encrypted by GPG Cannot be Decrypted with PGP "Error 3090: Operation Failed, Bad Packet"


Article ID: 157424


Updated On:


PGP Command Line


Larger files (2+ GB) encrypted by GPG 1.x, or 2.x fail to decrypt when using PGP Command Line 10.2 or 10.2.1.

pgp --decrypt encrypted-test.gpg --passphrase "password" --verbose
pgp:decrypt (3157:current local time 2012-12-03T16:39:18-07:00)
C:\Documents and Settings\Administrator\My Documents\PGP\pubring.pkr:open keyrings (1006:public keyring)
C:\Documents and Settings\Administrator\My Documents\PGP\secring.skr:open keyrings (1007:private keyring)
Decoding file encrypted-test.gpg... 99% (Γ╕ѵÿ▒τîÑ)   encrypted-test.gpg:decrypt (3090:operation failed, bad packet)
Wiping file pgp-4448-0.tmp... 100%
pgp-4448-0.tmp:decrypt (0:file wiped successfully)


It appears there is a failure in parsing data at the close of the decryption process.  It appears that the file does decrypt successfully to a temp file, but  when the command fails to successfully complete, the Temp file is erased.


Currently use the following workaround to resolve the issue by running the PGP decrypt command with "--temp-cleanup off" included. 

For example:
pgp --decrypt --passphrase "your password" --temp-cleanup off --verbose

This should leave the temp file behind.  It should appear in the following format:

At this point you should be able to rename the file back to its original file name and use the file as you normally would.

This issue is fixed in the following release:
•  10.3.0 build 214

Please upgrade to the latest available release.