Bug 347740 - Encrypted message not detected as encrypted message
Summary: Encrypted message not detected as encrypted message
Status: RESOLVED DUPLICATE of bug 360910
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: 5.2.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL: https://forum.kde.org/viewtopic.php?f...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-15 02:02 UTC by Rewarp
Modified: 2016-06-23 08:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.2.85


Attachments
Encrypted message unrecognised by KMail (3.74 KB, text/plain)
2015-05-15 02:03 UTC, Rewarp
Details
Included PGPMIME version id file (13 bytes, text/plain)
2015-05-15 02:04 UTC, Rewarp
Details
Message as plain text (17.26 KB, text/plain)
2016-06-23 05:02 UTC, Rewarp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rewarp 2015-05-15 02:02:14 UTC
A friend of mine recently set up GPG encryption on his Apple computer with GPG Tools. I am however receiving his encrypted messages as attachments rather than as encrypted messages. This means I have to separately download and decrypt each message separately - which can get rather cumbersome.

I am currently using the latest KMail from the openSUSE Frameworks 5 package in Plasma 5.

This problem manifests itself on 4.14.6 in openSUSE 13.2 and 4.13.3 on Kubuntu 14.04.

Reproducible: Always

Steps to Reproduce:
1. Receive encrypted message from this user.

Actual Results:  
Instead of the message being recognised as an encrypted message, it has to be downloaded and decrypted outside of KMail.

Expected Results:  
Recognise and allow decryption of the message within KMail.
Comment 1 Rewarp 2015-05-15 02:03:31 UTC
Created attachment 92604 [details]
Encrypted message unrecognised by KMail
Comment 2 Rewarp 2015-05-15 02:04:25 UTC
Created attachment 92605 [details]
Included PGPMIME version id file
Comment 3 Rewarp 2015-05-15 02:05:53 UTC
I have attached the encrypted message files in question to this report.
Comment 4 Rewarp 2015-07-31 02:22:55 UTC
I have received another encrypted message that is not detected as encrypted. I had to save and manually decrypt the text outside of kmail. This is what it appears like in the message body.

-----BEGIN PGP MESSAGE-----
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+LwyqtibxijQSWaf5
tEgDWhESTa/4nLx532omfFigl065ZBQzCV85pGSLzdkmrIUFvQM5TJ6uB5Pa
BkM6au5BoQuxWKiJ7GcIihBhljqXKuU2tfDjs3ehWlfYPb8j6LOBW+EZ14Im
fqqQZh4giGHzAXhhwzHAfQEJiwVvdTlOHeZ5GlVnMlJ3mG10cEjhoGlpVeEH
buPwSgvhZaR0ze875jbat9Ky8c23JprE3OOSUJNGH+1jzSkB2to+IWxtggMg
cxix7A5cRIzKYAPyZsDmB/ReQoRHDHtIQUi1sV5TT28YKALNtB7Awtmmwj2G
xzQ5MaVcdrmA7KtnMZOCvA3ARMBiyWk1Wa6ywdc4WxzWWql3dqODyOiGWnT/
ShIKlERt0sATAUlp0ce0vYHLgN0TzA1wPJO/Dm1chJ8opRVJceX64v/ztUfA
mxFCn5NdCJMnT4AK6we3cYy4v0GjAnQ0w1+ntjbO69+cXpY55820phGdpDsg
qdCeNQNjBZ9xggq/R8qjTsah9zSd9hf3E6zE1uZHm85crfJnFmuA5o/YGAgz
3AJdFtPII3WxTbQY7ET5I1FtbcoaJzfmMc5HBn1SWXWB1jJ7NKNb5PYnn9ty
pBcYdRQOtPZnnIgF+8Co9zDZ/G/0TSaM/wepogEvcjZKWPMUFFDQIQ==
=evCt
-----END PGP MESSAGE-----
Comment 5 Rewarp 2015-07-31 02:24:48 UTC
I wrote too soon. Replying to the message above shows the decrypted message in the text editor. So technically, it is decrypted, just in a very weird way.
Comment 6 tomaggio 2016-01-17 12:34:03 UTC
I can confirm this BUG too. 
With kmail 15.12.1  5.1.1. The Mailbody is empty when i receive a encrypted Mail. 
My workaround is to press the answer Button and then the dialog comes up for key password.
Comment 7 Rewarp 2016-03-16 23:04:43 UTC
I am now running KMail 5.1.2, and the workaround method no longer works.

I am back to downloading the message separately before I am able to decrypt the message.

Here's a screenshot as proof.

https://imgur.com/sY3XrQl
Comment 8 tomaggio 2016-03-20 12:06:16 UTC
Hi;
With kmail 5.1.3 it works again. So  for me, this Bug is solved.
Comment 9 tomaggio 2016-03-20 12:07:46 UTC
But I've have to say: I'm not on Suse sorry, but on Chakra Linux
Comment 10 Rewarp 2016-03-20 13:02:14 UTC
(In reply to tomaggio from comment #8)
> Hi;
> With kmail 5.1.3 it works again. So  for me, this Bug is solved.

Thanks. I will wait and see if it works on 5.1.3.
Comment 11 Rewarp 2016-05-12 06:17:32 UTC
I have confirmed that messages sent with the attachment above are still not being decrypted. I am at a loss as what is wrong here.
Comment 12 Sandro Knauß 2016-06-22 15:12:09 UTC
Can you actually add a complete mail, that is not detected correctly. Maybe it is the same like:
https://bugs.kde.org/show_bug.cgi?id=360910
Comment 13 Rewarp 2016-06-23 05:02:42 UTC
Created attachment 99662 [details]
Message as plain text

By full message, I assume you mean the entire source view of the message. I have included it in this attachment, and would also like to confirm that this correspondence also uses Apple Mail, as mentioned in the bug report you attached.
Comment 14 Sandro Knauß 2016-06-23 08:42:47 UTC
Thanks for attaching the mail. For me it looks like it is is exactly the same #360910

I have tested it with 5.2.1 and can confirm, that kmail doesn't detect it as encrypted message. With git master kmail detects this correctly as encryptd messsge and asks for the password to decrypt. So with KDE Application 16.08 the problem is solved.

*** This bug has been marked as a duplicate of bug 360910 ***