by tptacek · 10y ago · 0 comments
Negotiation is the most dangerous feature in cryptography. Nobody has ever gotten it right (I mean that literally).
Therefore, in the same sense as Dan Bernstein used to have a design goal of "don't parse", "don't negotiate".
Instead of having protocols that negotiate features, we should have protocols that have simple versions, and the only negotiation that should ever occur is "is this protocol in the set of allowable versions for my local policy".
If a version gets something wrong, like using implicit IVs for CBC, or using a hilariously broken cipher like RC4, the whole protocol should version. RC4 should take you from TLS 1 to TLS 2. Lucky13 should take you from TLS 2 to TLS 3. Want to switch everyone to ChaCha/Poly? TLS 4 it is.
I think it'd have a shot at being better than we've got now. And frankly, better than what TLS 1.3 is doing.
What if something was deployed with (SHA256 P-256 ECDHE-ECDSA-AES128-GCM), which Google promised to support for a long time, and now people want to switch to djb-blessed X25519-Ed25519-AES256-GCM, will the older ciphersuite be an old protocol version that everyone keeps supporting for >10 years?
Slap some crypto-currency payments on the risks you expose via APIs and charge for the risk.