Tilde (~) in valid email address

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Feb 14 05:14:45 CET 2015


On Fri 2015-02-13 19:54:44 -0500, BM-2cTjsegDfZQNGQWUQjSwro6jrWLC9B3MN3 at bitmessage.ch wrote:
> When generating a uid for a key using gpg2 (2.0.25), and attempting to
> input an email address containing a tilde (~), I receive an invalid
> email error. There seems to be no way I can find to bypass this
> restriction, and use my "invalid" email. 

have you tried adding the --expert flag when doing --gen-key?

if that doesn't work, have you looked into doing batch key creation?
see the "unattended key generation" section of the manual for
explanation of how to do that:

https://gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html

hth,

        --dkg



More information about the Gnupg-users mailing list