[kmail2] [Bug 429050] New: Decryption of multi-part encrypted messages by means of "Decrypt" FILTER scrambles message structure

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Nov 13 09:29:18 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=429050

            Bug ID: 429050
           Summary: Decryption of multi-part encrypted messages by means
                    of "Decrypt" FILTER scrambles message structure
           Product: kmail2
           Version: 5.15.2
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: commands and actions
          Assignee: kdepim-bugs at kde.org
          Reporter: whatifgodwasoneofus at hotmail.com
  Target Milestone: ---

Created attachment 133290
  --> https://bugs.kde.org/attachment.cgi?id=133290&action=edit
Decrypt filter bug example screenshot

SUMMARY
When I open an encrypted multi-part message (even if no HTML is present at
all), everything goes well as long as I keep the message *stored encrypted*.
In the moment I use a filter with a “Decrypt” action, then the decrypted
message is visualised as message source (with some headers), and not displayed
correctly anymore. In case of messages coded in base64, I get the whole base64
source...

STEPS TO REPRODUCE
1. Create a filter that uses "DECRYPT" as action (Settings/Configure Filters)
2. Send yourself an encrypted message via GPG
3. In the inbox, open the encrypted message: you'll see it correctly composed
in the message window
4. Close the message window
5. In the inbox, right-click on the encrypted message and select "Apply
Filter", then choose the filter you created at point (1)
6. The message appears like you're looking at its raw format

OBSERVED RESULT
See attachment.

EXPECTED RESULT
The DECRYPT action in the filter shall decrypt the message correctly, like it
happens when you open the encrypted message manually.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro/ 20.08.3 (bug is there at least since 20.08.2)
KDE Plasma Version: 20.08.3
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1 (built against 5.15.1)

ADDITIONAL INFORMATION
The "Decrypt" action in the filter has worked perfectly for me until kmail
5.15.2. I used this action in my filter to automatically decrypt incoming
messages, so that they are stored unencrypted in my mailbox folders and the
Search works on their content.
With this bug there is not way anymore to store the message unencrypted in a
usable format.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list