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 671638 - Trouble reading S/MIME messages
Trouble reading S/MIME messages
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Mail
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-08 11:28 UTC by Milan Crha
Modified: 2012-03-08 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ema patch (1.18 KB, patch)
2012-03-08 13:37 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2012-03-08 11:28:20 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=801254

Description of problem:
Configure two Exchange accounts, using evolution-exchange and exchange-mapi.
Configure S/MIME message signing. Send an e-mail from MAPI. Go to Sent Items in
the account configured with evolution-exchange. Witness a broken message
(cannot verify signature, instead a BASE64 content of signature displayed,
quoted text missing).

Version-Release number of selected component (if applicable):
3.2.3-1.fc16

How reproducible:
Always.

Steps to Reproduce:
1. See description.

Actual results:
S/MIME messages broken.

Expected results:
Should work, I guess.
Comment 1 Milan Crha 2012-03-08 11:35:33 UTC
I can confirm this. If I send an S/MIME signed message through evo-mapi, then evo-eex claims "Error verifying signature, parse error", while evo-mapi and outlook (2007 here) can read the message, even Outlook claims the message had been modified, while evo-mapi shows correct signature icon.

These two issues are probably unrelated, but let's deal with them here for now.
Comment 2 Milan Crha 2012-03-08 13:37:35 UTC
Created attachment 209248 [details] [review]
ema patch

for evolution-mapi;

I would not believe the issue is caused by using LF instead of CRLF to divide headers from actual message body. With this change the message downloaded either through eex or imap+ shows message correctly, with correct message signature (green in evo). The message is also shown in OWA (the previous was not), only my Outlook 2007 keeps bothering me that the message have been altered. I do not know why, because evolution using all three methods shows correct signature with no message change. Maybe an Outlook bug? Who knows.
Comment 3 Milan Crha 2012-03-08 13:38:52 UTC
Created commit 56e98ad in ema master (3.3.92+)