On Tue 2012-07-24 13:41:20 -0400, Daniel Kahn Gillmor wrote:

> i'm seeing some strange behavior with the keyservers on GNU/Linux
> systems that don't have a UTF-8 locale, or when LANG is set to something
> non-UTF8:
>
> 0 dkg@pip:~$ LANG=C gpg --keyserver keys.mayfirst.org --search '=Andrew Lee 
> (李 健秋) <[email protected]>'
> gpg: searching for "=Andrew Lee (æå¥ç§) <[email protected]>" from hkp server 
> keys.mayfirst.org
> (1)   Andrew Lee <[email protected]>
>       Andrew Lee (\xe6\x9d\x8e\xe5\x81\xa5\xe7\xa7\x8b) <[email protected]>
>       Andrew Lee (\xe6\x9d\x8e\xe5\x81\xa5\xe7\xa7\x8b) <[email protected]
>       Andrew Lee (§?î) <[email protected]>
>         1024 bit DSA key 0xB6250985, created: 2004-11-02
> Keys 1-1 of 1 for "=Andrew Lee (李健秋) <[email protected]>".  Enter number(s), 
> N)ext, or Q)uit > q
> 0 dkg@pip:~$ LANG=C gpg --keyserver keys.mayfirst.org --search '=Antoine 
> Beaupré (work) <[email protected]>''
> gpg: searching for "=Antoine Beaupré (work) <[email protected]>" from hkp 
> server keys.mayfirst.org
> gpg: key "=Antoine Beaupré (work) <[email protected]>" not found on 
> keyserver
> 0 dkg@pip:~$ 
>
> Note that the --search for Andrew's UTF-8 User ID succeeds, but
> Antoine's fails.
>
> This behavior happens on both gpg 1.4.12 and 2.0.19, and it happens with
> or without debian's gnupg-curl packages installed.
>
> Given that User IDs must be UTF-8-encoded, i'm not sure what the right
> thing to do is here.
>
> I tried searching for this bug on https://bugs.g10code.com, but i'm
> getting an error when i search for the term "charset" for some reason.

Digging this old message up as i try to do some triage.  i don't think i
ever heard a response about this.

I'm still seeing the same problem, only with some UIDs and not others:


0 dkg@alice:/tmp/cdtemp.fre2o5$ LANG=C gpg --keyserver keys.mayfirst.org 
--search ='Andrew Lee (李健秋) <[email protected]>'
gpg: searching for "=Andrew Lee (æå¥ç§) <[email protected]>" from hkp server 
keys.mayfirst.org
(1)     Andrew Lee <[email protected]>
        Andrew Lee (\xe6\x9d\x8e\xe5\x81\xa5\xe7\xa7\x8b) <[email protected]>
        Andrew Lee (\xe6\x9d\x8e\xe5\x81\xa5\xe7\xa7\x8b) <[email protected]
        Andrew Lee (§?î) <[email protected]>
          1024 bit DSA key 0xB6250985, created: 2004-11-02
Keys 1-1 of 1 for "=Andrew Lee (李健秋) <[email protected]>".  Enter number(s), 
N)ext, or Q)uit > q
0 dkg@alice:/tmp/cdtemp.fre2o5$ LANG=C gpg --keyserver keys.mayfirst.org 
--search ='Antoine Beaupré <[email protected]>'
gpg: searching for "=Antoine Beaupré <[email protected]>" from hkp server 
keys.mayfirst.org
gpg: key "=Antoine Beaupré <[email protected]>" not found on keyserver
0 dkg@alice:/tmp/cdtemp.fre2o5$ 


I've now reported this as:

 https://bugs.g10code.com/gnupg/issue1514

Any ideas?

  --dkg

Attachment: pgplrECb9FVQV.pgp
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to