After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313806 - gw: cannot decrypt an encrypted message
gw: cannot decrypt an encrypted message
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.4.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: parthasarathi susarla
Evolution QA team
Depends on:
Blocks: 327508 327510
 
 
Reported: 2005-08-18 09:26 UTC by C Shilpa
Modified: 2013-09-13 00:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Patch for the bug (2.29 KB, patch)
2005-08-19 07:12 UTC, parthasarathi susarla
needs-work Details | Review

Description C Shilpa 2005-08-18 09:26:41 UTC
Version details: 2.3.7
Distribution/Version: SuSE 9.3

Receive an encrypted message. Now try to access the message

Actual results:
It does not prompt for the passphrase and in the message it says
"Could not parse S/MIME message.
gpg: armor header: Version: GnuPG v1.4.0 (GNU/Linux)
gpg: public key is BA7EAA58
gpg: using secondary key BA7EAA58 instead of primary key D07575BC
gpg: encrypted with 1024-bit ELG-E key, ID BA7EAA58, created 2005-06-21
"Shilpa C <cshilpa@novell.com>"
gpg: decryption failed: secret key not available"

Expected results:
Should prompt for the passphrase as soon as the encrypted message is selected.
Should decrypt the message if the correct passphrase is entered. Otherwise
should display the above message if the wrong passphrase or the passphrase is
not entered.

Other information:
Using the IMAP protocol to send and receive the message and using PGP encryption.
Comment 1 C Shilpa 2005-08-18 10:23:08 UTC
If an encrypted message is sent using groupwise, the message is received as an
attachment which says 'PGP/MIME-encrypted message header attachment'
Comment 2 Not Zed 2005-08-19 05:29:14 UTC
Umm, this means you dont have the key to decrypt the message.  You cannot be
asked for a passphrase on a non-existant key.

gpg: encrypted with 1024-bit ELG-E key, ID BA7EAA58, created 2005-06-21
"Shilpa C <cshilpa@novell.com>"
gpg: decryption failed: secret key not available"

The second comment looks like a bug somewhere though.
Comment 3 Shreyas Srinivasan 2005-08-19 07:10:56 UTC
Reassigning to Partha as it looks like a Groupwise bug. In imap this works just fine
Comment 4 parthasarathi susarla 2005-08-19 07:12:05 UTC
Created attachment 50976 [details] [review]
Patch for the bug

The groupwise soap interface expects the signature (any attachment) to be in
base64. The attached patch fixes that.
Comment 5 Not Zed 2005-08-24 03:25:20 UTC
you do know that, because of a particularly stupid rfc (rfc1847), that
multipart/signed and multipart/encrypted MUST be treated as a completely opaque,
basically binary, block?  You can't process it in separated parts.

(i'm not sure from that patch if that's what you do, but it looks like you do).
Comment 6 parthasarathi susarla 2005-08-27 04:22:01 UTC
The groupwise server soap interface (unfortunately) expects it as an attachment
with some particular name. Sigh! have to change a lot in this patch. for 2.4.1
maybe.
Comment 7 parthasarathi susarla 2006-07-11 06:37:36 UTC
This bug has been fixed on HEAD. Cant commit the patch to the stable branch since it will break API/ABI.
Closing this bug.