Bug 393914 - Certain Emails will show encrypted content as attachment (pgp)
Summary: Certain Emails will show encrypted content as attachment (pgp)
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: 5.8.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-06 16:31 UTC by David
Modified: 2020-11-24 18:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2018-05-06 16:31:53 UTC
Emails sent to me from outlook.com show encrypted content as two separate files: PGPMIME version identification and encrypted.asc.

The email content itself does not show (or at least I don't know how to make it visible).
This works fine in Evolution (tested 3.26 and 3.28) and so far from Gmail accounts.
Comment 1 Alejandro Valdés 2019-09-26 03:15:30 UTC
I'm also hitting this bug when sending email using an outlook.com account, the message is split into two attachments, I have read a bit on it and it seems that Exchange makes any text before an attachment another attachment (see http://kb.mit.edu/confluence/pages/viewpage.action?pageId=4981187) making the Version: 1 text of the encrypted message the first attachment (ATT00001), resulting in  this error:

org.kde.pim.mimetreeparser: Unknown PGP Version String: "-----BEGIN PGP MESSAGE----- ....

This is very similar to 212952 reported quite a while ago.

I can share an email that has this issue if its necessary.

KMail
Version 5.12.1 (19.08.1)
KDE Frameworks 5.62.0
Qt 5.13.1 (built against 5.13.1)
Comment 2 Jesse Osiecki 2020-11-24 18:29:23 UTC
I can confirm that this is still an issue with the latest openSUSE Leap 15.2, kmail 5.14.2. I wouldn't mind looking into this for my own benefit, but I'm not sure which subsystem to start with. Has anyone looked into this sufficently to know where to start mofifying the PGP attachement parsing? 

Operating System: openSUSE Leap 15.2
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7
Kernel Version: 5.9.8-3.gea93937-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8665U CPU @ 1.90GHz
Memory: 31.2 GiB of RAM