Earlier quoted context omitted.
You can see their emails at the bottom: those are universities/research institutes domains. You can be sure _they_ did not actually spend that themselves.
I'm just amazed that they were willing to take the risk that there was a bug in the code and they wouldn't find a collision.
The first chosen-prefix collision for SHA-1
41–50 of 369 posts
Re: The first chosen-prefix collision for SHA-1
#42Is "a Shambles" British or something? I've always heard it as "in Shambles"
(nowadays devoid of mead products but a nice picturesque place to visit if you can stand crowds. Try the bookshop)
Re: The first chosen-prefix collision for SHA-1
#43Nice to see this bit of intellectual honesty. Would be even nicer if they had explained what that means in terms of PGP keys.
Re: The first chosen-prefix collision for SHA-1
#44Sigh. Again with this idiocy. All instances where the adversary is capable of launching this attack financially mean they also have the capability to write the exploit themselves.
Re: The first chosen-prefix collision for SHA-1
#45Since SHA-1 was always possible to break, and since NSA probably gets access to big computers and sophisticated techniques before researchers, why doesn't this invalidate every SHA-1 signature ever made and not just ones from last year?
Re: The first chosen-prefix collision for SHA-1
#46Earlier quoted context omitted.
It may, because now an attacker can replace code with arbitrary other valid code as long as developers are willing to ignore the long weird random comment at the end ;-) I’m gonna say many developers will not care but and many compilers will not care either. So yeah, Linus’ main deterrent reason (code won’t compile) doesn’t apply anymore. HOWEVER! 1. A chosen-prefix attack still needs to compute TWO suffixes m1 and m…
If you look in this 2017 ( https://marc.info/?l=git&m=148787047422954 ) email from Linux, he discusses how git also encodes length. That would mean that you need a collision of the same length and the right functionality, so you can't just append data.
Re: The first chosen-prefix collision for SHA-1
#47Earlier quoted context omitted.
You can see their emails at the bottom: those are universities/research institutes domains. You can be sure _they_ did not actually spend that themselves.
I'm just amazed that they were willing to take the risk that there was a bug in the code and they wouldn't find a collision.
Breaking MD5 for the Flame malware probably set the NSA back millions when you sum the person-hours and CPU time together.
Re: The first chosen-prefix collision for SHA-1
#48Earlier quoted context omitted.
That first quote is misleading. git's special hashing scheme doesn't make the attack "much harder". First there is no difference in length in the original shattered collision already: $ curl https://shattered.io/static/shattered-1.pdf | wc -c 422435 $ curl -s https://shattered.io/static/shattered-2.pdf | wc -c 422435 Second, the length is already being hashed into the content during computation of a SHA-1 hash. Look…
The point is that the hashed data must follow a specific data format, and can’t just be arbitrary data. This means that the collision data MUST contain the length at some specific offset in the data, which makes it harder to find a collision. The more restrictive the serialization format of the hashed data, the harder it is to find a collision that’s valid in the given application context.
$ curl -s https://shattered.io/static/shattered-1.pdf | hexdump -n 512 -C
00000000 25 50 44 46 2d 31 2e 33 0a 25 e2 e3 cf d3 0a 0a |%PDF-1.3.%......|
00000010 0a 31 20 30 20 6f 62 6a 0a 3c 3c 2f 57 69 64 74 |.1 0 obj.>.st|
00000090 72 65 61 6d 0a ff d8 ff fe 00 24 53 48 41 2d 31 |ream......$SHA-1|
000000a0 20 69 73 20 64 65 61 64 21 21 21 21 21 85 2f ec | is dead!!!!!./.|
The shattered attack was about a so-called "identical prefix" collision, while the shambles paper's collision was a "chosen prefix" one. You can choose it in both cases, but in the "chosen prefix" one both colliding prefixes can be entirely different (and can be as long as you want btw, the attack doesn't cost more if the prefix is 4 KB vs 4 GB), while in the "identical prefix" case it has to be identical.Re: The first chosen-prefix collision for SHA-1
#49Earlier quoted context omitted.
AFAICT ”a shambles” is correct usage. See https://brians.wsu.edu/2016/05/24/in-shambles-a-shambles/
Downvoted. There's no ISO standard for English, since language is a social phenomenon. "Correct" language is whatever the community of speakers uses in practice, not what someone claims is correct in a blog post (or even a book).
Beyond that prefixing your comment by "downvoted" is frankly silly and only serves to derail the conversation IMO.
Re: The first chosen-prefix collision for SHA-1
#50Earlier quoted context omitted.
That first quote is misleading. git's special hashing scheme doesn't make the attack "much harder". First there is no difference in length in the original shattered collision already: $ curl https://shattered.io/static/shattered-1.pdf | wc -c 422435 $ curl -s https://shattered.io/static/shattered-2.pdf | wc -c 422435 Second, the length is already being hashed into the content during computation of a SHA-1 hash. Look…
Yeah, that quote doesn't exactly make me confident about Linus's understanding of this particular issue.