Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: gpa

UTF-8 bug in gpa

 

 

GnuPG gpa RSS feed   Index | Next | Previous | View Threaded


martin.norback at safelogic

Mar 21, 2002, 2:46 PM

Post #1 of 2 (47 views)
Permalink
UTF-8 bug in gpa

GPA doesn't take into account the fact that user names are supposed to
be in UTF-8 format.

Since gpg uses UTF-8, user names produced using the gpg text interface
will look strange in the gpa gui.

More seriously, user names produced by the gui will not be valid UTF-8,
and will therefore be illegal.

The fix is to convert from UTF-8 to the system charset when displaying
names (perhaps display a ? if conversion is impossible), and to convert
from the system charset to UTF-8 when generating new keys (should always
be possible).

Regards

Martin

--
Martin Norbäck Safelogic AB
martin.norback [at] safelogic Stena Center 1C
+46 (0)31 772 81 70 S-412 92 GÖTEBORG
http://www.safelogic.se SWEDEN
Attachments: signature.asc (0.23 KB)


wk at gnupg

Mar 21, 2002, 4:24 PM

Post #2 of 2 (46 views)
Permalink
Re: UTF-8 bug in gpa [In reply to]

On 21 Mar 2002 14:44:13 +0100, Martin Norbäck said:

> More seriously, user names produced by the gui will not be valid UTF-8,
> and will therefore be illegal.

Oh dear, this will cause us a lot of grief especially now that a lot
of CeBIT visitors got the CD. Many European users will run into this
trap. Hopefully a new version can be released ASAP so that not too
many bad keys get into use.

BTW, PGP has the same problem.

Thanks for reporting,

Werner

GnuPG gpa RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.