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

--- Comment #15 from Mike Jones <dr.mike.jo...@gmail.com> ---
(In reply to Mike Jones from comment #14)
> (In reply to Pierre Maraval from comment #12)
> > Same problem on Kubuntu 13.10, Kmail Version 4.11.5.
> > 
> > Another aspect of this bug (I think) is that Kmail doesn't digitally sign
> > the html signature correctly (HTML signature with "inline" images
> > (data:image/gif;base64) ).  
> > 
> > So the sent signed email is invalid, even for other clients which otherwise
> > can render html signatures in Kmail-sent mails.
> 
> Re Pierre's data:image additional point.
> 
> I can confirm that (for kde 4.10.5 and kde 4.13.3) the addition of images
> via the <img src="data:..."> to an html signature causes s/mime signing to
> record an incorrect digest.  I notice that when the mail is sent the
> saved/received mail has its html image elements converted to <img
> src="cid:...> which are I believe generated on the fly. My best guess is
> that perhaps kmail reformats the html after the digest is calculated
> rendering it void.
> 
> To test this I have created two identity profiles the only difference being
> their name and whether the html signature contains img data block or not. 
> The result is that after signing the email with the images in the signature
> (both saved locally and sent over the wire) result in a red message box and
> "Status: Bad signature"; whereas emails sent without images render in a
> green box and verify correctly.

Additionally Adding a vcard (generated via kmail which inserts \r\n as per spec
IIRC).  There may also be an issue with either kmail or MS exchange (though I
doubt MS would want to remove it's precious carriage return character) 
replacing \r with \n resulting in \n\n substitution for \r\n, and hence voiding
the digest again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to