Summary: | PGP/MIME signatures are invalid when text/plain; charset="us-ascii" is used | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Hauke Laging <hauke> |
Component: | crypto | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | major | CC: | montel, sknauss |
Priority: | NOR | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | mail with bad signature, saved from Thunderbird to a file |
Description
Hauke Laging
2012-08-15 00:06:39 UTC
Sorry I can't success to test it. How do you create PGP/MIME ? I never success to have line as "######################## PGP: ... " So I don't know how to configure/test it Embarrassing... but I have to correct some of my statements and guesses. Meanwhile I have found the difference between the emails with valid signatures and those with invalid ones: Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" That's the problem. All emails with this encoding have invalid signatures. The problem has nothing to do with the newlines. The sometimes "missing" newlines between the text signature and the MIME seperator are due to different identities I used for composing the emails. Of the two text signatures of those identities only one had a trailing newline. This effect was due to the change from KMail to KMail2 (because KMail2 killed the KMail configuration and I forgot the newline when restoring the identities manually). Both identities (with and without trailing newline) can create valid and invalid signatures. That just depends on it whether non-ASCII characters occur in the message. Hauke: which exact Kmail version is this about? Please set the version field. (In reply to comment #3) > Hauke: which exact Kmail version is this about? Please set the version field. It is 4.7.2 (the current openSUSE version). Now I can set 4.7. Funny, IIRC that value was not available when I opened the bug. Can you give a text, that you entered into kmail, that has an invalid signature? Can you pease give kmail 4.10.2 a try? There are some improments with CTE entered kmail. Created attachment 78849 [details]
mail with bad signature, saved from Thunderbird to a file
For reproducing the bug.
(In reply to comment #5) > Can you give a text, that you entered into kmail, that has an invalid > signature? I attach a mail I sent which is shown as badly signed in Thunderbird. > Can you pease give kmail 4.10.2 a try? There are some improments with CTE > entered kmail. I just noticed that it seems to work in KMail/4.8.5 already. At least it's shown correctly by Thunderbird/Enigmail (which shows older mails as badly signed). Has been fixed (I don't know in which version, though). |