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

Re: How to gpg signed email patches?

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 14, 2025, 19:12 UTC
Message-ID
<xmqqa58ir20e.fsf@gitster.g>
In-Reply-To
<Z_xAOmQm0e_WE2Dd@tapette.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
> I know that Git definitely does not know how to verify those signatures,
> though, so many people would end up not verifying them.

True that many people would end up not verifying them, but I do not think Git has much to do with that.

Some contributors seem to send PGP signed patches to this list (and I once mildly asked them not to, but these days I simply do not care), and if I had their public keys marked as trusted, my mail-reading environment would do the verification for me totally outside Git (as this part of the workflow is not about Git, but about communicating over authenticated and cryptographically protected messages, whose contents happen to be patches), and I'll just "git am" knowing that the patch is from the contributor who has access to that trusted key.

The "key" (no pun intended) in the above is "if I had" part. The overhead of retrieving, validating, and keeping the key for a contributor becomes worth it only after the contributor turns out to be very prolific one. The Web of trust, while was very attractive as a concept, is not so convenient to maintain well enough to be relied on as an infrastructure.

Previous: brian m. carlsonNext: Konstantin Ryabitsev
Message 8 of 10 in “How to gpg signed email patches?”
  1. Klaus FrankApr 13, 2025
  2. Matt HunterApr 13, 2025
  3. Klaus FrankApr 13, 2025
  4. Junio C HamanoApr 14, 2025
  5. brian m. carlsonApr 13, 2025
  6. Klaus FrankApr 14, 2025
  7. brian m. carlsonApr 14, 2025
  8. Junio C HamanoApr 14, 2025
  9. Konstantin RyabitsevApr 14, 2025
  10. Junio C HamanoApr 14, 2025

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.