order of uids

Josh Huber Josh Huber <huber+dated+1028660911.9f2985@alum.wpi.edu>
Thu Aug 1 21:08:02 2002


--=-=-=


Sorry if this gets posted again.  I was posting with the wrong address
and the first attempt didn't get through.  This one should!

Martin Bretschneider <martin.bretschneider@gmx.de> writes:

> I added the first one recently and it appears now everywhere as the
> "first" uid in gpa, sylpheed, gpg --list-keys etc. GnuPG seems to
> sort them in alphabetical order.

By default GnuPG makes the most recently added uid the default uid.
To change this, use the edit-key mode.

gpg --edit-key <your keyid>

then, select the uid by entering the number before it:

pub  1024D/6B21489A  created: 2000-01-20 expires: never      trust:
u/u
sub  1024g/DBC7552B  created: 2000-01-20 expires: never     
rev! subkey has been revoked: 2002-02-01
sub  2048g/5EB197C8  created: 2002-02-01 expires: never     
(1)  Josh Huber <huber@mclx.com>
(2)  [revoked] Josh Huber <huberj@wpi.edu>
(3)  Josh Huber <huber@nightshade.org>
(4)  Josh Huber <huber@debian.org>
(5). Josh Huber <huber@alum.wpi.edu>
(6)  Josh Huber <huber@paradoxical.net>

Command> 4
          
pub  1024D/6B21489A  created: 2000-01-20 expires: never      trust:
u/u
sub  1024g/DBC7552B  created: 2000-01-20 expires: never     
rev! subkey has been revoked: 2002-02-01
sub  2048g/5EB197C8  created: 2002-02-01 expires: never     
(1)  Josh Huber <huber@mclx.com>
(2)  [revoked] Josh Huber <huberj@wpi.edu>
(3)  Josh Huber <huber@nightshade.org>
(4)* Josh Huber <huber@debian.org>
(5). Josh Huber <huber@alum.wpi.edu>
(6)  Josh Huber <huber@paradoxical.net>

Then use the "primary" command to change the primary uid.  GnuPG will
ask for your passphrase, and the preferences will be changed.

> ps.: the XXXs are there due to possible spam bots

Well, you know your address is also in the From header :)

-- 
Josh Huber

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9SYMbv+EgZWshSJoRApzbAJ9vitxznZddc19oa04kvoFaT5LzOACffGUf
2UQkQLe02wRMgh8AbQOxkfM=
=f+ws
-----END PGP SIGNATURE-----
--=-=-=--