|
|
|
|
|
by erichocean
15 days ago
|
|
KRACK relies on nonce reuse, which as the word "nonce" implies, is something that you must not do. Any formal specification that doesn't include the invariant about a nonce not being reused isn't worth anything at all. So yes, incompetent people can design insecure specs that fail to state even the most basic security properties we know of. |
|
WPA2 wasn't designed by a single individual. It was designed by a committee of people including respected cryptographers and information security folks. They missed the fact that nonces could be re-used in the design, and they trusted the formal specifications that lacked a check on nonce re-use. It happens. Unfortunately, formal specifications tend to trap folks into a sense of complacency. Soundness is a hard problem, and if it's not solved, folks will make bad assumptions. "But, it's been formally verified..."
Could LLMs accelerate tactics and Curry-Howard level hole filling of specifications? Absolutely. But, they aren't likely to do much better than humans at building sound specifications. This is a difficult problem, for experienced humans with a narrow specialization in formal methods.