Earlier quoted context omitted.
If by "crypto agility" one means "we should research diverse cryptographic primitives and constructions so that we can be ready if something we rely upon breaks", nobody disagrees with that. But that's not what Schneier means. What he says instead is that "it’s vital that our systems be able to easily swap in new algorithms when required". That approach has a virtually unbroken track record of failure. It demands neg…
Well i agree generally, if we are talking about these new, basically experimental, post quantum algorithms, i feel like the balance shifts a bit since they are still so new (on the other hand maybe using them is just premature at this point)
“Quantum-Safe” Crypto Hacked by 10-Year-Old PC
101–110 of 187 posts
Re: “Quantum-Safe” Crypto Hacked by 10-Year-Old PC
#102Can a quantum computer crack your encryption if it doesn't know the algorithm (ie. if you created it yourself and it is unknown to the outside world)?
Re: “Quantum-Safe” Crypto Hacked by 10-Year-Old PC
#103so the cynical view here would be that the backdoor was discovered before the algorithm could get widely deployed?
My super cynical view is that the whole genre of "quantum safe" cryptography is being promoted to try and encourage adoption of weak encryption... Its felt like FUD based on FUD for a while. Not that I really trust traditional encryption that much either. There wouldn't be so much effort going into bridging air gapped systems if even traditional encryption could be trusted... Hate making cynical comments tho, they al…
Re: “Quantum-Safe” Crypto Hacked by 10-Year-Old PC
#104Earlier quoted context omitted.
Doesn't every major cryptosystem have multiple ciphersuites, though? There's things like SSL, SSH and GPG, truecrypt, bitlocker, /etc/passwd, ntpsec - even git is trying to upgrade their hashes from SHA1 to something longer. There are only a handful of exceptions, like TOTP. Isn't it a must-have feature? Or has the feature become less important than it was 25 years ago when those protocols were being designed?
Yes, and every one of those major cryptosystems has been a debacle, in large part because of the negotiations imposed by ciphersuites. It is not a must-have feature; it's a feature cryptography engineering best practice is rapidly beginning to recognize as an anti-feature. See WireGuard for an example of the alternative: you version the whole protocol , and if some primitive you depend on has a break, you roll out a…
WireGuard is a great example of a product with cryptographic agility. https://www.wireguard.com/protocol
Cryptographic agility says nothing about "version the whole protocol".
Re: “Quantum-Safe” Crypto Hacked by 10-Year-Old PC
#105I initially read "Hacked by 10-Year-Old", as if a child hacked it.
Me too, lol
Re: “Quantum-Safe” Crypto Hacked by 10-Year-Old PC
#106Earlier quoted context omitted.
It’s pretty unlikely that sha2 will ever broken in a way which actually has a meaningful security impact to bitcoin, especially considering that almost every value in the system is sha2(sha2()) which nullifies a lot of attacks against hashes which need careful control of the input. Some newer tools in the system use a single hash (it’s unclear why a double one was used in the first place), but all the same it remains…
> especially considering that almost every value in the system is sha2(sha2()) Why does this give a meaningful improvement? Is this just security through obscurity? Presumably if this had significant benifits sha2 would have been defined this way to start with right? Or is it just that other users will be broken before this "double strong" version so that you have more warning? But isn't shaw defined as a number of r…
Re: “Quantum-Safe” Crypto Hacked by 10-Year-Old PC
#107Earlier quoted context omitted.
Probably both yes and no. As of right now bitcoin depends pretty heavily on SHA256 and with hash functions being quite important cryptography primitives, there's always ongoing work on breaking them (tremendous upside to anyone who can manage to break common ones), so it's pretty feasible that eventually it will be broken. (We've already seen the fall of MD5 and SHA-1 in recent-ish years) However, cryptocurrencies ar…
It’s pretty unlikely that sha2 will ever broken in a way which actually has a meaningful security impact to bitcoin, especially considering that almost every value in the system is sha2(sha2()) which nullifies a lot of attacks against hashes which need careful control of the input. Some newer tools in the system use a single hash (it’s unclear why a double one was used in the first place), but all the same it remains…
Other systems that use ECDSA don't have this problem because they rely on CAs and central authorities. For things like, say, the TLS PKI; if you miss the flag date to change ciphers you aren't forever locked out of your domain. Your site just goes down until you bother to upgrade your servers and rotate keys.
Is there any known/stated policy as to how to handle phasing out a signature algorithm in Bitcoin?
Re: “Quantum-Safe” Crypto Hacked by 10-Year-Old PC
#108Earlier quoted context omitted.
Yes, and every one of those major cryptosystems has been a debacle, in large part because of the negotiations imposed by ciphersuites. It is not a must-have feature; it's a feature cryptography engineering best practice is rapidly beginning to recognize as an anti-feature. See WireGuard for an example of the alternative: you version the whole protocol , and if some primitive you depend on has a break, you roll out a…
Cryptographic agility means to support multiple cryptographic primitives and to not be overly coupled to a single primitive. WireGuard is a great example of a product with cryptographic agility. https://www.wireguard.com/protocol Cryptographic agility says nothing about "version the whole protocol".
If you want to say "minimalist agility is good and you're just saying maximalist agility is bad", that's fine, we're just bickering about terms. But that's pretty obviously not what Schneier is talking about.
Re: “Quantum-Safe” Crypto Hacked by 10-Year-Old PC
#109SIKE... that's the wrong number!
Re: “Quantum-Safe” Crypto Hacked by 10-Year-Old PC
#110If you'd like to hear someone who can barely do long division† discuss this vulnerability with one of the leading isogeny cryptographer researchers and the world's most isogeny-enthusiastic cryptography engineer, have I got a podcast for you: https://securitycryptographywhatever.buzzsprout.com/1822302/... There's even a transcript, if you want to read things like: So I watched the, uh, I watched Costello's tutorial,…