Re:Consider LibreSSL as default OpenSSL provider again
by orra on Thursday November 18, 2021 @05:31PM
(#29271470)
> I'm a little bit amazed this hasn't caused even more stress than it has for cases like building V8/Chromium
Distros seem to have shifted towards using bundled libraries for browsers. In this case, Chromium uses BoringSSL.
It's too much effort to diverge from the upstream browsers. Besides, security teams for browsers tend to be better staffed than for distros.
Re:Consider LibreSSL as default OpenSSL provider again
by XorNot on Thursday November 18, 2021 @06:57PM
(#29272168)
Kind of wish we'd move TLS into the kernel at this point. Centralize the developer attention on it, and acknowledge that if the kernel is going to provide TCP sockets, it should provide all the tooling needed to secure those sockets as well.
It's not a perfectly logical argument, but kernels get patched and upgraded more often then almost any other software.
Re:Consider LibreSSL as default OpenSSL provider again
by wahern on Thursday November 18, 2021 @07:43PM
(#29272476)
Both FreeBSD (https://www.freebsd.org/cgi/man.cgi?query=ktls&sektion=4) and Linux (https://www.kernel.org/doc/html/latest/networking/tls.html) support kernel TLS. Though only for the bulk encryption. Stream initiation and certificate verification is too complex, with more regularly changing requirements and features. So most developers would still end up using an SSL library like OpenSSL to avoid having to directly use the more complex kernel interfaces and data processing dance on connection.
Re:Consider LibreSSL as default OpenSSL provider again
by XorNot on Friday November 19, 2021 @04:30AM
(#29275366)
Defining a common syscall interface for stream initiation and cert verification, and then implementing the logic as a Linux kernel module would be a decent compromise I think.
Re:Consider LibreSSL as default OpenSSL provider again
by klardotsh on Thursday November 18, 2021 @07:06PM
(#29272246)
This would probably work fairly well for desktop/server stuff, but I can only imagine the blast radius of this decision in Android devices with often limited at best OEM update support...
Re:Consider LibreSSL as default OpenSSL provider again
by arghwhat on Thursday November 18, 2021 @05:26PM
(#29271423)
That Alpine is trying again suggests that even multiple attempts at migrating away is ultimately less stressful than remaining on OpenSSL...
Re:Consider LibreSSL as default OpenSSL provider again
by R0b0t1 on Thursday November 18, 2021 @06:58PM
(#29272185)
There's people still trying on Gentoo, it's just not as easy as it immediately looks.
Void, for example, started on OpenSSL, moved to LibreSSL, and then moved back [1].
Gentoo has always been OpenSSL by default, had serious motion towards enabling LibreSSL as a first class citizen, and then backed out of that effort [2].
And now Alpine is looking at their second switch from OpenSSL to LibreSSL.
I'm a little bit amazed this hasn't caused even more stress than it has for cases like building V8/Chromium; this back and forth stuff is going to get hard to keep track of (for application developers, at least).
[1] https://voidlinux.org/news/2021/02/OpenSSL.html [2] https://www.gentoo.org/support/news-items/2021-01-05-libress...