Re: Supporting hashes other than SHA-1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 12 May 2009, Andreas Ericsson wrote:

> Jakub Narebski wrote:
> > Jakub Narebski <jnareb@xxxxxxxxx> writes:
> > 
> > > Chris Frey <cdfrey@xxxxxxxxxxxxxx> writes:
> > >
> > > > Considering the recent news regarding SHA-1's newly found weaknesses,
> > > > is there any general interest in making git flexible enough to support
> > > > other hashes in the future?
> > > First, there isn't as far as I know any 'known preimage' attack
> > > against SHA-1, and only that would truly matter for Git.
> > >
> > > Second, this issue was discussed in depth in the past; check git
> > > mailing list archives, please...
> > 
> > See also this blog entry (and comments):
> >   http://kitenet.net/~joey/blog/entry/sha-1/
> > 
> 
> It's a bit harder than that, since both pre-images have to be the same
> size.

They don't.  The pre-images prefixed by the type identifier and the size 
in ASCII need to have the same hash.  There is a difference.

Ciao,
Dscho
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]