[pkg-gnupg-maint] Bug#795229: cannot find my key without a UTF-8 locale

Antoine Beaupré anarcat at debian.org
Wed Aug 12 01:14:19 UTC 2015


Package: gnupg
Version: 1.4.18-7
Severity: important
File: /usr/bin/gpg
Tags: l10n

gpg can't seem to operate properly if the environment is not correctly set:

[1007]anarcat at marcos:~$ LANG=C gpg --search-keys ='Antoine Beaupré <anarcat at koumbit.org>'
gpg: searching for "=Antoine Beaupré <anarcat at koumbit.org>" from hkp server pool.sks-keyservers.net
gpg: key "=Antoine Beaupré <anarcat at koumbit.org>" not found on keyserver
[1008]anarcat at marcos:~$ LANG=C.UTF-8 gpg --search-keys ='Antoine Beaupré <anarcat at koumbit.org>'
gpg: searching for "=Antoine Beaupré <anarcat at koumbit.org>" from hkp server pool.sks-keyservers.net
(1)     Antoine Beaupré <anarcat at debian.org>
        Antoine Beaupré <anarcat at koumbit.org>
        Antoine Beaupré <anarcat at orangeseeds.org>
        Antoine Beaupré (work) <anarcat at koumbit.org>
        Antoine Beaupré (Debian) <anarcat at debian.org>
        Antoine Beaupré (home address) <anarcat at anarcat.ath.cx>
          4096 bit RSA key 7B75921E, created: 2009-05-29, expires: 2016-06-01
(2)     The Anarcat <anarcat at koumbit.org>
        The Anarcat <anarcat at anarcat.ath.cx>
        Antoine Beaupré <antoine at koumbit.org>
          1024 bit DSA key 4023702F, created: 2005-03-08, expires: 2010-03-12 (revoked) (expired)
Keys 1-2 of 2 for "=Antoine Beaupré <anarcat at koumbit.org>".  Enter number(s), N)ext, or Q)uit > q

This is pretty annoying, because it expects *everyone* to have a UTF-8
locale. Because my uid has an accent in it, it makes it impossible for
some people to search for my key on the keyservers.

This is also a problem with gpg2:

[1002]anarcat at marcos:~$ LANG=C gpg2 --search-keys ='Antoine Beaupré <a
gpg: searching for "=Antoine Beaupré <anarcat at koumbit.org>" from hkp server po
gpg: key "=Antoine Beaupré <anarcat at koumbit.org>" not found on keyserver
[1003]anarcat at marcos:~$ LANG=C.UTF-8 gpg2 --search-keys ='Antoine Beaupré <anarcat at koumbit.org>'
gpg: searching for "=Antoine Beaupré <anarcat at koumbit.org>" from hkp server pool.sks-keyservers.net
(1)     Antoine Beaupré <anarcat at debian.org>
        Antoine Beaupré <anarcat at koumbit.org>
        Antoine Beaupré <anarcat at orangeseeds.org>
        Antoine Beaupré (work) <anarcat at koumbit.org>
        Antoine Beaupré (Debian) <anarcat at debian.org>
        Antoine Beaupré (home address) <anarcat at anarcat.ath.cx>
          4096 bit RSA key 7B75921E, created: 2009-05-29, expires: 2016-06-01
(2)     The Anarcat <anarcat at koumbit.org>
        The Anarcat <anarcat at anarcat.ath.cx>
        Antoine Beaupré <antoine at koumbit.org>
          1024 bit DSA key 4023702F, created: 2005-03-08, expires: 2010-03-12 (revoked) (expired)
Keys 1-2 of 2 for "=Antoine Beaupré <anarcat at koumbit.org>".  Enter number(s), N)ext, or Q)uit > q

-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnupg depends on:
ii  gpgv          1.4.18-7
ii  libbz2-1.0    1.0.6-7+b3
ii  libc6         2.19-18
ii  libreadline6  6.3-8+b3
ii  libusb-0.1-4  2:0.1.12-25
ii  zlib1g        1:1.2.8.dfsg-2+b1

Versions of packages gnupg recommends:
ii  gnupg-curl     1.4.18-7
ii  libldap-2.4-2  2.4.40+dfsg-1

Versions of packages gnupg suggests:
ii  eog           3.14.1-1
pn  gnupg-doc     <none>
ii  imagemagick   8:6.8.9.9-5
ii  libpcsclite1  1.8.13-1
pn  parcimonie    <none>

-- no debconf information



More information about the pkg-gnupg-maint mailing list