signing only one particular uid on a key?

Folkert van Heusden folkert at
Tue Aug 16 13:46:41 CEST 2005

> > Because of my Robot CA (see
> > for details) I would like to sign only 1 UID and not all UIDs on a key.
> > How can this be done? Yes, I checked the man-page.
> Then you missed it.
> $ man gpg
> /edit
> uid n     Toggle selection of user id with index n.  Use 0 to deselect all.
> $ gpg --edit-key <keyid>
> command> uid 1

Aha ok. I expected the --edit-key to be for your own key only. Is it
also possible to select the uid from the commandline?

> That selects the first uid on a toggle basis - uid 1 unselects it, uid 2 
> selects the second uid and leaves other selections unchanged.
> Subsequent commands operate on the selected UID's.


Folkert van Heusden

Auto te koop, zie:
Get your PGP/GPG key signed at!
Phone: +31-6-41278122, PGP-key: 1F28D8AE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 282 bytes
Desc: Digital signature
Url : /pipermail/attachments/20050816/de8702ce/attachment.pgp

More information about the Gnupg-users mailing list