[kmail2] [Bug 487029] New: kmail uses media type literal packet in OpenPGP

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue May 14 21:27:56 BST 2024


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

            Bug ID: 487029
           Summary: kmail uses media type literal packet in OpenPGP
    Classification: Applications
           Product: kmail2
           Version: 6.0.2
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: folders
          Assignee: kdepim-bugs at kde.org
          Reporter: theodor-andreas.boerner at gmx.de
  Target Milestone: ---

SUMMARY
When encrypting messages in OpenPGP/MIME format, kmail uses the format tag 'm'
in the literal data packet inside the OpenPGP Message, while in RFC 4880, only
are 'b', 't' and 'u' are defined. Because of that, some MUAs do not display the
decrypted message.
kmail changed from using 'b' to using 'm' between 5.24.5 and 6.0.2. 

STEPS TO REPRODUCE
1. Compose an encrypted message.
2. Export the message, save it into an imap folder, or send it to another
mailbox.
3. Try to view the message in Mozilla Thunderbird.

OBSERVED RESULT
Thunderbird shows obscure error message.

EXPECTED RESULT
The message should be displayable by Thunderbird (and other MUAs).

ADDITIONAL INFORMATION
Relevant section in RFC 4880:
https://datatracker.ietf.org/doc/html/rfc4880#section-5.9
Draft for the 'm' format tag:
https://www.ietf.org/archive/id/draft-moscaritolo-openpgp-literal-01.html
You can use `gpg --list-packets` to find out which format tag was used in an
OpenPGP Message.

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


More information about the Kdepim-bugs mailing list