Re: PGP signing/decoding problem



Den 2003.06.18 11:34 skrev albrecht.dress@arcor.de:
> The problem is that all Gnome-2 apps use UTF-8 as charset, whereas
> your
> xterm apparently is set to ISO-8859-15 (or -1).  If you usually use
> Gnome-2 apps, IMHO it would be best to change the passphrase of your
> key
> from '8859 to utf-8:
> 
> [snip]
> 
> At this point all Gnome-2 apps should accept your passphrase, but of
> course gpg in the xterm doesn't... However, you can change the input
> in
> the xterm to UTF-8, too, by setting the "utf8", "wideChars" and "font"
> resources properly (see the man page and the Unicode HOWTO for
> details).
> An additional drawback is that Gnome-1 apps (if you still use some of
> them containing gpg support) may not work any more with the new
> passphrase.
> 
> > What could be the other solutions to this problem ?  Should I report
> a
> > bug to Seahorse and/or GNU Privacy Assistant ?
> 
> When I now think again about it, IMHO it's not a bug but a feature
> ;-))
> You just have to decide upon ONE consistent setup of your environment,
> and then it shoud work.

(The ugly wrapping above is done by Balsa.  I think it should be fixed 
to either do correct wrapping or not wrap quoted text.)

I know GNOME applications use UTF-8 internally, but I think gnupg uses 
the users locale setting (LC_CTYPE) to determine the character set to 
use, so Balsa should probably convert the password to that charset 
before giving it to GPG.  (Now that I look in .gnupg/options I see a 
charset setting, so maybe this is not correct.)


I have two other wishes for the gnupg support in Balsa.  First I could 
easily have created a signature for this mail saying I'm the president 
of the United States, or something equally fake, and Balsa would still 
have shown a green lock.  I think the green lock should only be shown 
when a signature chain can be followed (the way gnupg does it with the 
web of trust).

Also, it'd be nice with a command to fetch the key from a keyserver 
when it's not available.

-- 
                                             Niklas

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]