login
Header Space

 
 

Re: About git and the use of SHA-1

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andreas Ericsson <ae@...>
Cc: Dmitry Potapov <dpotapov@...>, Henrik Austad <henrikau@...>, <git@...>
Date: Tuesday, April 29, 2008 - 11:42 am

On Tue, 29 Apr 2008, Andreas Ericsson wrote:


I'd also like to point out that Git usually receive "untrusted" new 
objects via the Git protocol through 'git index-pack'.  If you look at 
sha1_object() in index-pack.c, you'll see that active verification 
against hash collision is performed, and the fetch will abruptly be 
aborted if ever that happens.

Yes, writing a test case for this was tricky.  :-)


Nicolas
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
About git and the use of SHA-1, Henrik Austad, (Mon Apr 28, 12:29 pm)
Re: About git and the use of SHA-1, Tom Widmer, (Tue Apr 29, 1:08 pm)
Re: About git and the use of SHA-1, Tom Widmer, (Tue Apr 29, 11:02 am)
Re: About git and the use of SHA-1, Dmitry Potapov, (Tue Apr 29, 8:41 am)
Re: About git and the use of SHA-1, Andreas Ericsson, (Tue Apr 29, 10:41 am)
Re: About git and the use of SHA-1, Nicolas Pitre, (Tue Apr 29, 11:42 am)
Re: About git and the use of SHA-1, Geoffrey Irving, (Tue Apr 29, 11:59 am)
Re: About git and the use of SHA-1, Matthieu Moy, (Tue Apr 29, 2:17 pm)
Re: About git and the use of SHA-1, Fredrik Skolmli, (Tue Apr 29, 2:23 pm)
Re: About git and the use of SHA-1, Nicolas Pitre, (Tue Apr 29, 12:39 pm)
Re: About git and the use of SHA-1, Geoffrey Irving, (Tue Apr 29, 1:48 pm)
Re: About git and the use of SHA-1, Nicolas Pitre, (Tue Apr 29, 1:55 pm)
Re: About git and the use of SHA-1, Geoffrey Irving, (Tue Apr 29, 2:02 pm)
Re: About git and the use of SHA-1, Daniel Barkalow, (Tue Apr 29, 2:41 pm)
Re: About git and the use of SHA-1, Geoffrey Irving, (Tue Apr 29, 4:31 pm)
Re: About git and the use of SHA-1, Martin Langhoff, (Tue Apr 29, 10:58 pm)
Re: About git and the use of SHA-1, Geoffrey Irving, (Wed Apr 30, 1:18 am)
Re: About git and the use of SHA-1, David Brown, (Wed Apr 30, 1:47 am)
Re: About git and the use of SHA-1, Martin Langhoff, (Wed Apr 30, 1:56 am)
Re: About git and the use of SHA-1, Fredrik Skolmli, (Tue Apr 29, 4:50 pm)
Re: About git and the use of SHA-1, Geoffrey Irving, (Tue Apr 29, 5:39 pm)
Re: About git and the use of SHA-1, Fredrik Skolmli, (Tue Apr 29, 5:52 pm)
Re: About git and the use of SHA-1, Daniel Barkalow, (Mon Apr 28, 3:34 pm)
Re: About git and the use of SHA-1, Geoffrey Irving, (Tue Apr 29, 11:34 am)
Re: About git and the use of SHA-1, Daniel Barkalow, (Tue Apr 29, 12:27 pm)
Re: About git and the use of SHA-1, Henrik Austad, (Mon Apr 28, 5:29 pm)
Re: About git and the use of SHA-1, Andreas Ericsson, (Tue Apr 29, 2:38 am)
Re: About git and the use of SHA-1, Russ Dill, (Tue Apr 29, 3:09 am)
Re: About git and the use of SHA-1, Jurko Gospodnetić, (Tue Apr 29, 8:46 am)
Re: About git and the use of SHA-1, Russ Dill, (Tue Apr 29, 12:21 pm)
Re: About git and the use of SHA-1, Andreas Ericsson, (Tue Apr 29, 3:21 am)
Re: About git and the use of SHA-1, Sverre Rabbelier, (Tue Apr 29, 7:05 am)
Re: About git and the use of SHA-1, Andreas Ericsson, (Tue Apr 29, 8:27 am)
Re: About git and the use of SHA-1, Paolo Bonzini, (Tue Apr 29, 9:05 am)
Re: About git and the use of SHA-1, Andreas Ericsson, (Tue Apr 29, 10:37 am)
Re: About git and the use of SHA-1, Russ Dill, (Tue Apr 29, 12:24 pm)
Re: About git and the use of SHA-1, Paolo Bonzini, (Tue Apr 29, 10:52 am)
Re: About git and the use of SHA-1, Daniel Barkalow, (Mon Apr 28, 6:15 pm)
speck-geostationary