git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: PATCH: Less fragile lookup of gpg key

From
tytso@mit.edu <tytso@mit.edu>
Date
May 4, 2010, 02:19 UTC
Message-ID
<20100504021937.GY14986@thunk.org>
In-Reply-To
<m1O93yz-000kndC@most.weird.com>
On Mon, May 03, 2010 at 06:19:17PM -0400, Greg A. Woods wrote:
Show 5 quoted lines
> 
> Normally the only time I've ever seen anyone end up with multiple
> published keys associated with the same e-mail address it has happened
> when they have accidentally lost their private key somehow and therefore
> they were unable to revoke it properly.

Well, I suspect this case happens fairly often. (And there are other cases; where you're still gathering enough signatures so you can use your new key, and the old key hasn't been compromised, but people have started getting paranoid about the crypto algorithms involved, etc.) So I'd argue that saying this is only something that Advanced GPG users will use is probably a bit short-sighted.

> Meanwhile the original problem here appears to me to be that Git
> effectively encourages use of multiple valid keys that may have the same
> e-mail address attached to multiple key-IDs.

Yes, I think that *is* the problem. If you want to optimize for the common case, that's fine, but it's also useful to have a way for users to specify in their gitconfig files that a specific KeyID should be used if they are signing with a particular e-mail ID.

							- Ted
Previous: Greg A. WoodsNext: Grant Olson
Message 11 of 13 in “PATCH: Less fragile lookup of gpg key”
  1. Grant OlsonMay 1, 2010
  2. A Large Angry SCMMay 1, 2010
  3. Junio C HamanoMay 1, 2010
  4. Grant OlsonMay 1, 2010
  5. Junio C HamanoMay 1, 2010
  6. Grant OlsonMay 2, 2010
  7. Greg A. WoodsMay 3, 2010
  8. Grant OlsonMay 3, 2010
  9. Theodore TsoMay 3, 2010
  10. Greg A. WoodsMay 3, 2010
  11. tytso@mit.eduMay 4, 2010
  12. Grant OlsonMay 4, 2010
  13. Andreas EricssonMay 4, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.