[kmail2] [Bug 390002] Message viewer: attached .doc file is shown as encrypted
Ingo Klöcker
bugzilla_noreply at kde.org
Tue Feb 22 07:51:42 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=390002
Ingo Klöcker <kloecker at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit| |https://invent.kde.org/pim/
| |messagelib/commit/3f53b7394
| |ffc75264442a2dd09e845a7a80f
| |3dae
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #10 from Ingo Klöcker <kloecker at kde.org> ---
Git commit 3f53b7394ffc75264442a2dd09e845a7a80f3dae by Ingo Klöcker, on behalf
of Jonathan Marten.
Committed on 22/02/2022 at 07:51.
Pushed by kloecker into branch 'master'.
Fix MS Word attachments being detected as encrypted
Caused by EncryptedBodyPartFormatter (via GpgME upstream) being too
enthusiastic and detecting the binary data as PGP encrypted. Only
enable this formatter for binary body parts explicitly declared as
encrypted by their MIME type. See the referenced bug for more
information.
M +17 -0 mimetreeparser/autotests/basicobjecttreeparsertest.cpp
M +1 -0 mimetreeparser/autotests/basicobjecttreeparsertest.h
A +61 -0 mimetreeparser/autotests/data/binary-attachment-not-pgp.mbox
M +2 -3
mimetreeparser/autotests/data/openpgp-inline-encrypted-with-attachment.mbox.tree
M +27 -10 mimetreeparser/src/bodyformatter/encrypted.cpp
M +12 -4 mimetreeparser/src/bodyformatter/encrypted.h
M +2 -2 mimetreeparser/src/bodypartformatter.cpp
https://invent.kde.org/pim/messagelib/commit/3f53b7394ffc75264442a2dd09e845a7a80f3dae
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list