Order of namestrings changed when importing keys

David Shaw dshaw@jabberwocky.com
Wed Mar 6 16:08:01 2002

On Wed, Mar 06, 2002 at 03:09:40PM +0100, Jon Krom wrote:

> Several of the keys I imported had more than one user name string 
> (typically different email addresses, but also other info).  For 
> some reason GPG displays for most of these keys another string as
> the primary key name than PGP used to do.
> Is there a reason for this?

Yes.  GnuPG makes the (reasonable) assumption that the most recently
added (actually the most recently self-signed, but that usually means
most recently added) user ID is the primary one.

> Did I do something wrong?


> Can I change this?

Yes.  In a few weeks, GnuPG 1.0.7 will come out with a command
("primary") to mark whichever user ID you like as primary.

A few months ago, I posted a different way to do the same thing.  You
can read that here:


   David Shaw  |  dshaw@jabberwocky.com  |  WWW http://www.jabberwocky.com/
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson