Live data from Hacker News

OpenSSL Security Advisory [7th February 2023]

openssl.org

21–30 of 54 posts

Re: OpenSSL Security Advisory [7th February 2023]

#25

A reminder that LibreSSL exists and has a fraction of the problems OpenSSL does. https://www.libressl.org/

I love LibreSSL and what they represent, but neither LibreSSL nor BoringSSL target all platforms or compatibility with OpenSSL, which can be a bit of a challenge ... and I don't think LibreSSL is likely to have FIPS certification.

At the AWS cryptography group, we've open-sourced our libcrypto - https://github.com/awslabs/aws-lc - which essentially tries to use the best from Google's BoringSSL, OpenSSL (from 1.1x , not 3.x) , our own code, and formal verification and does target a broad set of platforms and is our FIPS module.

We're at about 95% OpenSSL compatibility right now, it "just works" for a lot of applications, and I expect we'll get near-full compatibility this year as we switch more and more of our own systems to using it internally.

We don't promote it broadly, and it's not intended to compete with OpenSSL - but it's a may be an interesting option for some to consider.

Re: OpenSSL Security Advisory [7th February 2023]

#26

A reminder that LibreSSL exists and has a fraction of the problems OpenSSL does. https://www.libressl.org/

> A reminder that LibreSSL exists and has a fraction of the problems OpenSSL does.

Ahem. Cough.

Maybe I should leave this little link here for a patch published today ?

https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/018_x...

Re: OpenSSL Security Advisory [7th February 2023]

#27
This seems relevant:

Future of Memory Safety Challenges and Recommendations https://advocacy.consumerreports.org/wp-content/uploads/2023...

""" Case Studies 1. The Python cryptographic authority is one of the most widely used cryptography libraries in the Python ecosystem. Many of the tools are largely built on OpenSSL. The popular cryptography library is written in C. About two years ago, the maintainers started the process of migrating some of their dependence on OpenSSL away from that to their own Rust code, particularly starting with areas around certificate parsing and parsing of other structures. These are some of the most classical places to find memory safety vulnerabilities in C libraries, and they wanted to mitigate the risk that they were having by relying on OpenSSL.

Another benefit was getting huge performance improvements, because the greater safety guarantees they were getting from the language allowed them to be more aggressive in doing things like not copying memory. Specifically, the safety guarantees of Rust mean that one can easily represent structures like X.509 certificates as an array of bytes, and then a parsed structure containing pointers into the original array. ... """

Re: OpenSSL Security Advisory [7th February 2023]

#28
post #7

Earlier quoted context omitted.

2 year was frequently the length of ssl certificates (they’ve since dropped to 1 year) Or maybe it’s a coincidence.

It was never 2 years as it's not 1 year now. It's specified in days (397 currently, 825 and 1185 days before).

For a long time it was months. The original BRs say 60 months (ie 5 years) and then moving to 39 months in 2015. That 1185 days you listed wasn't ever actually in a written document, it's how Chromium browsers generously estimate 39 months.

But yes, none of it matters any more. Apple insisted on 398 days, they decided it is a compliance issue, so all legit leaf certificates in the Web PKI that haven't expired have a maximum lifespan of 398 days.

People tend to think about it as a year or two years because the way a for-profit CA used these limits was to sell annual certificates but allow early renewal without losing out. Say you bought a cert on June 10th 2022, this year as the end of May approaches you get an email (In reality use automation, please) saying hey, you should renew soon. You can pay up on 29th of May, you get a new certificate which expires on... June 10th 2024. They couldn't do that if the rules didn't allow enough extra days.

Re: OpenSSL Security Advisory [7th February 2023]

#29
post #27

This seems relevant: Future of Memory Safety Challenges and Recommendations https://advocacy.consumerreports.org/wp-content/uploads/2023... """ Case Studies 1. The Python cryptographic authority is one of the most widely used cryptography libraries in the Python ecosystem. Many of the tools are largely built on OpenSSL. The popular cryptography library is written in C. About two years ago, the maintainers started the…

[deleted]
Post reply on HN