|
|
Log in / Subscribe / Register

LibreSSL languishes on Linux

LibreSSL languishes on Linux

Posted Jan 5, 2021 6:17 UTC (Tue) by dannyobrien (subscriber, #25583)
Parent article: LibreSSL languishes on Linux

Where does GnuTLS sit in all of this? (I appreciate this is a tempting feedline for a snappy joke answer, but I’d love to know genuinely what those who work on these topics think of it.)


to post comments

LibreSSL languishes on Linux

Posted Jan 5, 2021 8:04 UTC (Tue) by flussence (guest, #85566) [Link] (2 responses)

In my experience, when there's a choice between OpenSSL and GnuTLS codepaths in software, the latter is significantly worse maintained. IIRC GnuTLS has openssl compatibility shims of its own just to avoid getting the short end of the stick.

LibreSSL languishes on Linux

Posted Jan 5, 2021 9:52 UTC (Tue) by ale2018 (subscriber, #128727) [Link]

Version 3 of GnuTLS was largely reworked. What version did you try?

Overall, GnuTLS API seem to me to be more consistent, which presumably allows the library to grow with less constraints.

LibreSSL languishes on Linux

Posted Jan 6, 2021 12:54 UTC (Wed) by ametlwn (subscriber, #10544) [Link]

> IIRC GnuTLS has openssl compatibility shims of its own just to avoid getting the short end of the stick.

The OpenSSL compatibility layer covers only a very small subset of the API. And it has stayed unchanged for a very long time, afaict it is in we-will-drop-it-if-it-breaks-status.

LibreSSL languishes on Linux

Posted Jan 5, 2021 8:06 UTC (Tue) by ncm (guest, #165) [Link] (1 responses)

Me too. Last I heard, maybe ten years ago? GnuTLS was ignoring specs where mildly inconvenient, e.g. IIRC failing to zero out the rest of a text field as required, relying on the terminating NUL from strcpy to get the rest of the field to be ignored. Did that ever get resolved?

Also curious about the condition of libnss.

And, what is this about openssl 2 and 3? All I have seen lately are 1.1.?.

LibreSSL languishes on Linux

Posted Jan 5, 2021 9:19 UTC (Tue) by joib (subscriber, #8541) [Link]

> And, what is this about openssl 2 and 3? All I have seen lately are 1.1.?.

1.1.1 is the latest release series. The next release is 3.0, which is still in development. For some reason they skipped 2.x.

https://www.openssl.org/policies/releasestrat.html

https://wiki.openssl.org/index.php/OpenSSL_3.0

LibreSSL languishes on Linux

Posted Jan 5, 2021 8:51 UTC (Tue) by mjg59 (subscriber, #23239) [Link]

Cryptographers I've spoken to don't hold GnuTLS in high regard (although tbf they largely don't hold OpenSSL in high regard either, but still above GnuTLS). OpenSSL has been much better studied than GnuTLS has, which for security critical code is a pretty strong distinguishing factor.

LibreSSL languishes on Linux

Posted Jan 5, 2021 13:23 UTC (Tue) by cortana (subscriber, #24596) [Link] (1 responses)

In the most recent Cryptographic Right Answers, one (group of) cryptographers simply has this to say:

Use AWS ALB/ELB or OpenSSL, with LetsEncrypt.

If you can pay AWS not to care about this problem, we recommend you do that.

Otherwise, there was a dark period between 2010 and 2016 where OpenSSL might not have been the right answer, but that time has passed. OpenSSL has gotten better, and, more importantly, OpenSSL is on-the-ball with vulnerability disclosure and response.

Using anything besides OpenSSL will drastically complicate your system for little, no, or even negative security benefit. So just keep it simple.

Speaking of simple: LetsEncrypt is free and automated. Set up a cron job to re-fetch certificates regularly, and test it.

Avoid: offbeat TLS libraries like PolarSSL, GnuTLS, and MatrixSSL.

Latacora recommendation 2018 not considering Mbed TLS

Posted Jan 5, 2021 15:43 UTC (Tue) by ber (subscriber, #2142) [Link]

Seems their recommendation update 2018 did not consider progress on https://en.wikipedia.org/wiki/Mbed_TLS since 2014, because that is the year where it was renamed from PolarSSL.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds