Bug 57016 - pgp signature is wrong displayed
Summary: pgp signature is wrong displayed
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: 1.5.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
Depends on:
Reported: 2003-04-08 23:50 UTC by Michal Čihař
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:

PGP Key with UID that isn't 7-bit clean (1.80 KB, text/plain)
2003-04-09 14:40 UTC, S. Yenot

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Čihař 2003-04-08 23:50:47 UTC
Version:           1.5.1 (using KDE KDE 3.1.1)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Information about who signed the message is always in iso-8859-1 while gpg supports unicode and this breaks some characters... eg:

Message was signed by Michal 
Comment 1 Fabrício dos Anjos Silva 2003-04-09 04:15:27 UTC
Actually, the OpenPGP RFC states that the name field must be in UTF-8 enconding. 
KMail displays incorrectly as a ISO-8859-1 field. This must be corrected. 
Comment 2 S. Yenot 2003-04-09 14:40:30 UTC
Created attachment 1333 [details]
PGP Key with UID that isn't 7-bit clean

You can add the attached key to your keyring and see that it is incorrectly
displayed in the keylisting windows.  (The problem is not just when displaying
signed messages.) For more information on what I think is the cause of the
problem, see:
Comment 3 Fabrício dos Anjos Silva 2003-04-11 03:54:02 UTC
Ok, I confirm the escape problem, but that's not what happens with KMail header. When 
reading a signed message, KMail adds a header that says "Message was signed by". 
The following name is shown as it was a ISO-8859-1 name, which it is not. Characters 
that are encoded by two bytes are shown as two strange characters, thus proving my 
point. It is not shown escaped. 
Comment 4 Ingo Klöcker 2003-04-14 01:25:37 UTC
Subject: Re:  pgp signature is wrong displayed

Thanks for your bug report. The problem was that the output of GnuPG 
wasn't interpreted correctly. This has been fixed. The fix will be in 
KMail 1.5.2 (KDE 3.1.2).