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: [email protected]
          Reporter: [email protected]
  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 watching all bug changes.

Reply via email to