[kmail2] [Bug 300142] Kmail can't render a html signature

Mike Jones dr.mike.jones at gmail.com
Mon Mar 30 16:40:10 BST 2015


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

Mike Jones <dr.mike.jones at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dr.mike.jones at gmail.com

--- Comment #14 from Mike Jones <dr.mike.jones at gmail.com> ---
(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.

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



More information about the Kdepim-bugs mailing list