<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: hn_p4ttern</title><link>https://news.ycombinator.com/user?id=hn_p4ttern</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 15 Jun 2026 08:33:07 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=hn_p4ttern" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by hn_p4ttern in "First practical SHA-256 collision for 31 steps. fse2024"]]></title><description><![CDATA[
<p>> "I believe there is one more step. You have to somehow get the collision into the repository."<p>Yes, Exactly. So, is it necessary to change SHA-1 having in git ? At the moment, I think there is no reason because SHA-1 doesn't expose security vulnerabilities or functional issues.</p>
]]></description><pubDate>Wed, 27 Mar 2024 17:03:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=39841710</link><dc:creator>hn_p4ttern</dc:creator><comments>https://news.ycombinator.com/item?id=39841710</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39841710</guid></item><item><title><![CDATA[New comment by hn_p4ttern in "First practical SHA-256 collision for 31 steps. fse2024"]]></title><description><![CDATA[
<p>> "For now the SHA-1 collisions are easily detectable, but it could get worse."<p>Your opinion: prove it! And Again, if you instead of trolling actually read the post in THIS BRANCH , the question is: shout SHA-1 inn GIT be substituted ?</p>
]]></description><pubDate>Wed, 27 Mar 2024 17:01:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=39841683</link><dc:creator>hn_p4ttern</dc:creator><comments>https://news.ycombinator.com/item?id=39841683</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39841683</guid></item><item><title><![CDATA[New comment by hn_p4ttern in "First practical SHA-256 collision for 31 steps. fse2024"]]></title><description><![CDATA[
<p>My point is: why you should change hashing algorithm in GIT ???
Let's elaborate:<p>1. Do SHA-1 put a security risk in GIT ?<p>2. Is that practically exploitable in any way?<p>In some application, for example password hashing, SSH MAC, etc, you have good reasons to change hashing algorithm when it became obsolete: because an attacker can be computationally advantaged to crack a password, to compromise the integrity of transmitted packets, etc.<p>But not because an hashing algorithm became obsolete for some application is obsolete for ALL possible application. Moreover, in some specific application could be DESIRABLE a fasted hashing algorithm.<p>So why You should change SHA-1 in GIT ?<p>>> "But a few more of these tricks and I can see those "garbage comments" collision happening"<p>I don't think so, is computationally astronomically  difficult whatever tricks yo u invent. 
The point here IS NOT to generate a collision adding "garbage comments", again, is to alter the behaviour of committed code in a functional way.<p>>> "Even without language models you could use something like a language's EBNF grammar as a token generator for source code which would probably pass any glance checks, but definitely not dedicated inspection like a code review. That is probably something that IS PRACTICAL TODAY for SHA1"<p>Yeah, prove it!</p>
]]></description><pubDate>Wed, 27 Mar 2024 15:21:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=39840461</link><dc:creator>hn_p4ttern</dc:creator><comments>https://news.ycombinator.com/item?id=39840461</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39840461</guid></item><item><title><![CDATA[New comment by hn_p4ttern in "First practical SHA-256 collision for 31 steps. fse2024"]]></title><description><![CDATA[
<p>1) We are talking about sha1, md5 is out of topic<p>2) This is the main topic ! Being able to generate >>valid code<< with a >>specific purpose<< , so that GIT have to change its hashing algorithm;<p>3) A.K.A your answer is total nonsense.<p>Everyone else, ok, I'm listening, give proof that you can change code on GitHub stealthy messing with hashing, moreover inserting a "payload" creating a SHA-1 collision in a reasonable computational time, everything else is BS.</p>
]]></description><pubDate>Wed, 27 Mar 2024 14:21:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=39839528</link><dc:creator>hn_p4ttern</dc:creator><comments>https://news.ycombinator.com/item?id=39839528</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39839528</guid></item><item><title><![CDATA[New comment by hn_p4ttern in "First practical SHA-256 collision for 31 steps. fse2024"]]></title><description><![CDATA[
<p>IMHO "be padded into a comment" is included in "is valid code", still 1 in <number_of_particles_in_universe_here^1E100> is a good approximation of that probability.<p>Please, correct me if I'm wrong.</p>
]]></description><pubDate>Wed, 27 Mar 2024 10:26:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=39837363</link><dc:creator>hn_p4ttern</dc:creator><comments>https://news.ycombinator.com/item?id=39837363</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39837363</guid></item><item><title><![CDATA[New comment by hn_p4ttern in "First practical SHA-256 collision for 31 steps. fse2024"]]></title><description><![CDATA[
<p>Is it used to sign a commit, right ? Which are the probabilities to have a collision that:<p>a) is still code<p>b) is still code AND is code similar to a previous commit<p>c) is still code AND is code similar to a previous commit AND is valid<p>d) is still code AND is code similar to a previous commit AND is valid AND makes sense for something<p>OR at least<p>a) is still code<p>b) is still code AND is valid<p>d) is still code AND  is valid AND makes sense for something<p>Let me know.</p>
]]></description><pubDate>Wed, 27 Mar 2024 10:05:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=39837232</link><dc:creator>hn_p4ttern</dc:creator><comments>https://news.ycombinator.com/item?id=39837232</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39837232</guid></item></channel></rss>