LibreSSL with Bob Beck

Jason Tubnor6 HN recommenders · 2014–2025
25K views · talk · evergreen · Uploaded 2014-05-17

Bob Beck of OpenBSD describes the first month of LibreSSL, the fork aimed at cleaning up OpenSSL, including oddities found in the code base and why it was cleaned rather than audited cryptographically.

Frequently linked as an entertaining and alarming account of OpenSSL code quality and why the fork happened.

Watch on YouTube

19 comments from Hacker News

@protomyth2014 · in “BSDCan 2014 Videos”

The LibreSSL talk is funny and scary. [watch the other version one [VIDEO] so you can hear the other people and see the end]

RecommendsView on HN
@clarry2014 · in “OpenSSL, OpenSSH and NTP to receive support from Core Infrastructure Initiative”

Just in case someone missed it, here's video of the libressl talk to go with the linked slide(s). [VIDEO]

@forgottenpass2014 · in “OpenSSL, OpenSSH and NTP to receive support from Core Infrastructure Initiative”

I'd much rather have 1 really really good ssl library that everyone uses instead of 2 so-so ones. That's reasonable, but those aren't the options at play here. Not only because GnuTLS is already a thing, but the chances of OpenSSL becoming really really good are questionable. An OpenBSD guy gave a talk a few weeks back where he said that Heartbleed wasn't the reason for the split, it was the reason for digging into the code and realizing that OpenSSL under current leadership isn't capable of being a really really good option. [VIDEO]

@lomnakkus2014 · in “OpenSSL, OpenSSH and NTP to receive support from Core Infrastructure Initiative”

"just fixing the problems in openssl." That's what libressl is about. If you're in any doubt, please see this talk: [VIDEO]

RecommendsView on HN
@simula672014 · in “OpenSSL, OpenSSH and NTP to receive support from Core Infrastructure Initiative”

From Beck's talk[1] they are not reviewing the cryptography code, merely cleaning up the programming. They admit they don't yet have cryptography experts reviewing if the algorithms/implementations are doing what they are supposed to be doing and that they are in fact secure. [1] [VIDEO]

@protomyth2014 · in “Pointers Gone Wild”

> Maybe I'm naieve, but I think perhaps the problems with OpenSSL had come to light a little bit sooner if all dangerous code had clearly been marked 'unsafe'. After listening to Bob Beck's talk[1], I think people did know how unsafe that code was but no one wanted to take a shot at fixing it until it all went bad. At 2:12 into the video (the Jon Snow slide), he explains why nobody looked (or admitted they looked)[2]. Code can be so bad in any language to discourage people from even attempting to figure out how it works. 1) [VIDEO] 2) quotes "Why did WE not look" & "It is your parents talking about how you got made horrible"

@x0x02014 · in “New Bug Found in Widely Used OpenSSL Encryption”

in the sense that it is utterly wrong, I suppose so... in reality, openssl appears to be a $1mm+/year for-profit fips consulting business [1] that appears to not care much about security, letting serious security issues sit in their bug tracker for years on end [1] [VIDEO]

CriticalView on HN
@x0x02014 · in “This is why software sucks”

to be blunt: openssl is a festering heap maintained by a bunch of hacks. They let critical security bugs sit in their queue for 4 years while they sat on them [1]. They also actively worked to disable automated testing with malloc tooling; while obviously that won't catch all bugs, every bit helps. Finally, it contained rafts of code that, bluntly, my boss would probably fire me for checking in. [1] [VIDEO]

CriticalView on HN
@teamhappy2015 · in “BoringSSL”

It does a lot of things it really shouldn't be doing. I recommend you watch Bob Beck's talk about LibreSSL[1] (Ted's there too). [1]: [VIDEO]

RecommendsView on HN
@protomyth2016 · in “Why OpenBSD Is Important to Me”

I meant my comment in the same spirit as a Southerner means "Bless your heart". I do believe Ted Unagnt's comment is included in the [VIDEO] LibrSSL first 30 days along with quite a lot of other oddities.

@gbrown_2016 · in “OpenSSL after Heartbleed”

> it was created as a direct response to Heartbleed The reason for the fork was not Heartbleed itself but the crazy memory allocation done behind the scenes. [VIDEO]

@protomyth2018 · in “Why Is SQLite Coded in C? (2017)”

Bob Beck during his LibreSSL talk had a good overview of what was thought of OpenSSL [VIDEO] "we are all guilty"

@protomyth2020 · in “What changed in OpenSSL after heartbleed”

Big-endian Support for AMD64 - the explanation from the person in the crowd is something of a horror story that I think a lot of have witnessed in various forms. [VIDEO]

@protomyth2021 · in “Replacements for existing software written in Rust”

I don't think anyone thought OpenSSL was good code even before Heartbleed. Bob Beck pointed that out in his LibreSSL talk [VIDEO]

@mrweasel2021 · in “OpenBSD: How it all started”

Bob Beck also covers this in his talk about the first 30 days of libreSSL. The entire talk is amazing, even 7 years later. [VIDEO]

Strongly recommendsView on HN
@Bayart2021 · in “U.S. telecoms are going to start physically removing Huawei gear”

The immediate effect of Heartbleed was the OpenBSD folk [1] and Google [2] forking OpenSSL. There's a talk from Bob Beck of OpenBSD on pruning OpenSSL, it's pretty hilarious [3]. In that case open source was at least able to react appropriately, even if it didn't act preemptively. [1]: [LINK] [2]: [LINK] [3]: [VIDEO]

RecommendsView on HN
@e12e2022 · in “Important PostgreSQL 14 update to avoid silent corruption of indexes”

> I've never seen a terrible huge C codebase libssl/openssl (before the rewrite/fixes especially)? Maybe doesn't qualify as huge? See eg: [VIDEO] "LibreSSL with Bob Beck" (the first 30 days)

@g0xA52A2A2023 · in “OpenSSL Security Advisory [7th February 2023]”

This exemplifies one of the key reasons OpenBSD forked OpenSSL. For those who haven't seen it I'd recommend this presentation from Bob Beck[1], around the 10 minute mark he recounts fixing issues in the memory allocator which had been reported 4 years prior. Seems there's still a similar backlog sitting behind embargoes? [1] [VIDEO]

RecommendsView on HN
@shagie2025 · in “Rubio stages font coup: Times New Roman ousts Calibri”

> And Comic Sans for letters sent to friends finishing design school, obviously. ... and libressl. [LINK] (and the talk - [VIDEO] )