GNOME Bugzilla – Bug 705194
Failure to decrypt inline encrypted GPG messages
Last modified: 2013-08-09 12:34:05 UTC
Moving this from a downstream bug reports: https://bugzilla.redhat.com/show_bug.cgi?id=990297 Worked in Evolution 3.8.3 packages, but fails in 3.8.4 packages. The problem occurrs with GPG encrypted messages, that aren't nested, and use a plain text content-type (or absent content type). In other words, messages where the body consists of -----BEGIN PGP MESSAGE----- ... -----END PGP MESSAGE----- only. Such messages are displayed with an "encrypted" status icon and a text attachments. Problem: When clicking "view inline", nothing happens, no decrypted content shown. With the older evolution 3.8.3 packages, the decrypted content is shown.
This commit broke it: https://git.gnome.org/browse/evolution/commit/?h=gnome-3-8&id=1556f4d447dfca9d3b6ebb605ec899dc7b9a5361
I'm assigning this to Matthew, because I do not have his data (why there was no bug report for that change in the first place?).
Thanks Milan, I can confirm the patch mentioned in comment 1 is responsible for the regression. I'm running a local build of Evolution 3.8.4 with this change reverted, and the problem is gone.
Created attachment 250600 [details] Image test case Here's the message which was rendered incorrectly prior to the above mentioned commit. It would be good to fix the regression but keep this test case working. I'll take a look at reworking the solution.
Copying Kai's comment from bug 701483, since it's more relevant here: Matthew, in order to reproduce, you can use the command line to create a gpg message, e.g.: echo message | gpg --recipient your-own-key-id --encrypt --armor In Evolution, compose and paste above plain text into the body (don't select encrypt in evolution) and send it to yourself. I've managed to reproduce the regression myself now.
Fixed for Evolution 3.9.90 and 3.8.5 in: https://git.gnome.org/browse/evolution/commit/?id=ca67414c22d003f5e005cc05689efdec38dcd4e7 https://git.gnome.org/browse/evolution/commit/?h=gnome-3-8&id=7ef4b7616e7563f8c7181117d8ae16b044848a02 The commit keeps both test cases working.
Wonderful! Now it works even better than before. Previously, I had to click "view inline" on such attachments. Now they are displayed immediately. Applied the patch locally, confirmed fixed.
*** Bug 702176 has been marked as a duplicate of this bug. ***