mulanderon Lobsters • Recommends
libtls: Rethinking the TLS/SSL API
Slides: https://www.openbsd.org/papers/linuxconfau2017-libtls/
5.5K subscribers • 4 videos on Hallway
Intermediate. Assumes working knowledge.
4K views9 years ago1 recommendation
SecuritySoftware designAPI designCryptographyWeb and application security
Joel Sing explains the design flaws of traditional OpenSSL APIs and how libtls provides a safer, more intuitive alternative.
Joel Sing linux.conf.au/schedule/presentation/27/ As anyone who has written code that implements a TLS client or server will know, many of the existing APIs (namely OpenSSL) are confusing, difficult to use and full of pitfalls for the unwary. Many security issues (and less serious bugs) are due to the mistakes made by human developers, while trying to navigate their way through the various function calls, return codes and missing functionality. libtls is a component of the [LibreSSL project](libressl.org/); a project that started as a fork of OpenSSL following the infamous [heartbleed](heartbleed.com/) incident. While the general goals for LibreSSL are to modernise the codebase, improve security, and apply best practice development processes, libtls aims to completely rethink the TLS API. This talk will cover some of the many issues with existing TLS/SSL APIs, prior to looking at how libtls has been designed to be different. The history of libtls will be discussed, before detailing the API development process that has been used, which has allowed the library to morph and improve over time. The set of rules that have been put in place to ensure that the API is as developer friendly as possible will be explained, followed by a discussion of the overall litmus test and proving ground that has been used during its design and development.What people say. Recommended as a great case study in API design and simplifying complex security interfaces.
mulanderon Lobsters • Recommends