UID ordering
David Shaw
dshaw at jabberwocky.com
Fri Feb 16 21:00:42 CET 2007
On Fri, Feb 16, 2007 at 01:47:33PM -0600, Alex Mauer wrote:
> David Shaw wrote:
> > There is. When you set a primary UID, the self-signature on that UID
> > is actually remade with a signature subpacket that tags the UID as the
> > primary one.
>
> By my understanding, it's merely the UID with the most recent signature
> that's considered "primary".
No. Like I said, there is a signature subpacket that tags the UID as
the primary one. If you don't tag any UID, then GnuPG will sort the
most recent one first, but that doesn't make it primary.
> Also, if it's just a flag that says "this one is
> primary", what happens if different UIDs are set as primary on different
> keyrings, and then they're merged?
The most recent of the UIDs tagged as primary will be treated as the
"true" primary.
David
More information about the Gnupg-devel
mailing list