[kmail2] [Bug 392167] New: Newlines in MIME parsing cause S/MIME signature to fail

Michał Goliński bugzilla_noreply at kde.org
Thu Mar 22 10:28:08 GMT 2018


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

            Bug ID: 392167
           Summary: Newlines in MIME parsing cause S/MIME signature to
                    fail
           Product: kmail2
           Version: 5.7.2
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: crypto
          Assignee: kdepim-bugs at kde.org
          Reporter: ecthelion at o2.pl
  Target Milestone: ---

KMail mangles newlines in a multipart message. This causes siganture
verification to fail.

I believe this is caused by parts in multipart messages that do not end with a
newline.

The attached file shows the problem. It is a message that has the following
structure:

multipart/signed
    multipart/mixed
        multipart/related
            text/html
            image/jpeg
            image/jpeg
            image/jpeg
            image/jpeg
            image/jpeg
            image/jpeg
            image/jpeg
            image/jpeg
            image/jpeg
            image/jpeg
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
        application/pdf
    application/pkcs7-signature

KMail adds a newline after the end boundary of multipart/related and before the
boundary of multipart/mixed (in the marked place).

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


More information about the Kdepim-bugs mailing list