Newbie: Choosing a user ID questions

Peter Valdemar Mørch swp5jhu02 at
Wed Jan 28 23:53:53 CET 2004

A couple of newbie questions regarding chosing a user ID:

1) Avoiding spam _and_ including the email address in user ID

I get too much spam, so I'd like to put in an email address such as 
peterRemoveThis at But obviously that is not my correct 
email address. Is this "A good thing"? Should I rather omit email 
address altogether? (Especially if I later will ask others to sign it?)

The email address is optional when generating a key pair, but almost all 
the entries on e.g. the MIT PGP Public Key Server have email addresses. 
Can I safely omit it? Are there any consequences of that? Don't the 
email address harvesters come to key servers for some reason?

2) Why is the user ID "hidden"/embedded with --export --armor?
    How to extract the user ID from such an armored key without changing 

    my keyring?

I did get this to work:
$ gpg --no-default-keyring --keyring ./bogus --import a_foreign_key
$ gpg --no-default-keyring --keyring ./bogus --list-keys
$ rm bogus bogus~
will show the userID, but isn't there an easier way?

Peter Valdemar Mørch

More information about the Gnupg-users mailing list