+++ This bug was initially created as a clone of Bug #234087 +++ Description of problem: When decrypting multiple GPG encrypted files with --multifile --decrypt (or --decrypt-files), I get "gpg: WARNING: multiple plaintexts seen" warnings for all but the first file in the list. Furthermore, decryption fails with the message "gpg: handle plaintext failed: unexpected data" on all but the first file unless I give it the --allow-multiple-messages option. But even then, I still get the warning messages. All files in the list have been encrypted with gnupg, verified with 'file' as "GPG encrypted data", and are not plain text. Version-Release number of selected component (if applicable): gpg (GnuPG) 1.4.7 How reproducible: Completely reproducible. Steps to Reproduce: 1. Create a subdir with several files. 2. Encrypt all files in the subdir with gnupg; remove originals 3. Attept to decrypt all files at once with 'gpg --multifile --decrypt *' Actual results: Only the first file in the shell expansion list of '*' gets decrypted. The rest generate the warning message "gpg: WARNING: multiple plaintexts seen" ans well as a line indicating that decryption failed. Using --allow-multiple-messages will cause the files to be decrypted, but the warning message persists. Expected results: All files decrypted successfully with no warnings or errors. Additional info: -- Additional comment from dshaw on 2007-04-16 23:09 EST -- Created an attachment (id=152736) Bug fix Here's a patch. It'll be in 1.4.8. -- Additional comment from mobleym on 2007-04-17 14:07 EST -- Just tested patch -- works fine. Thanks! --mgm
Created attachment 153795 [details] Patch for gnupg-1.2.6-9 copied from bz 234087
Regression noticed after upgrading from 'gnupg-1.2.6-8'to 'gnupg-1.2.6-9".
This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being proposed as a blocker for this release. Please resolve ASAP.
The issue is cosmetic: decryption works with the --allow-multiple-messages option. Closing bug.