it's possible for an OpenPGP certificate to have many user IDs and many subkeys.
gpg --edit-key lets the user change settings or affect specific user IDs or specific subkeys, using key N or uid N subcommands.
Choosing N is often tricky to do when many user IDs or subkeys exist, or when the user wants to modify multiple user IDs or subkeys at once. Can we make this selection easier with --edit-key? I see three possible improvements (maybe they could all be done):
- upon display in --edit-key, prefix each subkey and each user ID with a number, so that it's easy to choose N
- allow selection of multiple items at once (e.g. key 1 2 3)
- allow selection of subkey by subkey fingerprint, and selection of user ID by text (e.g. key 92E4764300AA6D7E87FC05F53BAD4F117215E775 or uid Alice Jones <email@example.com>). for the UID selection, if combined with multiple selection, then i suppose we'd need to think about quoting.