21 ms·
Why Google is Hurrying the Web to Kill SHA-1
- tptacek 12y agoTwo nits, both pedantic: An attack on SHA1 that makes certificate forgery viable within the next few years doesn't seem very likely, although over the long term it might be. The attack on SHA1 isn't like the attacks on RSA-1024; my sense is that the literature already knows how to break RSA-1024 given enough compute, but does not know how to do that with SHA1. Further, factoring RSA-1024 provides an attacker with a total break of RSA-1024 TLS, but not every attack on SHA1 will necessarily do the same. Second, there's a subtext that SHA-3 having been standardized somehow puts the writing on the wall (albeit, a far-away wall) for SHA-2. Not so; SHA-2 could remain secure (in its TLS certificate use case) indefinitely.
- konklone 12y ago@tptacek - I tried to include enough detail to make it clear that a SHA-1 forgery isn't as trivial as a brute force. That you'd have to "coax a Certificate Authority" into issuing you a targeted forgery, and that that's what the MD5 team did. The SHA-3 mention at the very bottom was in the spirit of "all things are broken eventually", not a specific comment on SHA-2 (though my understanding is that there are some conceptual weaknesses that have been identified). I don't think I've confused the issue there, but if I see confusion I'll definitely update it.
- tptacek 12y agoAnother way to think about SHA2 and SHA3 is that it's entirely possible that SHA3 could fall before SHA2 does. They are unrelated algorithms. I'm also not comparing attacks on SHA1 to brute force (which is also not how MD5 fell). It would be helpful, when people posit attacks on SHA1, if they'd cite the literature they're referring to.
- konklone 12y ago> Another way to think about SHA2 and SHA3 is that it's entirely possible that SHA3 could fall before SHA2 does. They are unrelated algorithms. Very good point, though I would expect SHA2 to see far more research on weakening it. It's been around a lot longer, and its wider deployment makes it a much higher value target. (Is SHA-3 supported anywhere right now?)
- Perseids 12y agoYou can easily make the converse point and claim that SHA2 has a higher probability to resist future cryptanalysis than SHA3, given that SHA2 has already had a lot more research than SHA3, but is still not broken. "Old" is a feature in this sense. The only issue I know about with SHA2 is its length extension property. And that is by design.
- xkiwi 12y agoWhy SHA-2 instead of RSA 4096 or SHA-256? Even the RSA is compromised but 4096-bit will take a lot more(maybe few more hours) resources to decrypt. ==edited== Thank you for the reply.
- konklone 12y agoSHA-256 is a form of SHA-2.
- schmichael 12y agoSHA-256 is one of SHA-2's hash functions: http://en.wikipedia.org/wiki/SHA-2 http://en.wikipedia.org/wiki/SHA-2
- wyager 12y agoYou use a hash function (e.g. SHA256) to make the hash of the page and a signature algorithm (like RSA 4096) to sign it.
- pbsd 12y agoTo out-pedant you: even assuming that the differential collision attacks we know about are incorrect [1], we absolutely know how to break SHA-1 given enough compute, that is, roughly the same resources needed to break RSA-1024. The answer is generic collision finding with parallel rho [2]. [1] https://marc-stevens.nl/research/papers/EC13-S.pdf https://marc-stevens.nl/research/papers/EC13-S.pdf [2] http://people.scs.carleton.ca/~paulv/papers/JoC97.pdf http://people.scs.carleton.ca/~paulv/papers/JoC97.pdf
- tptacek 12y agoYou haven't so much out-pedanted me as refuted me. :)
- konklone 12y agoI added links to both papers to the bottom, and removed the "we'll probably need to upgrade" to SHA-3 sentence fragment.
- yuhong 12y agoIt seems that the identical prefix collision would be good to investigate doing an ASIC on.
- cgjaro 12y agoI don't know if "10 years" falls in your definition of "next few years". For a viable rogue CA attack, you need a chosen-prefix attack. Current best research (https://marc-stevens.nl/research/papers/EC13-S.pdf https://marc-stevens.nl/research/papers/EC13-S.pdf) shows it should take 2^77.1 SHA-1 compression calls to do a chosen-prefix attack. Say this is improved to 2^65 within the next 10 years. Right now a good GPU (AMD R9 290) can do 3 billion SHA-1 compression calls per second. Say Moore's Law continues for the next 10 years and that 10 years from now a GPU can do 20 billion SHA-1 per second. So 10 year from now, 100 high-end GPUs should be able to produce a rogue CA with colliding SHA-1 signature in 7 month of compute time. Change one little assumption and assume the best attack ends up being 2^60 instead of 2^65. In this case, a viable attack could certainly be carried out in the next 3-4 years. You can't cross your fingers and hopes such an attack will not be discovered. The time to abandon SHA-1 is now.
- tptacek 12y agoI agree.
- illumen 12y agoFirstly, GPUs haven't followed More. Secondly, multiple sha1 ASIC exists. Thirdly, WebGL has made it trivial to gain vast GPU resources. 20,000 viewers for two hours can be bought for $20. Fourthly, I don't care.
- walterbell 12y ago> 20,000 viewers for two hours can be bought for $20 Is that pricing from a botnet or a company like crowdprocess.com?
- venaoy 12y ago> Firstly, GPUs haven't followed More. Yes they have. Any integrated circuit that tries to pack as many transistors as possible on a die is, by definition, following Moore's Law. To convince you: http://www.mumblegrumble.com/visual/roadmap/other/nvidia_moore3.jpg http://www.mumblegrumble.com/visual/roadmap/other/nvidia_moo...
- userbinator 12y agomy sense is that the literature already knows how to break RSA-1024 given enough compute "given enough compute", we can break any crypto just with pure bruteforce, although in practice I believe there's a point at which the amount of power that would be required becomes physically impossible due to the limits of computation within the universe (i.e. Moore's Law will definitely end sometime). To me, that says using extremely large hash sizes can keep things quite secure - even attacks that reduce complexity by many orders of magnitude could be impossible in practice - e.g. a 2048-bit hash for which a 2^500 complexity attack is found won't be any less practically secure. ...unless we somehow discover that P = NP, in which case the world could become a very interesting place...
- valarauca1 12y agoAlso its not exactly fair to compare the Flame attack on MD5 and compare it immediately to SHA-1. Unless you are the US or China you likely don't have the resources necessary to pull off that sort of attack. The Flame attack's math was invented by an internal government cryptographic think tank. And still had to leverage massive computational power, just not in the order of 100's of millions. The idea a rogue group who have access to (both of) these resources is slightly idiotic. It would be far easier for them to attack RSA directly if you had 10's of millions of dollars of computers. There are a lot of 1024 bit certs you could pick off for easy profit.
- brador 12y agoBotnet.
- ErikRogneby 12y agoExactly.
- valarauca1 12y agoAs I stated. The computation power needed to break SHA-1 is higher then attacking RSA. So if you are financially motivated attacking RSA has a higher ROI.
- squeaky-clean 12y agoWhile true, "There's something more profitable to attack at the moment" seems like a lousy way to handle security.
- valarauca1 12y agoI never said moving away from SHA-1 was irrelevant. I was simply stating that they were overestimating how common the FLAME attack could be pulled off. Flame like Stuxnet are state of the art. Highly funded state of the art. A lot of security researchers look at these things and simply say, "Are you shitting me?!" Call me optimistic but I highly doubt we'll be uncovering a new stuxnet every single year.
- deleted 12y ago[deleted]
- kajarya 12y agoEveryone is vulnerable: https://www.google.com https://www.google.com, https://www.facebook.com https://www.facebook.com, https://www.svyft.com https://www.svyft.com as per the link provided in the article (https://shaaaaaaaaaaaaa.com https://shaaaaaaaaaaaaa.com)
- tptacek 12y agoVulnerable to what? Perhaps better to say, "everyone would be vulnerable".
- deleted 12y ago[deleted]
- tptacek 12y agoSomeone on HN knows this subject much better than I do, but as I understand it, there's no attack in the literature that takes a good certificate request and $2MM as an input and spits out a validating certificate as an output. This is different than the situation with MD5, where the components needed for a successful attack were known to the literature, and the real work was (a) scaling the attack so that it could perform within the time windows needed to forge a TLS certificate and (b) putting all the pieces together. (But see upthread with 'pbsd, who is one of those people on HN who knows the subject much better than me).
- xkiwi 12y agoHttps is to prevent wiretapping and man-in-the-middle attacks. The problem now is even you established HTTPS connection, the weak SHA-1 encryption will not protect you.
- tptacek 12y agoThe SHA1 vulnerability being contemplated here affects only the establishment of an HTTPS connection; the attack scenario involves obtaining a forged certificate.
- raldi 12y agoCan someone post a summary of the part of the story hinted to by the headline? I couldn't find it.
- squeaky-clean 12y agoIt's one of the links early in the story. (It's pretty link heavy, so it can be hard to miss. 6th link in). Basically, by 2015, Google will update Chrome to show websites with HTTPS certificates using SHA-1 as "insecure." The level of insecurity shown will get more severe over time, as well as being based on when your certificate expires. Here is the full link for details: http://googleonlinesecurity.blogspot.com/2014/09/gradually-sunsetting-sha-1.html http://googleonlinesecurity.blogspot.com/2014/09/gradually-s...
- raldi 12y agoThat's What. The headline hints at Why, but never delivers.
- squeaky-clean 12y agoThis entire article is about Why. Read the "An attack on SHA-1 feels plenty viable to me" section for the most info.
- raldi 12y agoI see -- it's not announcing any news, or any new theories; it's just a roundup of last week's news.
- gbhn 12y agoYes. Much like last week's news was. :-)
- konklone 12y agoIt's a roundup of last week's news, and (hopefully) better all-around explanation and background for people with less technical knowledge. It also points people to another tool I made, https://shaaaaaaaaaaaaa.com https://shaaaaaaaaaaaaa.com, to actually do the SHA-1 check.
- tux1968 12y agoWould be interesting to know how this affects Git version control, which has SHA-1 at its core.
- atonse 12y agoThis is for SSL and certificate validation - Google's move won't affect git in any way. Git uses it to ensure that the data that comes out is exactly what went in (like a much better checksum than md5 or crc32 etc). I don't know what the security implications are on the git side... I suppose an attacker could try to figure out how to change source code in a way that it preserves a commit log.
- simias 12y agoI assume you would need to forge a meaningful (and potentially harmful) commit with the same SHA-1 as an existing one to do arm. That's probably more difficult than forging an SSL certificate (since the actual contents of the blob are more constrained that the certificate file, probably). I'm also not really sure what would happen if commits made after the "compromised" one happened to conflict with it but I'm pretty sure the devs would notice something fishy going on pretty quickly. That being said git/mercurial and friends will have to transition to an other hashing algorithm sooner or later but it's not as urgent as web certificates security-wise.
- x1798DE 12y agoIt seems to me like the time horizon for an attack on git based on SHA-1 collisions would be much, much longer than other similar collision attacks (like signing binary executables), because of the sequential nature of version control. Presumably the utility of such an attack would be to maliciously insert code into an earlier version of the code to hide its origins, in which case for each commit on the file, they'd need to calculate a collision that contains their changes plus whatever legitimate changes have been made to that file. I'm not familiar enough with the inner workings of git to know, but I imagine it would be a pain to juggle updating new commits from people working from a local copy of the repo - potentially your malfeasance would be detected quickly if you tried to calculate a diff between the old file and the new file from the local copy (which would presumably not be updated, given that the checksums match). That said, if people are in the habit of signing their tags/commits using SHA-1, then that would be just as vulnerable as any other signing problem.
- kilovoltaire 12y agoSeems like the SSL certificates that CloudFlare automatically generates for sites are SHA-1 signed. Anyone know if they're planning to upgrade to SHA-2?
- konklone 12y agoThey can be seen in the Chrome discussion thread, complaining to Google that the timeline is too aggressive. But they're a good company, and I imagine they'll update as soon as they can.
- kilovoltaire 12y agoAh interesting, thanks. (For anyone else, here's the link: https://groups.google.com/a/chromium.org/d/msg/blink-dev/2-R4XziFc7A/cLDiqrrnkPkJ https://groups.google.com/a/chromium.org/d/msg/blink-dev/2-R...)
- tptacek 12y agoThis is a great thread. Thanks for posting it.
- jgrahamc 12y agoWe are going to do the following: 1. Reissue our SHA-1 based certs to meet the deadlines specified by Chrome so that no customer sees a warning in Chrome. 2. In the future, we will also have an automatic fallback system so that for poor clients (that only support SHA-1) we are able to dynamically provide 'old' certificates. For up to date clients we will not use SHA-1 at all.
- higherpurpose 12y agoI'd like to see them gradually downgrade all non-PFS connections. Non-PFS connections should be considered medium-to-highly vulnerable, and shouldn't receive a green icon in browsers. Unfortunately, they've just recommended everyone to use "2048-bit keys" when they announced the HTTPS Google ranking policy. A lot of developers won't understand the difference between a 2048-bit RSA key and a 256-bit ECC key, so they'll just pick RSA, since "Google said 2048-bit keys!". Sooo...maybe this policy will come in 10 years. http://googlewebmastercentral.blogspot.com/2014/08/https-as-ranking-signal.html http://googlewebmastercentral.blogspot.com/2014/08/https-as-...
- phlo 12y agoThis seems to be a case of a slightly unfortunate wording. Google calls for the use of 2048-bit key certificates, a very reasonable demand. In the forward secure use case, the certificate key is only used for authentication. Using, say, ECDHE_RSA as your key exchange mechanism allows for small but secure elliptic curve keys (EC), forward security (DHE) and uses the certificate's RSA key for initial authentication (RSA). Certificates can actually use ECDSA keys, and some companies will support this (Symantec and CloudFlare off the top of my head), but I'm not exactly sure about browser support. The chief advantage, as far as I know and assuming no new breaks in RSA, is a strong reduction in certificate file size (256-bit vs 3k RSA equivalent), not forward security.
- taf2 12y agoThe issue here is old clients... Does anyone know how old clients would handle SHA-2 certs, would they just get a warning saying the site is insecure but still be able to visit the site over an encrypted connection or do they break completely... I guess - I'll have to run a few tests this afternoon and see how windows XP performs.
- Gregordinary 12y agoWindows XP will need Service Pack 3 to support SHA2 certs. Windows Server 2003 will require a couple manual hotfixes to get SHA2 support. http://blogs.technet.com/b/pki/archive/2010/09/30/sha2-and-windows.aspx http://blogs.technet.com/b/pki/archive/2010/09/30/sha2-and-w...
- bpoyner 12y agoPlease let us know. Here's a table showing when SHA-2 support was added to various browsers. http://en.wikipedia.org/wiki/Transport_Layer_Security#Web_browsers http://en.wikipedia.org/wiki/Transport_Layer_Security#Web_br...
- rythie 12y agoI've seen in a lot of places that Chrome only supported SHA-2 since version 26 (2013). I find this hard to believe (Firefox supported it since 2005) and I can't find a solid reference for it. However I note that this page from 2008, says Chrome supports it https://www.tbs-certificates.co.uk/FAQ/en/476.html https://www.tbs-certificates.co.uk/FAQ/en/476.html (e.g. from version 1)
- bla2 12y agoIt's surprising how much energy Certificate Authorities invest into arguing about this. Instead, they should invest that energy into improving their SHA-2 support and helping their customers migrate.
- tptacek 12y agoNothing should surprise you about the obstinacy of CAs.
- mike_hearn 12y agoThey are businesses. Their customers are mostly businesses. SHA1 is, for most businesses that only want a padlock to reassure their customers, just peachy. A CA that hassles their customers and says "you need to do complicated extra work" is put at a disadvantage to other CA's that have a "customer is always right" kind of attitude. Combined with tools that default to SHA1, and customers that may depressingly actually have Windows XP SP2 terminals still in production use, and you get feet dragging. I don't think this is inherently a problem with the CA model. Rather it's what you'd expect in a competitive market that is basically selling a binary commodity product (a padlock icon), given textbook economics.
- mlissner 12y agoWhat's weird though is that they have a consortium. They could have all agreed simultaneously to stop issuing SHA1 certs years ago and at no market loss. But they didn't.
- VLM 12y agoIts just like general aviation, changing anything means anyone who got p0wned (or crashed) in the last decade is going to file a david vs goliath lawsuit with the change itself as evidence of negligence. But if they change nothing, then they admit to no mistake.
- mike_hearn 12y agoNo. They've been quite clear about this. CA's are still selling SHA1 certs because customers are asking for them. They're asking for them because they're compatible with more apps/devices and - until now - browsers treated them the same. So why sacrifice compatibility for no improvement. The Chrome team are right to push this along, but I do have some sympathy for the CA's here too. I read the whole discussion and it's pretty clear that there was some epic miscommunication going on here. Notably Google thinks that removing the padlock icon is not "deprecation" according to the timetable Microsoft established, but all the people buying certs disagree; that's why they're doing it.
- michaelbuckbee 12y agoA while back I launched a SSL scanner [1] and got tons of feedback from people at Facebook, Google, Microsoft. The most divisive item was how to represent SHA1 deprecation. The OPs article doesn't really touch on it, but the reason that Google and everyone else haven't moved on is that there still exist a sizeable number of clients that can only accept SHA1 (and will error on anything else). I actually suspect that large sites like Facebook, etc will maintain multiple certs at the different levels and dynamically serve the best one up that the client can support. They're already doing things like only serving HSTS to browsers that identify as Chrome, etc. 1 - https://www.expeditedssl.com/simple-ssl-scanner/scan?target_domain=google.com https://www.expeditedssl.com/simple-ssl-scanner/scan?target_...
- konklone 12y agoa) This is great. Also, a friend linked me to Expedited SSL yesterday and I link to it in the bottom of this post. b) I think its SHA-1 scanner is mistaken - it flags my site as using SHA-1, but it's SHA-2 in every cert in its chain: https://www.expeditedssl.com/simple-ssl-scanner/scan?target_domain=konklone.com https://www.expeditedssl.com/simple-ssl-scanner/scan?target_...
- Someone1234 12y agoThe root CA, USERTrust, is SHA-1 signed. Everything else is SHA-2 however as you said.
- konklone 12y agoThat's right, but the root cert is not sent by the server (in my case). More importantly, SHA-1 isn't a problem for root certs, as their signature is not used to verify their integrity.
- bitJericho 12y agoThen what is the signature for?
- deleted 12y ago[deleted]
- zaroth 12y agoSo where is the fully automated solution for rotating certificates? I've been looking for a CA who will provide an API to send the cert request, an easy way to prove the domain ownership which doesn't involve SMTP, and the signed cert handed straight back from the API, but haven't found it. So far the most I've been able to streamline my certificate requests is to automate generating the CSR, skip setting the MX record, just bind SMTP to www.domain.com, get the validation email at 'admin@www.domain.com' and auto-forward to my actual email address... so it's mostly automated, but I still have to copy/paste the cert request string into the CA's webform, click the 'Approve' link in the forwarded DV mail, and then copy/paste the final cert from inside email back to the shell where it can finish the import.
- agwa 12y agoI'm working on this problem: https://sslmate.com/ https://sslmate.com/ Right now it's just a command line client, but a public API is in the works. And this week we'll be announcing a solution to the cert rotation problem (basically, you'll be able to drive your renewals from cron - it's going to be really cool). You might want to follow @sslmate on Twitter - this is just the beginning of some very exciting stuff for automating SSL cert deployment. Also feel free to email me (address is in my profile). Sadly, we're still SHA-1 only, because that's all that our certificate authority (RapidSSL) supports at the moment. On the other hand, once we make renewals dead simple, you can just buy 1 year certs and it won't be a big deal upgrading to SHA-2 in a year's time. (After all, even Google is still using SHA-1, but they can easily switch thanks to their 3 month certs and well-oiled cert deployment machinery.)
- zaroth 12y agoVery interesting, thanks! I unpacked the .deb, the nodejs source is pretty easy to follow, so I'd say you pretty much already have the public API done. ;-) The /link API is interesting, versus generating a token on your site through the UI. You might want to consider allowing an explicit $$ limit on /buy, since you store the api-key in the clear (albeit in a config file set to 0600). It looks like you still rely on being able to receive an email on the domain and click an approval link, though. I'm sure this is a RapidSSL requirement, but it makes full automation more complex (certainly not impossible).
- mjhoyer 12y agoWhen I use the sha tool against google.com, it shows them using SHA-1.
- zachberger 12y agoGoogle has stated they wont complete their transition until 2015
- Cyranix 12y agoJust to be clear, since I often end up confused on this point — is the use of SHA-1 with HMAC, outside of the context of SSL, still acceptable?
- cbr 12y agoIt depends how motivated your attacker is. Could someone make a lot of money if they could get SHA-1 collisions with your application?
- Perseids 12y agoThe use of SHA1 with HMAC, inside as well as outside of the context of SSL is still acceptable, yes. Even against a nation state attacker. The reason attacks on HMAC(k,m)~=SHA1(k||SHA1(k||m)) are much more difficult than general collision attacks is that as an attacker you do not know the internal state of the hash function when you are trying to create a collision with m, as the secret key is input in the hash function first. The attack vector for TLS certificates is the (asymmetric) signature which signs a plain SHA1 hash message. I'm still disappointed that after all the experiences they have had with MD5 they haven't yet started to randomize the hash in the signature (sign SHA1(random||message) instead of SHA1(message) ) which would boost the signature security to that of HMAC.
- orblivion 12y agoUnderstanding that this is a naive outsider perspective, I find it strange that it's any sort of emergency when a single collision has yet to be produced. And then, does the latest hash collision attack allow you to make a collision with a _specific_ target or just make a collision in general? Finally, even if you hit the target with some junk that happens to hash to the same thing, is it going to be in correct file format, and within an acceptable size? It seems like there are a handful of hurdles for the bad guys to go over before we're in danger. I know crypto is not to be taken lightly, and I'm glad people would rather be safe than sorry, and I'll avoid SHA-1 in my own personal security use (`sha256sum` is sha-2 right?). I'm just curious.
- paulannesley 12y ago> when a single collision has yet to be produced No collisions published to the public doesn't mean no collisions have been found. As the article says; “we should assume that the worst vulnerabilities go undisclosed.”
- PeterisP 12y agoThe point is that currently producing a single collision may cost a couple million dollars of brute force for now. So we should expect it to be used (there are attacks where that much money is invested, either a very valuable target or very many low-value targets), but we should expect to see one only after a highly targeted attack is detected and analyized - in the case of Flame, those steps took a few years. Some government agency MITM'ing major social sites or email providers would be rather possible at that cost.
- spatz 12y agoWhen a collision is produced it will be too late. The time to act is before that happens.
- orblivion 12y agoI guess that's the surprising part. I figured that that's just the first hurdle, there's still the file length and format.
- vtlynch 12y agoThis article is amazing! I work in the SSL industry and this is a huge help in summarizing exactly whats going on. @konklone, have you followed the CAB Forum's mailing on this topic? Its the most I've seen them argue in well over a year.
- konklone 12y agoI have, it's one of the links in there. I truly loved reading that discussion.
- sbierwagen 12y agoAn unrelated annoying thing: I want to disable TLSv1 support for my site, for obvious reasons. I don't care about backwards compatibility for my personal site, but I still can't flip the switch... because Googlebot doesn't support anything newer than TLSv1.
- ankit428 12y agoIronically, www.google.com - Itself is using SHA-1 :)
- ankit428 12y agoIronically, www.google.com itself is using SHA-1 Ref: https://shaaaaaaaaaaaaa.com/check/www.google.com https://shaaaaaaaaaaaaa.com/check/www.google.com
- jrochkind1 12y agoThank you google. I'm a developer, but I'm not responsible for SSL cert acquisition. The ONLY way I can get the people responsible for that to stop using SHA-1, is to tell them that user's browsers are sending a warning/error message on it. I will eagerly await Chrome doing that.
- brongondwana 12y ago"SHA1 and other hash algorithms generate a digital fingerprint that in theory is unique for each different file or text input they sign." ... and there it goes, any credibility I would give the author. There's dumbing down the content for a non-technical audience, and there's not understanding.
- blibble 12y agowhat's wrong with that statement exactly?
- waitwhat 12y agomaybe the use of "sign"?
- silentOpen 12y agoTwo things: 1. Hashes don't "sign" things (not directly anyway) 2. Hashes aren't unique in theory or practice (using a 256-bit hash on every 257-bit number will generate 2^256 collisions by the pigeonhole principle).
- Retric 12y agoHigh quality hashes are unique in practice. Suppose every person generates 1 billion files a second * 7 billion people * 1,000 years = ~3x10 ^ 28 call it 10^29. For a collusion among non identical files using a good 256 bit hash you get ~1/(2^256) * (10^29) * (10^29) = ~1/(2^198). Or 1 chance in ~4 * 10 ^ 59 of finding even one collision.
- nly 12y agoYour math is off a bit[0][1] but you're right, it's a vanishingly small probability of a single collision. This is fairly academic though, when you're talking about an adversary exploiting weaknesses in the algorithm itself, and not a perfect PRF. [0] http://preshing.com/20110504/hash-collision-probabilities/ http://preshing.com/20110504/hash-collision-probabilities/ [1] http://www.wolframalpha.com/input/?i=%281+billion+*+7+billion+per+second+*+1000+years%29^2+%2F+%282+*+2^256%29 http://www.wolframalpha.com/input/?i=%281+billion+*+7+billio...
- maxtaco 12y agoSHA1 is the only supported hash algorithm for PGP key fingerprints.
- bjornsing 12y agoI'm not saying the conclusion is wrong, but the reasoning likely is: there's a huge difference between a collision attack and a so-called second pre-image attack [1]. To impersonate a website protected with an SHA-1 certificate you'd have to mount the second kind. > Walker's estimate suggested then that a SHA-1 collision would cost $2M in 2012, $700K in 2015, $173K in 2018, and $43K in 2021. If you adjust those cost estimates for the fact that a second pre-image is needed they look more something like this: An SHA-1 second pre-image attack (needed to e.g. impersonate an SSL protected website) would likely cost about 10^26 USD in 2021... By comparison world GDP is only about 10^14 USD. Better safe than sorry though. :) 1. https://www.ietf.org/mail-archive/web/pkix/current/msg30395.html https://www.ietf.org/mail-archive/web/pkix/current/msg30395....
- blueking 12y agoAnother PR stunt Google ? No that wont work.
- hevsuit 12y agoOne would think it would have been a good opportunity to change to SHA-2 after Heartbleed, since most websites had to get reissued certificates anyway. Since this process is a pain in the * then one could have killed two birds with one stone at the time. Alas
- konklone 12y agoIn fact, Heartbleed helped a lot: http://news.netcraft.com/archives/2014/05/05/sha-2-very-cryptographic-so-secure-such-growth-wow.html http://news.netcraft.com/archives/2014/05/05/sha-2-very-cryp... But there's a long way to go.
- foomen 12y agoOr cut to the chase and just deploy DANE, so that we don't need CAs to sign anything? http://en.wikipedia.org/wiki/DNS-based_Authentication_of_Named_Entities http://en.wikipedia.org/wiki/DNS-based_Authentication_of_Nam...
- dennisgorelik 12y agoWhat does stop Google Chrome simply disallow new SHA-1 hashes that collide with known list of SHA-1 hashes for existing certificates? That would allow non-colliding SHA-1 certificates function as usual and prevent millions of people from major headaches related to speedy certificate migration.