setting expiration date changes primary UID (was: Re: GnuPG race causes misordered uids?
dshaw at jabberwocky.com
Fri May 30 05:34:03 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
On Wed, May 28, 2003 at 08:36:38AM -0400, David Shaw wrote:
> On Wed, May 28, 2003 at 08:59:25AM +0200, Werner Koch wrote:
> > Better make sure the primary flag has been set. A warning should be
> > sufficient.
> You're right. I was thinking about the case where all the self-sigs
> get updated at once (e.g. "expire"). It would be possible to cheat a
> bit there and just timestamp the primary one second earlier. However,
> this problem exists with "setpref" as well, and that may only apply to
> one uid. A mess.
> I'll add a warning.
Anyone have any suggestions for the warning text? I've got:
"WARNING: no user ID has been marked as primary. This command may
cause a different user ID to become the assumed primary."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-cvs (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Gnupg-devel