10 ms·
OpenSSL 3.0 released; relicensed to Apache-2.0
- gatronicus 5y agoSince there were so many TLS security bugs due to it's complexity, is there any push to replace it with something simpler and with less choices and attack surface? Google gave us HTTP/2/3, but don't seem to care about fixing TLS.
- nemothekid 5y ago>Google gave us HTTP/2/3, but don't seem to care about fixing TLS. Google is working on BoringSSL / Tink, which I believe is API compatible, but supports a lot less features. However I think a better way forward might be RustTLS, an implementation which is memory-safe. There is already support in Curl[1], showing there is a path forward for usage in languages other than Rust. [1] https://daniel.haxx.se/blog/2021/02/09/curl-supports-rustls/ https://daniel.haxx.se/blog/2021/02/09/curl-supports-rustls/
- whydoyoucare 5y agoLibreSSL is an alternative from OpenBSD.
- mrb 5y agoTLS the protocol has been simplified in version 1.3, with the goal of reducing complexity to improve security. OpenSSL the implementation was forked a few times also with the goal of improving security. Notable forks: LibreSSL, BoringSSL. PS: for all those confused why OpenSSL skipped version 2, it seems it's because FIPS builds identified themselves as version 2 (thanks to poster below!) Also the changelog explains the new version naming scheme: """ Switch to a new version scheme using three numbers MAJOR.MINOR.PATCH. Major releases (indicated by incrementing the MAJOR release number) may introduce incompatible API/ABI changes. Minor releases (indicated by incrementing the MINOR release number) may introduce new features but retain API/ABI compatibility. Patch releases (indicated by incrementing the PATCH number) are intended for bug fixes and other improvements of existing features only (like improving performance or adding documentation) and retain API/ABI compatibility. """ Quoted from: https://www.openssl.org/news/changelog.html https://www.openssl.org/news/changelog.html So there won't be a 3.0.0a, 3.0.0b, etc. They want to make it clear it will be 3.0.1, 3.0.2, etc
- wolf550e 5y agoTLS 1.3 is much better than TLS 1.2, and has fewer options and knobs (e.g. no need to choose cipher suites), but it is not what a modern protocol designed from scratch would look like. For that you should look at WireGuard, or the general Noise Protocol Framework. For custom protocols, libsodium would be a popular modern approach. If you need compatibility with TLS, try locking down TLS to only version 1.3, or if you can't do that, lock it down to only TLS 1.2 with tls_ecdhe_rsa_with_aes_128_gcm_sha256.
- chasil 5y agoThis has been useful advice for many years, although restricting to AEAD is best when possible. https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/ https://hynek.me/articles/hardening-your-web-servers-ssl-cip...
- nwjsmith 5y agoGoogle employ at least one OpenSSL committer and have their own simpler version of the library, BoringSSL.
- jborean93 5y agoIIRC HTTP3/QUIC mandates TLS[1][2] so it itself still relies on TLS. It seems like it's set on TLS 1.3 as a baseline and I would hope the negotiation of the protocol is future compatible but I will admit I haven't fully read the RFCs. [1] https://datatracker.ietf.org/doc/html/rfc9000#section-1 https://datatracker.ietf.org/doc/html/rfc9000#section-1 [2] https://datatracker.ietf.org/doc/html/rfc9001 https://datatracker.ietf.org/doc/html/rfc9001
- kingforaday 5y agoI am surprised by the lack of corporate sponsors [1]. 1. https://www.openssl.org/support/acks.html https://www.openssl.org/support/acks.html
- kelnos 5y agoI'm not, sadly. It's pretty standard in our industry that companies will use a ton of open source software without giving back at all, or giving back many orders of magnitude less than they get.
- kingforaday 5y agoIt may be an awareness problem too. I know personally I've enjoyed having OpenSSL around and just became a GitHub sponsor (under same HN username).
- Teknoman117 5y agoReminds me of a tweet I saw: "the most consequential figures in the tech world are half guys like Steve Jobs and Bill Gates, and the other half are some guy named Ronald who maintains a tool called 'RUNK' which stands for 'Ronald's Universal Number Kounter' and handles math for every machine on Earth"
- no_time 5y agoReal life example of this is probably something like zlib[0]. Easily on billions of devices. https://zlib.net/ https://zlib.net/
- gtirloni 5y agohttps://www.openssl.org/community/thanks.html https://www.openssl.org/community/thanks.html "The following organizations who contribute staff time to work on the project (alphabetically): Akamai, Cryptsoft, Google, Oracle, Red Hat, Siemens, and Softing."
- MR4D 5y ago
- LeoPanthera 5y agoMaybe this is paranoid but they tell you how to check the hash of the download using openssl itself. A compromised version of openssl could detect itself and return the "correct" hash.
- beebmam 5y agoThis makes sense if you don't check a package's hash before you install it.
- CodeWriter23 5y agoOr if you have supply chain-hacked version installed by your Distro that grabs the hash from the download page.
- beebmam 5y agoUnbelievably too late at that point that it doesn't matter even the slightest
- j_walter 5y agoUse your current version of openssl...
- ronsor 5y ago... and if your current version of openssl is already compromised, nobody can help you anyway.
- manquer 5y agoThere are always components you cannot fully trust . Ken Thompson's reflections on trusting trust [1] comes to mind Trust depends on threat model, if your threat model includes such actors/potential attack vectors then you should worry, ultimately you are depending on someone code for any reasonable abstractions (even ignoring chip level comprises) [1] https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_ReflectionsonTrustingTrust.pdf https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...
- wbl 5y agoDo you enjoy perl constructed header files? VMS support? Inconsistent error codes across APIs? Then OpenSSL is for you. None of the problems have been fixed.
- ncann 5y agoReminds me of this classic: https://web.archive.org/web/20201224212934/https://www.peereboom.us/assl/assl/html/openssl.html https://web.archive.org/web/20201224212934/https://www.peere...
- seneca 5y agoDid they reject the PRs you sent implementing those updates?
- deleted 5y ago[deleted]
- skissane 5y ago> VMS support? Is it a bad thing to support OpenVMS, given it is still an actively maintained operating system? It isn't used anywhere near as much as it used to be, but it is still used. It has even been ported to x86-64.
- saurik 5y agoSome people (absolutely not me: I refuse to even work with such people) believe that supporting anything other than their computer is not just a waste of resources, but a bug.
- chasil 5y agoI actually have an account on a VAX VMS 7.3 system. I have an openssl binary there that I found. It is not linked against Multinet TCP, so none of the network functions work. It is occasionally handy, even given the library problem.
- stusmall 5y ago
- pengaru 5y agoThis is being discussed on the systemd-devel mailing list as well @ https://lists.freedesktop.org/archives/systemd-devel/2021-September/046869.html https://lists.freedesktop.org/archives/systemd-devel/2021-Se...
- dang 5y agoRecent and related: OpenSSL 3.0 - https://news.ycombinator.com/item?id=28443714 https://news.ycombinator.com/item?id=28443714 - Sept 2021 (54 comments)