Release: 1.4.2.2
Environment
Mac OS X 10.4.5.
Ubuntu 5.10
Description
The man page differs from the implementation.
The man page states:
--send-keys [names]
Same as --export but sends the keys to a keyserver. Option --keyserver must be used to give the name of this keyserver. Don't send your complete keyring to a keyserver - select only those keys which are new or changed by you.
--export [names]
Either export all keys from all keyrings (default keyrings and those registered via option --keyring), or if at least one name is given, those of the given name. The new keyring is written to stdout or to the file given with option "output". Use together with --armor to mail those keys.
--recv-keys key IDs
Import the keys with the given key IDs from a HKP keyserver. Option --keyserver must be used to give the name of this keyserver.
What I expect to happen:
You should be able to specify a name or e-mail address using --send-keys, the same as you can with --export.
What actually happens:
--send-keys requires a key-id, the same as --recv-keys does.
How To Repeat
Steps to reproduce:
- gpg --list-keys and note the e-mail address, name, and key ID of a key.
- gpg --keyserver a.key.server.com --send-keys KEY ID 2a) This works -- gpg will submit the key to the keyserver.
- gpg --keyserver a.key.server.com --send-keys EMAIL_ADDRESS 3a) This will fail -- gpg reports "gpg: "EMAIL_ADDRESS" not a key ID: skipping"
Fix
Unknown