gpgol/web: Replys to (and forwards of) encrypted mails default to empty in outlook
Open, NormalPublic

Assigned To
Authored By
tfry
Mon, Jun 22, 11:40 AM
Subscribers

Description

Cause:
Reply / forward try to decrypt the original message *again*, but only if `KMime::Message::isEncrypted()` returns true (which it does not in case of mails mangled by outlook).

The whole class of problems could be avoided by not re-parsing the message. That needs some extra API in mimetreeparser, though, to either allow retrieving the parsed message from MessageViewer classes, or allow those to work with an existing ObjectTreeParser instance.

Event Timeline

This will be much easier to solve with https://invent.kde.org/pim/mimetreeparser/-/merge_requests/109 (T7377) and https://invent.kde.org/pim/mimetreeparser/-/merge_requests/110 . Will need to adjust MailTemplates::forward() MailTremplates::reply(), after that.

tfry mentioned this in Unknown Object (Maniphest Task).Mon, Jun 29, 9:54 AM

Fixed in work/tfry/reply_forward

tfry mentioned this in Unknown Object (Maniphest Task).Mon, Jul 6, 9:57 AM
werner triaged this task as Normal priority.Wed, Jul 8, 10:06 AM