Page MenuHome GnuPG

Valid RFC822-/RFC2822-Addresses rejected
Closed, ResolvedPublic

Description

has_invalid_email_chars in g10/misc.c rejects valid characters (=, {, }, ...)
for local parts. Those characters are listed explicitly as valid in RFC 2822 and
not listed as invalid (and therefor are valid) in RFC 822. Therefore there are
valid mail addresses that you can't generate a GPG-Key for (without patching).
Since GNU supports standards, for many good reasons, this should be considered a
bug.

Details

Version
cvs/trunk

Event Timeline

jnf set Version to cvs/trunk.
jnf added a subscriber: jnf.
werner claimed this task.
werner added a project: Not A Bug.

I know, however the checks do only basic checking and reject more exotic
addresses. Actually the specs don't say anything about the format of a user ID;
it is just a convention that they resemble a mail address.

If you don't like this, use the option --allow-freeform-uid .