Questions tagged [libtls]

libtls is a high-level secure sockets API provided as part of the LibreSSL project

libtls provides an alternative, "idiot-proof" API for working with secure sockets. Instead of directly using the complex OpenSSL-compatible API underlying LibreSSL, libtls provides a much simpler API that comes with sane defaults and dramatically cuts down on the number of decisions developers have to make to create a secure connection.

The current, somewhat anemic documentation can be found on the LibreSSL project site.

Note that this tag should only be used for the high-level libtls API. For the core LibreSSL library, you will likely want to use libressl or openssl, depending on the context.

3 questions
0
votes
0 answers

Bazel build of libtls/gnutls?

I have a Bazel project that turns out to have been depending on LibTLS being installed on the build machine, which makes things non-hermetic. So I started down the path of trying to refactor things to have the project include gnutls in the explicit…
BCS
  • 67,242
  • 64
  • 175
  • 277
0
votes
0 answers

Mono 5.14.0 and TLS 1.2 "No such TLS Provider btls"

If I connect to an TLS 1.0 - 1.2 endpoint with a HttpClient and Mono 5.14.0 I get the exception "No such TLS Provider: btls." No such TLS Provider: `btls'. at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name,…
hdev
  • 5,399
  • 1
  • 41
  • 55
0
votes
1 answer

libtls: select() and tls_read() working together

I want to add an ssl support to an old chat application I wrote years ago. I did a lot of reading on OpenSSL and LibreSSL and I decided to try a new libtls API. I think developers did a really great job on this one. I found it to be very easy to use…