Newbie: Choosing a user ID questions

Peter Valdemar Mørch swp5jhu02 at
Sat Jan 31 23:05:45 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 use a userID such as:

Peter Valdemar Mørch <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
spam 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'm just wondering why the ASCII armored output from --export --armor 
doesn't contain the userID in clear text, so it is human readable.

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