GNOME Bugzilla – Bug 671638
Trouble reading S/MIME messages
Last modified: 2012-03-08 13:38:52 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.
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.
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.
Created commit 56e98ad in ema master (3.3.92+)