[kmail2] [Bug 313478] New: Kmail adds newlines to inline-gpg-signed messages
Daniel Hornung
daniel.hornung at gmx.de
Sat Jan 19 00:59:45 GMT 2013
https://bugs.kde.org/show_bug.cgi?id=313478
Bug ID: 313478
Summary: Kmail adds newlines to inline-gpg-signed messages
Classification: Unclassified
Product: kmail2
Version: 4.9.3
Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: crypto
Assignee: kdepim-bugs at kde.org
Reporter: daniel.hornung at gmx.de
When signing messages inline (no OpenPGP/MIME attachment), line endings in the
message are mixed between \n (Unix line ending) and \r\n (DOS line ending).
This equivalent to the output produced on the command line by
gpg --clearsign -a > test_output
The \r\n lines however do not arrive intact after sending: They seem to be
converted to \n\n (two newlines), which breaks the signature. The sent-messages
folder shows still a correct signature (with \r\n) but in the inbox the
signature is shown as invalid (since all newlines from the original message
have effectively doubled to \n\n).
This bug happens with several mail servers, it does not happen when sending the
content of the above mentioned file test_output manually with e.g. Python's
SMTP lib via the same mail servers.
Reproducible: Always
Steps to Reproduce:
1. Compose a multiline message.
2. Sign as Inline PGP.
3. Send message.
Actual Results:
Each newline is doubled, GPG signatures are invalid.
Expected Results:
Should not change newlines.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list