setting expiration date changes primary UID (was: Re: GnuPG race causes misordered uids?
David Shaw
dshaw at jabberwocky.com
Fri May 30 05:34:03 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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."
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-cvs (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc
iD8DBQE+1sMu4mZch0nhy8kRAkpWAJ4j2E45mQMdovoSe1VHNGLEQVK/CACg1ZBF
viF1/7CGbftsq2IBEZsJcSQ=
=gR+v
-----END PGP SIGNATURE-----
More information about the Gnupg-devel
mailing list