News for hackers. Stuff that matters.
Re:Edward Snowden: The Internet Is Broken by hnhnhn3 on Friday April 22, 2016 @07:27PM (#11553253)
Cryptol is a nice tool, but it can't eliminate most important crypto bugs (for example, the sorts of bugs found in OpenSSL). It's useful for proving things about bit-mixy crypto code like AES, SHA, etc, but that code rarely has bugs (due to known-answer tests).
Re:Edward Snowden: The Internet Is Broken by nickpsecurity on Friday April 22, 2016 @09:29PM (#11553682)
Well, it actually shouldn't introduce most of the bugs you find in OpenSSL. Plus, you don't use it alone. It works like this:

1. Cryptographers come up with the algorithms and protocols with their mathematical proofs applied to their properties.

2. Someone uses tools like CRYPTOL for algorithms or AnBx for protocols to generate the code.

http://www.dsi.unive.it/~modesti/anbx/

3. The code is run through visual inspections, static analysis tools like ASTREE or SPARK, tests, covert channel analysis, and so on. Modified if problems are found.

4. An optimizing version of a certified compiler like CompCert produces the object code.

5. It's distributed with public key cryptography and/or Merkle Signatures if people don't trust that. There's modern versions with efficient or unlimited signing.

6. Optionally, a subversion-resistant process builds the fist compiler and checkers in stages.

Re:Edward Snowden: The Internet Is Broken by hnhnhn3 on Friday April 22, 2016 @11:58PM (#11554098)
You can get a nice PLDI paper by following those steps!
Re:Edward Snowden: The Internet Is Broken by nickpsecurity on Saturday April 23, 2016 @12:15AM (#11554126)
Never looked into it. Will do.