Bug 57098

Summary: kmail tampers with signed content before sending
Product: [Unmaintained] kmail Reporter: Mika Fischer <mika_fischer>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.5.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mika Fischer 2003-04-10 19:54:14 UTC
Version:           1.5.1 (using KDE KDE 3.1.1)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Hi!

I see you have already some bug reports about signed mail but I don't think my problem has been reported yet.

When I send a signed mail with a signed attachment (using cryptplug, etc.) the signature is corrupt as soon as kmail sends the mail to the MTA.

The mail in my sent-mail folder has a valid signature.

I ran some tests and it seems that the mail in the sent-mail folder has CRs at the end of every line of the signed part whereas the mail kmail sends to the MTA does not have these CRs.
Moreover a blank line (l. 17 or 18 in the example mail) is removed by kmail before sending.

I have put the mails and the diffs on http://mfi00.hostsharing.net/mailtest/

Thanks,
 Mika
Comment 1 Ingo Klöcker 2003-04-11 10:22:34 UTC
The CRs don't do any harm since line-endings are always interpreted as CRLF during signature 
verification. 
The additional/missing empty line is indeed removed by KMail (and not during transport as I 
have claimed in my comment to bug #56279). Nevertheless this bug report is a duplicate and 
the bug has already been fixed. 

*** This bug has been marked as a duplicate of 56279 ***