<story><title>EverCrypt, a cryptographic library that is provably secure against known attacks</title><url>https://www.quantamagazine.org/how-the-evercrypt-library-creates-hacker-proof-cryptography-20190402/</url></story><parent_chain></parent_chain><comment><author>protz</author><text>Several comments note that the headline is perhaps a little misleading; I agree, and I don&amp;#x27;t think any of us (I&amp;#x27;m one of the cited people in the article) would&amp;#x27;ve made such a strong claim.&lt;p&gt;Ignoring for a moment the fact that this is an alpha release (and that as such, a handful of minor proofs, e.g. mundane facts related to endianness conversions, have yet to be completed), there are several limitations of our work.&lt;p&gt;- Our tools themselves are not verified, so there could be a bug in F&lt;i&gt;, z3, the kremlin F&lt;/i&gt;-to-C compiler; or a bug about the C compiler itself (unless one uses a constant-time fork of CompCert). We consider most of these to be theoretically unpleasant, but still an acceptable tradeoff.&lt;p&gt;- Specifications are extremely hard to get right: one might introduce a typo when reading an RFC, or, say, state an endianness conversion wrong. So, even before implementing an optimized version of anything, we audit and test the spec first. This is usually a good sanity check, but certainly not bulletproof (note that this is a general problem of software verification, not specific to us).&lt;p&gt;- As noted near the end of the article, our models do not account for Spectre and Meltdown; and there might be new classes of attacks that we can&amp;#x27;t guard against, for the simple reason that they haven&amp;#x27;t been found yet.&lt;p&gt;As to whether this is an attempt to get free security audits, I guess we weren&amp;#x27;t intentionally thinking of it! But we certainly would love it if people could test the code and give us feedback on what to improve to make this an even more compelling choice for whoever needs a good cryptographic library. I&amp;#x27;ve written a bit about this here: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;jonathan.protzenko.fr&amp;#x2F;2019&amp;#x2F;04&amp;#x2F;02&amp;#x2F;evercrypt-alpha1.html&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;jonathan.protzenko.fr&amp;#x2F;2019&amp;#x2F;04&amp;#x2F;02&amp;#x2F;evercrypt-alpha1.ht...&lt;/a&gt;</text></comment>
<story><title>EverCrypt, a cryptographic library that is provably secure against known attacks</title><url>https://www.quantamagazine.org/how-the-evercrypt-library-creates-hacker-proof-cryptography-20190402/</url></story><parent_chain></parent_chain><comment><author>woofcat</author><text>via: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;project-everest&amp;#x2F;hacl-star&amp;#x2F;blob&amp;#x2F;fstar-master&amp;#x2F;README.EverCrypt.md&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;project-everest&amp;#x2F;hacl-star&amp;#x2F;blob&amp;#x2F;fstar-mast...&lt;/a&gt;&lt;p&gt;&amp;gt;EverCrypt is a work in progress -- if you&amp;#x27;re seriously contemplating using this code is a real system, get in touch with us first!</text></comment>