Signing a specific UID identified by an e-mail-address

David Shaw dshaw@jabberwocky.com
Tue Mar 25 18:28:02 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Mar 25, 2003 at 09:04:56AM +0100, Daniel Luebke wrote:

> During the CeBIT I attended a keysigning party and obviously I had to
> sign some keys.
> For validating the e-mail-address I decided to only sign one uid and
> mail the key with only that signature.
> Because I'm lazy I decided to automate as much as possible and have
> following problem:
> If I do a gpg --list-keys the primary uid is always the first one.
> However using gpg --edit-key uid 1 selects the first created which
> needn't be the primary.
> So I look for a way to do something like
> gpg --edit-key uid email@domain.org
> to select a specifig userid which I can extract before by using the
> gpg --list-keys command.

Try using the test release of GnuPG 1.2.2 for your signing.  In that
version, "uid 1" always selects the primary.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2rc1 (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc

iD8DBQE+gJHB4mZch0nhy8kRAiznAKDlE9KIlSGRytws5iZqVisFO2f7dwCfd6A5
ppE/6/WHLoINv9z77KxArFU=
=h4SW
-----END PGP SIGNATURE-----