Page MenuHome GnuPG

encoding problem gpg-agent when trying to mark certificat trusted
Closed, ResolvedPublic

Description

When trying to mark a root certificate trusted,
umlauts are not displayed correctly.
They are correct when getting the key phrases, e.g. from OpenPGP.

See screenshot which was taken with

gpgsm 2.0.5-0kk2
gpg-agent --version
gpg-agent (GnuPG) 2.0.5

/etc/alternatives/pinentry -> /usr/bin/pinentry-qt
pinentry-qt (pinentry) 0.7.2
Kontact: 1.0 (proko2 2.1.10)
on Debian Sarge.

Event Timeline

$ locale
LANG=de_DE@euro
LANGUAGE=de_DE:de:en_GB:en
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=

$ locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
deutsch
en_IN
en_IN.utf8
en_US
en_US.iso88591
en_US.utf8
german
POSIX

I found and fixed the problem. Now testing...

Works for me. However I was not able to replicate the original case because I
have no 2.0.5 available.

werner added a project: Restricted Project.

Werner,
thanks for the fix.
Just quickly?
In which component did you fix it? Is there an easy way to get a patch?

I fixed it in agent/* and common/*. However, I don't think that this fix is
needed. It later turned out that we are already running gpg-agent with gettext
clamped to utf-8 to that the fix does nothing.

You might want to update to 2.0.7, though.

werner claimed this task.
werner removed a project: Restricted Project.
bernhard changed Version from 2.0.5 to 2.0.9.

The problem is still there with
Kontact proko2 2.1.12 and gnupg-agent 2.0.9-0kk2 on Debian Sarge.
And Kontact enterprise35 20080826.852422 Etch.

If you have any Sarge or Etch test machine, couldn't you just installe
the latest packages from apt.intevation and give it a try.

(Assigning to Werner, because the Problem is still there.)

werner removed Version.
werner removed projects: gnupg, gpgagent.

This is a bug in pinentry qt and qt4. It does not occur with the other pinentrys.

werner added a project: Restricted Project.
werner added a subscriber: lolo.

Fixed in pinentry svn revission 190.

Thanks Werner. BH, please test.

werner added a subscriber: bherzog.
werner removed a project: Restricted Project.Aug 3 2009, 2:32 PM

No response - assuming that everything is fine now.

werner claimed this task.
bernhard added a project: Restricted Project.
bernhard added a subscriber: werner.

Sorry for the late response, only recently a new pinentry got released.
So we will test this on basis of 0.7.6.

werner removed bernhard as the assignee of this task.
werner added a subscriber: bernhard.

many releases in the meantime thus I am pretty sure that this has been solved -
at least on the GnuPG side.

werner removed a project: Restricted Project.Dec 21 2009, 7:19 PM