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

Re: Lack of detached signatures

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 28, 2011, 16:45 UTC
Message-ID
<7v1uv01uqm.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.LNX.2.00.1109280555460.25187@bruno>
Joseph Parmelee <jparmele@wildbear.com> writes:
> There is confusion here between the repository and the tarball.  Once you
> have produced the tarball there is NO cryptographic protection against
> forgeries unless you sign it with GPG.
True.

If I give you a URL http://code.google.com/p/git-core/downloads/list with checksums

  $ sha1sum git-1.7.7.rc3.tar.gz
  c6ba05a833cab49dd66dd1e252306e187effbf2b  git-1.7.7.rc3.tar.gz

You either have to trust that code.google.com/ is not broken, or this message is coming from real Junio (provided if you can trust him in the first place).

BUT.

The world is not so blank-and-white. Trust is ultimately among humans. If this message is not from the real Junio, don't you think you will hear something like "No, that c6ba05... is forgery, please don't use it!" from him, when he finds this message on the Git mailing list? If he does not exercise diligence to even do that much, does he deserve your trust in the first place?

GPG does add security (if you have the key) but you can do pretty well even without it in practice.

> It is only because kernel.org exercised due diligence in the production of
> tags and signatures on all their tarballs that the kernel code itself
> withstood their recent intrusion....

I do not think that is true at all. Developers just dropped *.tar.gz on a 'master' machine, and left the rest to a cron job that reflates the tarball into *.tar.bz2, sign both using a GPG key, and mirror them to the public-facing machines 'www'.

Somebody who had access to the 'master' machine could add a new tarball and have it go thru the same exact process, getting signed by the cron.

Previous: Joseph ParmeleeNext: Michael Witten
Message 7 of 24 in “Lack of detached signatures”
  1. Joseph ParmeleeSep 27, 2011
  2. Junio C HamanoSep 28, 2011
  3. Michael WittenSep 28, 2011
  4. Olsen, Alan RSep 28, 2011
  5. Carlos Martín NietoSep 28, 2011
  6. Joseph ParmeleeSep 28, 2011
  7. Junio C HamanoSep 28, 2011
  8. Michael WittenSep 28, 2011
  9. Matthieu MoySep 28, 2011
  10. Jeff KingSep 28, 2011
  11. Ted Ts'oSep 28, 2011
  12. Junio C HamanoSep 29, 2011
  13. Ted Ts'oSep 29, 2011
  14. Junio C HamanoSep 29, 2011
  15. Ted Ts'oSep 29, 2011
  16. Sverre RabbelierSep 29, 2011
  17. Ted Ts'oSep 29, 2011
  18. Sverre RabbelierSep 29, 2011
  19. Joseph ParmeleeSep 29, 2011
  20. Joseph ParmeleeSep 29, 2011
  21. Jeff KingSep 29, 2011
  22. Olsen, Alan RSep 29, 2011
  23. Joseph ParmeleeSep 28, 2011
  24. Ben WaltonSep 28, 2011

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.