git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Verifiable git archives?
@ 2014-01-09  3:10 Andy Lutomirski
  2014-01-09 19:26 ` Stefan Beller
  2014-01-09 20:11 ` Junio C Hamano
  0 siblings, 2 replies; 9+ messages in thread
From: Andy Lutomirski @ 2014-01-09  3:10 UTC (permalink / raw)
  To: git

It's possible, in principle, to shove enough metadata into the output
of 'git archive' to allow anyone to verify (without cloning the repo)
to verify that the archive is a correct copy of a given commit.  Would
this be considered a useful feature?

Presumably there would be a 'git untar' command that would report
failure if it fails to verify the archive contents.

This could be as simple as including copies of the commit object and
all relevant tree objects and checking all of the hashes when
untarring.

(Even better: allow subsets of the repository to be archived and
verified as well.)

--Andy

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-01-25 21:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-09  3:10 Verifiable git archives? Andy Lutomirski
2014-01-09 19:26 ` Stefan Beller
2014-01-09 20:11 ` Junio C Hamano
2014-01-09 20:51   ` Andy Lutomirski
2014-01-09 22:46     ` Junio C Hamano
2014-01-09 22:50       ` Andy Lutomirski
2014-01-19  0:35   ` Michael Haggerty
2014-01-21 19:38     ` Junio C Hamano
2014-01-25 21:56       ` Andy Lutomirski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).