Microsoft ‘Mortally Wounds’ SHA-1
blog.gerv.net
blog.gerv.net
If you solve one of these, don't send the transaction to a miner for inclusion in the blockchain, or they'll steal your reward!
Or is the assumption that anyone who is able to solve the puzzle will also be able to mine any and all blocks instantly?
And why couldn't you re-steal the award back again?
I'm curious about this "instructions for speeding up all sorts of crypto algorithms" proposal -- how would you do that, given that crypto algorithms tend to have a wide variety of implementations and a wide variety of mathematical underpinnings? Do you want instructions that speed up all sorts of math?
I certainly also buy that the Intel GCM acceleration functions are useful.
The point: the ratios 14/1.68 and 7/0.79 are quite similar.
PS: The performance of PCLMULQDQ was vastly improved in Haswell, and I believe AES-GCM in there runs at something like 1.5cpb. However, the vector size of Haswell also doubles to 256 bits, which would also improve an hypothetical bitsliced AES-GCM implementation. Hard to say what that speed would be, so I won't try to compare things in Haswell.
[1] https://crypto.stanford.edu/RealWorldCrypto/slides/gueron.pd...
STOP REQUIRING DATABASE CONNECTIONS TO SERVE STATIC CONTENT!
Also, I imagine that people are still generating SHA-1 certs out of a (possibly misguided) sense of remaining compatible with old devices. Anyone know what impact this might have?
Really the problem is just that the security industry moves very slowly, and when it does it lurches forward unpredictably because of the sudden release of a viable attack. As Microsoft suggests, a preimage attack could debilitate online security and would force a much more haphazard (and risky) move to new certificates. I expect >99% of web-browsing computers support SHA-2 these days, so there's no reason to allow the CA industry to continue limping along.
So, ironically, it's Microsoft that will force the industry to move forward for once.
Without doing this in a total way, they wouldn't be able to do it at all. Now all the internal Microsoft fiefdoms will have to comply.
Of course, this is one of those cases where I'd imagine that MS's approach to protecting backwards compat will mean nothing but a warning thrown when you reference the old lib, and any new libraries sport a completely different API making them unsuitable as a drop-in replacement. MS protects compatibility religiously while simultaneously applying a Not Invented Here mentality to code that actually was Invented Here.
http://msdn.microsoft.com/en-us/library/9tsc5d0z(v=vs.110).a...
The second parameter is the digest algorithm.
Edit: Here is a link to the golang implementation http://golang.org/pkg/crypto/rsa/#DecryptOAEP It takes a hash as the first param Here is the C# counterpart http://msdn.microsoft.com/en-us/library/system.security.cryp... It does not take in a hash function though I believe you can modify how it works although I never tried to.
I wasn't referring to explicitly signing the data.
Isn't revving SHA kind of a triviality compared to all the other things Microsoft and other big guys use their market position to force through?
In this case, the change should actually benefit the community. Again, they can compel people to listen but I sort of get the impression that they're expecting people to be happy about the change. Indeed, I'm not going to complain too loudly especially as none of my certificates have a far enough out expiry to be affected.
I suppose my point is that even if you think everyone will be pleased at a change you're making, if you want people to be happy you should probably check with them before acting.
In tech frequently a benevolent dictatorship is the only way to get things done. They could take this through the IETF or ICANN or something but they'd spend 5 years listening to people prattle on about edge cases while SHA-1 becomes progressively less secure. I worked with airlines for a number of years and the amount of effort spent trying to keep old devices alive on their networks FAR exceeds what it would've cost to just upgrade the devices.
Why not have a later cut-off for certificates that were issued before, say, 1st January 2014? That way the CAs after January will know not to sign SHA-1 based certificates which will expire in or after 2016, but current long-life certificates (which aren't selfies anyway) will still be OK
Also, microsoft.com seems to be using a certificate which uses MD5...
Edit: Here's the full data. ~99%:
mysql> SELECT `Signature Algorithm`, count(*) FROM valid_certs GROUP BY `Signature Algorithm`;
+--------------------------+----------+
| Signature Algorithm | count(*) |
+--------------------------+----------+
| md2WithRSAEncryption | 4 |
| md5WithRSAEncryption | 13942 |
| sha1WithRSA | 3 |
| sha1WithRSAEncryption | 1441335 |
| sha256WithRSAEncryption | 106 |
| sha512WithRSAEncryption | 1 |
+--------------------------+----------+
[1] https://www.eff.org/files/ccc2010.pdfIt's not usual for Microsoft to be a first mover in cases like these, as far as I can remember?
Also, is there a source on *.microsoft.com for this announcement?
The relative urgency around this cutoff comes off as panick-y to me. They never seemed to bother updating roots or add SNI support for older, still supported OSes like WinXP.
Mozilla announced waay back at the end of 2010 that it will phase out support for certs using MD5 and 1024 bit keys:
https://wiki.mozilla.org/CA:MD5and1024
We are at the end of the phase out (last deadline is end of 2013) Mozilla will still accept SHA-1, but recommends against it. I would not be surprised however if Moz supported MS in their effort.
MS has a history of helping out its buddies in the certificate troll mafia. This seems like it kind of fits in that category.
I agree that CA compromise is a serious problem, but it's not one Microsoft can do something about. They can ban SHA-1 in certificates, and I think it's a good idea.
[1] http://www.phreedom.org/research/rogue-ca/
[2] https://www.schneier.com/blog/archives/2012/10/when_will_we_...
Verifying the integrity of the source code of e.g. the Linux kernel is pretty security-critical.
I mean it is only windows affected.
And I bet browsers other than IE will work.
Somewhat more relevantly, CAs that don't have any customers who have any Windows users they care about aren't affected. That's probably closer to zero.
No end-to-end security = no security.