[kmail2] [Bug 439904] Unable to decrypt PGP message sent via ProtonMail

2021-09-15 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=439904 --- Comment #4 from Sandro Knauß --- Here the relavant Applemail sample, that is used to test the correct parsing on our side: https://invent.kde.org/pim/messagelib/-/blob/master/mimetreeparser/autotests/data/openpgp-encrypted-applemail.mbox -- You ar

[kmail2] [Bug 439904] Unable to decrypt PGP message sent via ProtonMail

2021-09-15 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=439904 Sandro Knauß changed: What|Removed |Added Ever confirmed|0 |1 Status|REPORTED

[kmail2] [Bug 439904] Unable to decrypt PGP message sent via ProtonMail

2021-07-15 Thread Richard Weinberger
https://bugs.kde.org/show_bug.cgi?id=439904 --- Comment #2 from Richard Weinberger --- With this massiv hack I managed kmail to decrypt such messages: diff --git a/mimetreeparser/src/bodyformatter/multipartmixed.cpp b/mimetreeparser/src/bodyformatter/multipartmixed.cpp index 00b90e121cf5..226909

[kmail2] [Bug 439904] Unable to decrypt PGP message sent via ProtonMail

2021-07-15 Thread Richard Weinberger
https://bugs.kde.org/show_bug.cgi?id=439904 --- Comment #1 from Richard Weinberger --- I think I've found the root cause. The very first like of ProtonMail encrypted mails are "Content-Type: multipart/mixed;". When I manually change this line to "Content-Type: multipart/encrypted;" Kmail is able