Re: PATCH: Less fragile lookup of gpg key
- From
- Greg A. Woods <woods@planix.com>
- Date
- May 3, 2010, 00:59 UTC
- Message-ID
- <m1O8k0Z-000kndC@most.weird.com>
- In-Reply-To
- <7v7hnn4cun.fsf@alter.siamese.dyndns.org>
At Sat, 01 May 2010 12:54:24 -0700, Junio C Hamano <gitster@pobox.com> wrote: Subject: Re: PATCH: Less fragile lookup of gpg key
Show 5 quoted lines
> > If I have two keys like these: > > Junio C Hamano <gitster@pobox.com> > Junio Hamano <gitster@pobox.com>
I'm not an expert on PGP internals or such, but I think that's a really bad thing to do. I'm surprised you were able to get gpg to do it in the first place. I would have hoped it wouldn't allow it. As far as I can tell it's _not_ compatible with other implementations of PGP.
PGP keys normally are searched by the e-mail portion only. All the other stuff (comments and the display name, etc.) is for decoration only. This is just as it is in e-mail routing too of course.
You can of course have more than one e-mail address per key, but you should NEVER have more than one key per e-mail.
I.e. it's less reliable in the first place to have two different keys which can be found using the same e-mail address.
-- Greg A. Woods Planix, Inc. <woods@planix.com> +1 416 218 0099 http://www.planix.com/