25 Feb 2021
Bulletproof TLS Newsletter is a free periodic newsletter bringing you commentary and news surrounding SSL/TLS and Internet PKI, designed to keep you informed about the latest developments in this space. Received monthly by more than 50,000 subscribers. Written by Hanno Böck.
The Rust programming language is gaining more popularity, and it increasingly affects cryptographic code as well. Rust’s main selling point is that the language provides many memory safety guarantees, making bugs like buffer overflows and use after free errors much less likely to happen (they can still happen in code specifically marked as “unsafe”).
Daniel Stenberg, the main developer of the curl HTTP library, recently announced support for a new curl TLS backend using rustls. Rustls itself is, as the name implies, a TLS library written in Rust. Curl is also working on adding a new backend based on Hyper, an HTTP library written in Rust.
Also recently, the ISRG (Internet Security Research Group) announced that it will support a Rust-based TLS module for the Apache web server, with funding coming from Google. This is part of a larger effort by Google and the Open Source Security Foundation to fund ports of critical pieces of open-source software into memory-safe languages.
Another project’s move to Rust, the cryptography package for Python, recently led to some hefty discussions as it means that some older platforms that lack a Rust compiler will no longer be supported. The cryptography project started reimplementing parts of its ASN1 parsing code in Rust. ASN1 parsers have often been affected by memory-safety vulnerabilities in the past.
With Rust getting more popular, this will also lead to more cryptographic and TLS code getting rewrites in Rust. Given that one of the most well-known TLS vulnerabilities of all time, the OpenSSL Heartbleed bug, was a memory-safety violation, this is not a surprising development.
This subscription is just for the newsletter; we won't send you anything else.
Designed by Ivan Ristić, the author of SSL Labs, Bulletproof TLS and PKI, and Hardenize, our course covers everything you need to know to deploy secure servers and encrypted web applications.
Remote and trainer-led, with small classes and a choice of timezones.
Join over 1,500 students who have benefited from more than a decade of deep TLS and PKI expertise.