[issue198] pinentry-qt doesn't handle extended characters correctly.
Lénaïc Huard
aegypten-issues at intevation.de
Thu May 13 23:13:46 CEST 2004
New submission from Lénaïc Huard <nospam.aegyptenix.20.lenex at spamgourmet.com>:
Here is what I get with pinentry when the password entered is "Lénaïc" :
lenaic at lhuard ~ $ pinentry-qt
OK Your orders please
GETPIN
D Lénaïc
OK
lenaic at lhuard ~ $ pinentry-gtk
Warning: using insecure memory!
OK Your orders please
GETPIN
pinentry-gtk: no LC_CTYPE known - assuming UTF-8
pinentry-gtk: no LC_CTYPE known - assuming UTF-8
D Léna¨ic
OK
As you can see, é and ï are misunderstood by pinentry-qt whereas the é is
correctly understood by pinentry-gtk.
Moreover, when I put stressed voyels in description (with SETDESC), the stressed
letters are replaced by squares in the window that appears with the GETPIN
command ; but look correct in the window that appears with the CONFIRM command.
I've no idea why pinentry-qt and pinentry-gtk have a different behaviour ; and
why the "CONFIRM" window prints stressed letters correctly.
Here are some clues :
pinentry-qt is suid ; pinentry-gtk is not.
the lenaic user sets LANG to "fr_FR at euro" ; the root's bashrc only sets LC_CTYPE.
I have a ~/.qt config folder (my KDE is correcly localized) ; I have no ~/.gtk.
PS: Is it to paranoid to put stressed letters in passphrase ? :-P
----------
messages: 963
nosy: Lénaïc
status: unread
title: pinentry-qt doesn't handle extended characters correctly.
______________________________________________________
Aegypten issue tracker <aegypten-issues at intevation.de>
<https://intevation.de/roundup/aegypten/issue198>
______________________________________________________
More information about the Gpa-dev
mailing list