[kmail2] [Bug 368113] invalid signature when using vcard

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Feb 3 12:34:20 GMT 2017


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

jansen at hbz-nrw.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jansen at hbz-nrw.de

--- Comment #2 from jansen at hbz-nrw.de ---
I have the same problem Johannes Maier reported.

I sent a signed mail to a different mail account of mine which I have also
configured in the same KMail installation.

For the mail stored in my "Sent items" folder the signature is reported valid.

For the mail in the inbox of the receiving account the signature is reported
invalid.

Indeed, the problem seems to be related to the vcard attachment, since I see a
valid signature for both the sent and received mails if I disable the
attachment of the vard.

But as far as I can tell the problem is not the addition of the vcard per se:
the vcard is also included in the mail in my "sent mail" folder and - as stated
above - there the signature is reported to be valid.

I have exported (saved) both mails to disk and diff´ed them.
There are some differences in the header, but those are to be expected and the
headers are not signed anyway.

However, I also see a difference for the vcard text which is part of the signed
payload:
The vcard in the mail retained in my "Sent items" folder has line endings
consisting of "\r\n" ("carriage return" and "line feed": \x0D\x0A), while the
mail in the inbox of the receiving account only has "\n" (\x0A) line endings in
the vcard part.

Since two colleagues using Thunderbird and Emacs Mail respectively both get a
report about an invalid signature either the mail server interferes and removes
the "\r" characters or KMail itself removes them when sending the mail.

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


More information about the Kdepim-bugs mailing list