[Patch] internatinal domain names for email addresses

Thomas Kuehne thomas-gmane at kuehne.cn
Thu Jan 6 17:46:04 CET 2005


David Shaw wrote:
> On Thu, Jan 06, 2005 at 04:50:47PM +0100, Thomas Kuehne wrote:
>
>>1) key selection:
>>gpg --edit-key user at xn--fiq228c.idn.kuehne.cn
>>gpg --edit-key user@中文.idn.kuehne.cn
>
>
> Perhaps I am missing something, but it strikes me that users should
> never be using the punycode format directly.  This is an encoding to
> accomodate software that cannot handle unicode.

No it's not only to accomodate legacy software. The underlying DNS
protocoll simply doesn't support "raw" Unicode.

User input is generally Unicode, but preprocessed host names
- e.g. from scripts - are usually in punycode.

>>2) the regular expression of trust signatures with level > 0
>
> Is there a problem with the regexps and non-7-bit UTF8 characters?

see above

I think it's imposible to generate regexps that match IDN parts.

"öü" ->  "xn--ndam"
but
"äöü" -> "xn--4ca0bs"

Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 155 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20050106/d56315a7/signature.bin


More information about the Gnupg-devel mailing list