News for hackers. Stuff that matters.
Re:MacOS command line version of the WireGuard VPN is now av... by tptacek on Thursday May 17, 2018 @01:12PM (#17093215)
There's a growing consensus among cryptography engineers (by no means all of them, but a pretty significant set of them) that cryptographic agility in protocols is a design mistake.

That doesn't mean that we should assume modern primitives and constructions are unbreakable (though the trend has been for protocol designers to seriously overestimate the likelihood of _any_ primitive being broken).

What it means is that instead of designing and implementing elaborate handshake mechanisms, which inevitably succumb to downgrade attack bugs or, often, worse things, we should version entire protocols.

So obviously, if the ChaPoly stack is broken at some point, people will need to update WireGuard (just like they update OpenVPN when TLS bugs are discovered). But they protocol doesn't need to account for anything more than the fact that it might someday be replaced with a different protocol using different primitives.

The "agility" protocol designers are looking for has probably, historically, been implemented at the wrong layer. As usual, the closer something is to policy or prognostication, the further up the stack it should go. TLS bakes this stuff into the transport layer, which has hamstrung us and, ironically, not actually done much to protect us against vulnerabilities. WireGuard makes a different, better decision.

There's no tradeoff here; this decision is by itself a reason to adopt WireGuard.

Re:MacOS command line version of the WireGuard VPN is now av... by JoachimS on Thursday May 17, 2018 @01:49PM (#17093604)
"There's a growing consensus among cryptography engineers (by no means all of them, but a pretty significant set of them) that cryptographic agility in protocols is a design mistake."

And yet in 2018 we have proposals like this: https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp...

To me it looks enormously over engineered with options, versions and flexibility everywhere.

Re:MacOS command line version of the WireGuard VPN is now av... by tptacek on Thursday May 17, 2018 @02:30PM (#17094034)
There's an even growinger consensus among cryptographers that IETF cryptography standardization is a disaster, even with smart people chairing the WGs. It's just a bad process.