[Pkg-gnupg-maint] Bug#537122: gnupg cannot handle non-ascii domains like köthe.de (IDN Domain)
Noèl Köthe
noel at debian.org
Wed Jul 15 10:10:00 UTC 2009
Package: gnupg
Version: 1.4.9-4
Severity: normal
Hello,
I want to use my domain/email address noel (at) köthe.de as UID:
german:
Befehl> adduid
Ihr Name ("Vorname Nachname"): Noèl Köthe
Email-Adresse: noel at köthe.de
Diese Email-Adresse ist ungültig
translated:
command> adduid
Your name: Noèl Köthe
email-address: noel at köthe.de
Not a valid email address
The non-ascii character in the domain is valid. Its a IETF
Internationalized Domain Names (IDN). Browser and MUA
will use punycode (http://en.wikipedia.org/wiki/Punycode) internaly but
the user will see it as above.
The check is done in gnupg-1.4.9/g10/misc.c
/* Check whether NAME represents a valid mailbox according to
RFC822. Returns true if so. */
int
is_valid_mailbox (const char *name)
{
return !( !name
|| !*name
|| has_invalid_email_chars (name)
|| string_count_chr (name,'@') != 1
|| *name == '@'
|| name[strlen(name)-1] == '@'
|| name[strlen(name)-1] == '.'
|| strstr (name, "..") );
}
Thank you.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnupg depends on:
ii gpgv 1.4.9-4 GNU privacy guard - signature veri
ii libbz2-1.0 1.0.5-3 high-quality block-sorting file co
ii libc6 2.9-20 GNU C Library: Shared libraries
ii libreadline5 5.2-5 GNU readline and history libraries
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii zlib1g 1:1.2.3.3.dfsg-14 compression library - runtime
Versions of packages gnupg recommends:
ii libldap-2.4-2 2.4.15-1.1 OpenLDAP libraries
Versions of packages gnupg suggests:
ii eog 2.26.2-1 Eye of GNOME graphics viewer progr
pn gnupg-doc <none> (no description available)
ii imagemagick 7:6.5.1.0-1.1 image manipulation programs
ii libpcsclite1 1.5.4-1 Middleware to access a smart card
-- no debconf information
More information about the Pkg-gnupg-maint
mailing list