62 points · by zdw · 5y ago · 26 comments
I think sometimes, sw dependencies like openssl are too dangerous. We should have people using Peter Gutmans crypto library, or Dan Bernstein. Glomming it all into openssl was not good.
I do stuff in rfc3779 which got baked into openssl and not having it in other libraries is a pain. We partly funded the baking, so I guess we own the consequence.
Do Windows and MacOS have their own libraries separate from OpenSSL? Do applications statically link OpenSSL? What library does Python use on Windows?
>Do Windows and MacOS have their own libraries separate from OpenSSL?
Yes, CAPI/CNG (general crypto) + SChannel (TLS).
>Do applications statically link OpenSSL?
If they want to. Linux-first programs often have a hard dependency on openssl rather than use pluggable crypto, so they include openssl in their installation package. Openssl can be compiled just fine for Windows after all.
>What library does Python use on Windows?
Python's ssl module uses openssl on all OSes.
~: sw_vers
ProductName: macOS
ProductVersion: 11.2.1
BuildVersion: 20D74
~: ssh -V
OpenSSH_8.1p1, LibreSSL 2.7.3I was using the Windows ones already in 2000, for IIS ISAPI certificate handling.
You only use something like OpenSSL directly when porting Linux/BSD software.
Gentoo as well and Alpine back in 2019.
Not knocking the distro, just not understanding the attention.
No one who knows what they're doing would boot off of someone else's live image, sans updates, and pretend to be secure, even if the live image was only days old.
Not to mention that the old live images worked fine on x86_64 hardware that was new to begin with, since x86_64 is extremely backwards-compatible.
But again, the most recent live image is literally days old.