Bug 3430 - The PGP/MIME plugin cannot decrypt messages broken by Microsoft Exchange
Summary: The PGP/MIME plugin cannot decrypt messages broken by Microsoft Exchange
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/Privacy/PGP (show other bugs)
Version: 3.12.0
Hardware: All All
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2015-05-21 16:46 UTC by Ramón Cahenzli
Modified: 2015-05-21 16:46 UTC (History)
0 users

See Also:


Attachments

Description Ramón Cahenzli 2015-05-21 16:46:06 UTC
The PGP/MIME plugin gets (rightfully) confused when it encounters a PGP/MIME message that was broken by Microsoft Exchange. The problem in the server is well-known since 2008 [1].

The Enigmail team handles this issue by detecting whether it's looking at such a broken message and decrypting the correct part. It even offers to repair the message for the user, so that it gets stored in a proper fashion. The code for detecting is in Enigmail's enigmailConvert.jsm [2].

Maybe the PGP/MIME plugin could be extended to show the same behavior? I would start myself, but my last contact with C was in 1996 and I surely won't let that anywhere near privacy-related code :)


[1] https://social.technet.microsoft.com/Forums/en-US/0f90b1be-6e7e-4658-b577-2bcfec02f7c9/exchange-2007-messes-up-pgp-encrypted-messages?forum=exchangesvrsecuremessaginglegacy

[2] http://sourceforge.net/p/enigmail/source/ci/master/tree/package/enigmailConvert.jsm

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