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

--- Comment #3 from Jonathan Marten <j...@keelhaul.me.uk> ---
Have done some investigating and found that the root cause is the MS Word
binary format being detected as PGP encrypted data, in
EncryptedBodyPartFormatter::process().  The result of GpgME::data().type() is
returned as GpgME::Data::PGPOther for the attachment part.

One solution that I have found so far is to remove the preset formatter

 insert(QStringLiteral("application/octet-stream"),
EncryptedBodyPartFormatter::create());

from
BodyPartFormatterFactoryPrivate::messageviewer_create_builtin_bodypart_formatters().
 The detection from the binary data is too sensitive for the catch-all MIME
type.  This still allows PGP encrypted parts to be detected as long as they
have the correct MIME type (which any decent sending mailer should use, it's
2019 now).

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

Reply via email to