Red Hat Bugzilla – Bug 234087
Incorrect detection of multiple plaintexts
Last modified: 2008-05-30 22:16:28 EDT
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
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 *'
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.
All files decrypted successfully with no warnings or errors.
Created attachment 152736 [details]
Here's a patch. It'll be in 1.4.8.
Just tested patch -- works fine. Thanks!
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
Yeah, that's still there. Moving back to assigned, setting release to 8.
gnupg-1.4.7-9.fc7 has been submitted as an update for Fedora 7
gnupg-1.4.7-10.fc8 has been submitted as an update for Fedora 8
gnupg-1.4.7-9.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gnupg'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F7/FEDORA-2008-3233
gnupg-1.4.7-10.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
gnupg-1.4.7-9.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.