GnuPG race causes misordered uids?

Marcus Brinkmann Marcus.Brinkmann at
Sat May 10 06:54:03 CEST 2003

On Fri, May 09, 2003 at 11:12:45PM -0400, David Shaw wrote:
> On Tue, May 06, 2003 at 02:04:57PM +0200, Marcus Brinkmann wrote:
> > On Mon, May 05, 2003 at 11:23:08PM -0400, David Shaw wrote:
> > > Okay, I looked at this and what seems to be the problem is that some
> > > of the user IDs were generated in the same second.  That foils the
> > > current user ID sorting algorithm.
> > 
> > But why are the results non-deterministic on a sequence of read-only
> > operations?
> I don't know :(
> I tried tens of thousands of --list-keys cycles and still couldn't
> duplicate it.
> Could it somehow be a weird buffering thing between gpg and gpgme?

Well, I told you I could only see it in GPGME.  GPGME starts up the gpg
process, and then only a bit later starts to read from the pipe.  Maybe that
is the trick.

`Rhubarb is no Egyptian god.' GNU    marcus at
Marcus Brinkmann              The Hurd
Marcus.Brinkmann at

More information about the Gnupg-devel mailing list