<oembed><type>rich</type><version>1.0</version><author_name>npub1uvtfvcegcn9kds68r8he57emc480vqtx8t22kpsctxgjxae44gvsksaxrt</author_name><author_url>https://nostr.ae/npub1uvtfvcegcn9kds68r8he57emc480vqtx8t22kpsctxgjxae44gvsksaxrt</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2013-04-01&#xA;📝 Original message:On 2 April 2013 00:10, Will &lt;will at phase.net&gt; wrote:&#xA;&#xA;&gt; The threat of a SHA1 collision attack to insert a malicious pull request&#xA;&gt; are tiny compared with the other threats - e.g. github being compromised,&#xA;&gt; one of the core developers&#39; passwords being compromised, one of the core&#xA;&gt; developers going rogue, sourceforge (distribution site) being compromised&#xA;&gt; etc etc... believe me there&#39;s a lot more to worry about than a SHA1&#xA;&gt; attack...&#xA;&gt;&#xA;&gt; Not meaning to scare, just to put things in perspective - this is why we&#xA;&gt; all need to peer review each others commits and keep an eye out for&#xA;&gt; suspicious commits, leverage the benefits of this project being open source&#xA;&gt; and easily peer reviewed.&#xA;&gt;&#xA;&#xA;Very good points, and I think you&#39;re absolutely right.&#xA;&#xA;But just running the numbers, to get the picture, based of scheiner&#39;s&#xA;statistics:&#xA;&#xA;http://www.schneier.com/blog/archives/2012/10/when_will_we_se.html&#xA;&#xA;We&#39;re talking about a million terrahashes = 2^60 right?&#xA;&#xA;With the block chain, you only have a 10 minute window, but with source&#xA;code you have a longer time to prepare.&#xA;&#xA;Couldnt this be done with an ASIC in about a week?&#xA;&#xA;&#xA;&#xA;&gt;&#xA;&gt; Will&#xA;&gt;&#xA;&gt;&#xA;&gt; On 1 April 2013 23:52, Melvin Carvalho &lt;melvincarvalho at gmail.com&gt; wrote:&#xA;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; On 1 April 2013 20:28, Petr Praus &lt;petr at praus.net&gt; wrote:&#xA;&gt;&gt;&#xA;&gt;&gt;&gt; An attacker would have to find a collision between two specific pieces&#xA;&gt;&gt;&gt; of code - his malicious code and a useful innoculous code that would be&#xA;&gt;&gt;&gt; accepted as pull request. This is the second, much harder case in the&#xA;&gt;&gt;&gt; birthday problem. When people talk about SHA-1 being broken they actually&#xA;&gt;&gt;&gt; mean the first case in the birthday problem - find any two arbitrary values&#xA;&gt;&gt;&gt; that hash to the same value. So, no I don&#39;t think it&#39;s a feasible attack&#xA;&gt;&gt;&gt; vector any time soon.&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt; Besides, with that kind of hashing power, it might be more feasible to&#xA;&gt;&gt;&gt; cause problems in the chain by e.g. constantly splitting it.&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; OK, maybe im being *way* too paranoid here ... but what if someone had&#xA;&gt;&gt; access to github, could they replace one file with one they had prepared at&#xA;&gt;&gt; some point?&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt; On 1 April 2013 03:26, Melvin Carvalho &lt;melvincarvalho at gmail.com&gt; wrote:&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt;  I was just looking at:&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; https://bitcointalk.org/index.php?topic=4571.0&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; I&#39;m just curious if there is a possible attack vector here based on the&#xA;&gt;&gt;&gt;&gt; fact that git uses the relatively week SHA1&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; Could a seemingly innocuous pull request generate another file with a&#xA;&gt;&gt;&gt;&gt; backdoor/nonce combination that slips under the radar?&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; Apologies if this has come up before ...&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------------&#xA;&gt;&gt;&gt;&gt; Own the Future-Intel&amp;reg; Level Up Game Demo Contest 2013&#xA;&gt;&gt;&gt;&gt; Rise to greatness in Intel&#39;s independent game demo contest.&#xA;&gt;&gt;&gt;&gt; Compete for recognition, cash, and the chance to get your game&#xA;&gt;&gt;&gt;&gt; on Steam. $5K grand prize plus 10 genre and skill prizes.&#xA;&gt;&gt;&gt;&gt; Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d&#xA;&gt;&gt;&gt;&gt; _______________________________________________&#xA;&gt;&gt;&gt;&gt; Bitcoin-development mailing list&#xA;&gt;&gt;&gt;&gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt;&gt;&gt;&gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; ------------------------------------------------------------------------------&#xA;&gt;&gt; Own the Future-Intel&amp;reg; Level Up Game Demo Contest 2013&#xA;&gt;&gt; Rise to greatness in Intel&#39;s independent game demo contest.&#xA;&gt;&gt; Compete for recognition, cash, and the chance to get your game&#xA;&gt;&gt; on Steam. $5K grand prize plus 10 genre and skill prizes.&#xA;&gt;&gt; Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d&#xA;&gt;&gt; _______________________________________________&#xA;&gt;&gt; Bitcoin-development mailing list&#xA;&gt;&gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt;&gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20130402/7b3c7f99/attachment.html&gt;</html></oembed>