[Bug 280245] Kmail create an unnecessary line in mail header with s/mime sign

Nicholas Sushkin nsushkin at sushkins.net
Wed Dec 21 02:35:36 GMT 2011


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


Nicholas Sushkin <nsushkin at sushkins.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nsushkin at sushkins.net




--- Comment #1 from Nicholas Sushkin <nsushkin sushkins net>  2011-12-21 02:35:36 ---
My iPad and some Outlook-Web recipients are experiencing the same problem.  A
signed but not encrypted email has Content-Disposition: smime.p7m header, which
seems to confuse them. I looked at email S/MIME signed by other clients, they
don't have Content-Disposition header in the main body. It seems though that
KMail is creating a correctly enveloped S/MIME message. Per RFC 2633, S/MIME
message doesn't have to be encrypted. 
http://tools.ietf.org/html/rfc2633#section-3.3

Not sure what to do. Fat chance changing Apple or Microsoft. 

**** My email (KMail)

…
User-Agent: KMail/4.6.1 (Linux/2.6.37.6-smp; KDE/4.6.5; i686; ; )
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart2611496.STdDYbFXGI";
micalg="sha1"; protocol="application/pkcs7-signature"
Content-Disposition: attachment; filename="smime.p7m"
Content-Transfer-Encoding: 7Bit
…


--nextPart2611496.STdDYbFXGI
Content-Type: multipart/alternative; boundary="nextPart1735059.Y8m6fQfRX9"
Content-Transfer-Encoding: 7Bit


--nextPart1735059.Y8m6fQfRX9
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
…


**** S/MIME signed email that works (Outlook)

X-Mailer: Microsoft Office Outlook 11
Content-Type: multipart/signed;
    boundary="----=_NextPart_000_0031_01CCBBD2.D648E710";
    micalg=SHA1;
    protocol="application/x-pkcs7-signature"
…

This is a multi-part message in MIME format.

------=_NextPart_000_0031_01CCBBD2.D648E710


**** Another signed only message that works (Apple)

…
Content-Type: multipart/signed;
boundary="Apple-Mail=_C326CAAF-0EAF-4005-8DCC-325090799426";
protocol="application/pkcs7-signature"; micalg=sha1
…

--Apple-Mail=_C326CAAF-0EAF-4005-8DCC-325090799426
Content-Type: multipart/alternative;
    boundary="Apple-Mail=_F5D2039F-FF8C-4312-AD04-6F811B8119B7"


--Apple-Mail=_F5D2039F-FF8C-4312-AD04-6F811B8119B7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
    charset=utf-8
…

--Apple-Mail=_F5D2039F-FF8C-4312-AD04-6F811B8119B7--

--Apple-Mail=_C326CAAF-0EAF-4005-8DCC-325090799426
Content-Disposition: attachment;
    filename=smime.p7s
Content-Type: application/pkcs7-signature;
    name=smime.p7s
Content-Transfer-Encoding: base64

**** Yet another S/MIME signed (Thunderbird) ****

Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
micalg=sha1; boundary="------------ms070706070308090400050105"

This is a cryptographically signed message in MIME format.

--------------ms070706070308090400050105
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
…

--------------ms070706070308090400050105
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list