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

Re: [RFC PATCH 0/4] Teach git fetch to verify signed tags automatically

From
Deskin Miller <deskinm@umich.edu>
Date
Nov 28, 2008, 00:18 UTC
Message-ID
<20081128001825.GA29662@euler>
In-Reply-To
<alpine.DEB.1.00.0811241140280.30769@pacific.mpi-cbg.de>
On Mon, Nov 24, 2008 at 11:41:27AM +0100, Johannes Schindelin wrote:
Show 6 quoted lines
> On Sun, 23 Nov 2008, Deskin Miller wrote:
> 
> > -What to do if a tag is found to have a bad signature?
> 
> Or even worse: if the public key was not found?  In dubio pro reo, they 
> say, but OTOH you asked to verify the signatures...

I don't see how not finding the public key is `worse' than a bad signature. Compared to what the user learns currently when they run git fetch and receive new signed tags, the case of not having the required public key leaves them in exactly the same state: the user does not know whether the signature is valid or not.

The user didn't ask to verify, as I see it; rather, they asked git to *try* to verify. If that fails in a way they don't expect, they're free to investigate further with git tag -v for situations like not having the right public key.

Deskin Miller 
Previous: Johannes SchindelinNext: Junio C Hamano
Message 15 of 16 in “Teach git fetch to verify signed tags automatically”
  1. 0/4 Teach git fetch to verify signed tags automaticallyDeskin Miller, Nov 24, 2008
  2. 1/4 Refactor builtin-verify-tag.cDeskin Miller, Nov 24, 2008
  3. 2/4 verify-tag.c: ignore SIGPIPE around gpg invocationDeskin Miller, Nov 24, 2008
  4. 3/4 verify-tag.c: suppress gpg output if askedDeskin Miller, Nov 24, 2008
  5. 4/4 Make git fetch verify signed tagsDeskin Miller, Nov 24, 2008
  6. Johannes SchindelinNov 24, 2008
  7. Deskin MillerNov 28, 2008
  8. Johannes SchindelinNov 24, 2008
  9. Deskin MillerNov 28, 2008
  10. Junio C HamanoNov 24, 2008
  11. Junio C HamanoNov 24, 2008
  12. Deskin MillerNov 28, 2008
  13. Johannes SchindelinNov 28, 2008
  14. Johannes SchindelinNov 24, 2008
  15. Deskin MillerNov 28, 2008
  16. Junio C HamanoNov 28, 2008

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.