Bug 57016

Summary: pgp signature is wrong displayed
Product: [Applications] kmail Reporter: Michal Čihař <michal>
Component: encryptionAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.5.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: PGP Key with UID that isn't 7-bit clean

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:
http://marc.theaimsgroup.com/?l=gnupg-devel&m=104919952419938&w=2
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).