GnuPG race causes misordered uids?

David Shaw dshaw at jabberwocky.com
Mon May 5 16:50:03 CEST 2003


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

On Mon, May 05, 2003 at 09:40:38AM +0200, Timo Schulz wrote:
> On Mon May 05 2003; 00:20, Marcus Brinkmann wrote:
> 
> > > This is because now I check the user ids and other key attributes, and not
> > > always gpg puts the primary user ID first.  I have seen one of the other 
> > > two ids being listed first as well.
> > 
> > This is with gpg 1.2.1 (will test latest version, too).
> 
> I can confirm this. A long time I thought something is wrong with my
> GPGME port for Windows but now I hear these problems appear on Posix
> as well. I use the latest CVS (stable-branch 1.2.3-cvs) since two days
> and I could not see this behaviour again. But of course it does *not*
> mean, it will never happen.

Just to make sure I understand the problem.  Given a key with more
than one uid, one of which is marked primary, if I do this:

gpg --fixed-list-mode --with-fingerprint --with-colons --list-keys (thekey)

over and over, sometimes the primary key is not first?

Is the primary uid marked primary (i.e. a primary subpacket is in the
self-sig), or is the primary just the newest uid ?

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

iD8DBQE+tmwe4mZch0nhy8kRAiXpAKCWzXc65IyfuImHDxuSP+w8mWUonQCg2RWv
WkApmOXyQxaCI/hoAix4G9A=
=HMA1
-----END PGP SIGNATURE-----




More information about the Gnupg-devel mailing list