Add support for text/pgp.
ClosedPublic

Authored by knauss on Oct 27 2017, 1:31 PM.

Details

Summary

If Someone sends an encrypted attachment without any content, we should
display the content of the encrypted attachment.

Test Plan

show one text/pgp encrypted attachment correctly (included as testdata).

Also make sure, that a "fake" text/pgp attachment don't break the viewer.
This part is not working at the moment, I'll look at it later...

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
knauss created this revision.Oct 27 2017, 1:31 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptOct 27 2017, 1:31 PM
Restricted Application added a subscriber: KDE PIM. · View Herald Transcript

with this patch solving https://bugs.kde.org/324365 should become reachable.

knauss updated this revision to Diff 21522.Oct 29 2017, 2:21 PM

Add a wrongly marked as text/PGP part.

knauss updated this revision to Diff 21523.Oct 29 2017, 2:26 PM

Add a wrongly marked as text/PGP part

knauss updated this revision to Diff 21524.Oct 29 2017, 3:01 PM

Treat wrongly as text/pgp marked mimepart as attachment.

knauss updated this revision to Diff 21527.Oct 29 2017, 3:28 PM
  • fix content encoding ( pgp is normally everything as utf-8)
This revision was automatically updated to reflect the committed changes.