Page MenuHome GnuPG

GpgOL: Mail forwarded as attachment not decrypted
Open, NormalPublic

Description

A mail forwarded as attachment by another MUA (e.g. KMail) is not decrypted by
gpgol. Either if it is opened or if it is previewed.

See attached screenshot how it looks.

Details

Version
master

Event Timeline

Emanuel please add release gpg4win 3.0 as a parent task if you think we should fix this before 3.0. I'm unsure.

I looked into it. The problem is that attachments are opened as "Read Only" so we can't change the message class or handle it ourself. Once opened there is no apparent way to change the message to read only. Only if the message containing the attachment is marked as modifyable:

https://support.microsoft.com/en-us/help/2383602/attachments-open-read-only-in-outlook-2010

The attachment is opened as read/write. In that case we can decrypt it.

I currently don't have an idea how to change the behavior here. Maybe saving the mail to a file and then opening that file with outlook would work. But that would be a bit invasive.