Bug 238429 - Incorrect detection of multiple plaintexts
Summary: Incorrect detection of multiple plaintexts
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gnupg
Version: 4.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact:
URL:
Whiteboard:
Depends On: 234087
Blocks: 442815
TreeView+ depends on / blocked
 
Reported: 2007-04-30 13:43 UTC by Sachin Prabhu
Modified: 2018-10-27 12:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-08 03:56:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch for gnupg-1.2.6-9 copied from bz 234087 (1.37 KB, patch)
2007-04-30 13:43 UTC, Sachin Prabhu
no flags Details | Diff

Description Sachin Prabhu 2007-04-30 13:43:46 UTC
+++ 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

Comment 1 Sachin Prabhu 2007-04-30 13:43:46 UTC
Created attachment 153795 [details]
Patch for gnupg-1.2.6-9 copied from bz 234087

Comment 2 Sachin Prabhu 2007-04-30 13:45:59 UTC
Regression noticed after upgrading from 'gnupg-1.2.6-8'to 'gnupg-1.2.6-9".


Comment 4 RHEL Program Management 2008-04-16 11:53:57 UTC
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.

Comment 10 Subhendu Ghosh 2010-09-08 03:56:50 UTC
The issue is cosmetic: decryption works with the --allow-multiple-messages
option.

Closing bug.


Note You need to log in before you can comment on or make changes to this bug.