[kmail2] [Bug 439958] X-Face can break cryptographic signatures

Sandro Knauß bugzilla_noreply at kde.org
Thu Feb 24 14:47:32 GMT 2022


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

Sandro Knauß <sknauss at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |21.12.3
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/pim/
                   |                            |messagelib/commit/b23d11d27
                   |                            |d8619715a2fb3fa5a290e11cb5a
                   |                            |027b

--- Comment #18 from Sandro Knauß <sknauss at kde.org> ---
Git commit b23d11d27d8619715a2fb3fa5a290e11cb5a027b by Sandro Knauß.
Committed on 24/02/2022 at 14:13.
Pushed by knauss into branch 'release/21.12'.

[messagecomposer] Do not sign long headers.

As KMime sometimes strips newlines from headers, this makes signatures
break, if the signed content includes those headers. In order to have a
fast fix, do not add long headers to the signature part.
FIXED-IN: 21.12.3

M  +51   -0    messagecomposer/autotests/signjobtest.cpp
M  +1    -0    messagecomposer/autotests/signjobtest.h
M  +8    -0    messagecomposer/src/job/protectedheadersjob.cpp

https://invent.kde.org/pim/messagelib/commit/b23d11d27d8619715a2fb3fa5a290e11cb5a027b

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


More information about the Kdepim-bugs mailing list