Bug 73957 - saving a pgp-signed message results in unreadable message text
Summary: saving a pgp-signed message results in unreadable message text
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: 1.5.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2004-02-01 14:08 UTC by Axel Braun
Modified: 2008-11-07 12:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Saved draft without signature (469 bytes, message/rfc822)
2004-02-06 12:10 UTC, Axel Braun
Details
Same draft with signature (1.03 KB, message/rfc822)
2004-02-06 12:11 UTC, Axel Braun
Details
new testfile w/o signature (493 bytes, application/octet-stream)
2004-02-07 19:09 UTC, Axel Braun
Details
message with signature (1.06 KB, application/octet-stream)
2004-02-07 19:10 UTC, Axel Braun
Details
Example of message before saving as a draft (42.23 KB, image/png)
2004-06-09 01:02 UTC, Matej Cepl
Details
This is how message looks after saving, reopening and saving again (77.37 KB, image/png)
2004-06-09 01:06 UTC, Matej Cepl
Details
Message as saved (4.68 KB, message/rfc822)
2004-06-09 01:08 UTC, Matej Cepl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2004-02-01 14:08:03 UTC
Version:           1.5.4 (using KDE 3.1.4)
Installed from:    SuSE
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-166-default

add-on to bug 28072, but additionally it has to be mentioned that the draft message converts all ä, ü, ö to some =FC and so on.
Expected behaviour would be:
- save message same way it is edited, with umlauts in it
- sign it when it is sended, not before
- automatically removing signature as proposed in 28072 is not really solving the problem.
Comment 1 Ingo Klöcker 2004-02-01 22:05:41 UTC
Umlauts can't be sent over the Internet as is (at least it's not safe because they could be mangled during transport). They have to be encoded as =FC etc. Anyway, where do you see =FC? You should only see this if you view the source of a message. But that's no bug. You don't have to care for the internal encoding of a message.

Your comments about pgp signing are duplicates of bug 28072. So I won't comment on them. Vote for bug 28072 if you want.
Comment 2 Axel Braun 2004-02-02 08:34:31 UTC
If you open the draft message and try to edit it, you get all the =FC presented. 
Comment 3 Ingo Klöcker 2004-02-02 15:42:52 UTC
Please save a test message as draft, view the source of this test message and add the source code of the test message to this bug report.

Do you also get =FC, etc., if the draft is not signed?
Comment 4 Axel Braun 2004-02-06 12:10:04 UTC
If the draft is not signed it looks OK. BTW, the source code of the message seems to be somewhat encrypted....
Comment 5 Axel Braun 2004-02-06 12:10:58 UTC
Created attachment 4537 [details]
Saved draft without signature
Comment 6 Axel Braun 2004-02-06 12:11:25 UTC
Created attachment 4538 [details]
Same draft with signature
Comment 7 Ingo Klöcker 2004-02-06 14:25:48 UTC
I can't reproduce the problem with the two attached messages (neither with KMail 1.5.4 nor with KMail 1.6). But those messages were base64 encoded (what you described at "somewhat encrypted") and not quoted-printable encoded as the message which causes the problem. I doubt that you can reproduce the problem with those messages. Please provide a signed message which you can reproduce the problem with. Hint: Use less umlauts and more normal characters.
Comment 8 Axel Braun 2004-02-07 19:09:04 UTC
Created two new message which worked better. To reproduce: save the signed message as draft and then open it for editing, which reproduces the bug. If you first close KMail, it displays the valid signature and does *not* show the funny signes when opened for editing.
Comment 9 Axel Braun 2004-02-07 19:09:58 UTC
Created attachment 4568 [details]
new testfile w/o signature
Comment 10 Axel Braun 2004-02-07 19:10:51 UTC
Created attachment 4569 [details]
message with signature
Comment 11 Matej Cepl 2004-06-09 01:02:49 UTC
Created attachment 6280 [details]
Example of message before saving as a draft

This is a message as it was shown in a composer before saving as a draft.
Comment 12 Matej Cepl 2004-06-09 01:06:02 UTC
Created attachment 6281 [details]
This is how message looks after saving, reopening and saving again

After saving as draft, opening in composer and saving again, this is the result
(and yes, in Composer I get similar garbage). Happens only for encrypted drafts
(S/MIME in my case).
Comment 13 Matej Cepl 2004-06-09 01:08:40 UTC
Created attachment 6282 [details]
Message as saved

OK, this is concerned message (but probably not much of use to you, because you
don't have a key to descrabmle it (BTW, the message was only signed, NOT
encrypted).
Comment 14 Jaime Torres 2008-09-09 18:16:21 UTC
I've passed a pgp signed mail through all the mail stages (new, draft, save,
open, send, receive, trash, save, load, ...) and it still has all the Spanish
non-ascii characters right using kmail 1.10.1.
Comment 15 Michael Leupold 2008-11-07 12:46:37 UTC
I can't reproduce in 1.10.1 with german umlauts either.