GnuPG race causes misordered uids?
Marcus Brinkmann
Marcus.Brinkmann at ruhr-uni-bochum.de
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.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus at gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
More information about the Gnupg-devel
mailing list