3 ms·
A security audit may also miss subtle bugs, and the proposed corrections may introduce new bugs. A rewrite has the benefit that it will lead to manageable code
by marcosdumay 12y ago
A security audit may also miss subtle bugs, and the proposed corrections may introduce new bugs.
A rewrite has the benefit that it will lead to manageable code, instead of the current mess. Clean code has less places where subtle bug can hide, that does not change just because you are doing cryptography.
Anyway, they should send money to both. Both are important, and those companies make so much money using free software, they shouldn't be choosing the projects with that fine granularity. The problem is that they won't, and as much as kyledrake does not like the answer, it's because of Theo. Yes, it's a stupid decision, but it does not make it less real.
- tptacek 12y agoSince it is not in fact possible to wave a magic wand and get everyone to run LibreSSL, which isn't even complete, the virtues of auditing the OpenSSL codebase seem pretty straightforward to me. How much have you donated to open audit projects? I've donated a bit, and I would be pissed to find out that my money was redirected from an audit to a rewrite. I am not in the least bit interested in the Theo vs. Whoever drama subtext. This whole subthread strikes me as similar to any other thread about a charitable donation, where people come out of the woodwork to cast aspersions that money wasn't given to some worthier cause.
- kzrdude 12y agoThe vulnerabilities in OpenSSL seem to be symptoms of a wider problem, systemic problem, that comes from their project management. It seems appropriate to point out that auditing and fixing the details is just patching symptoms -- and that many think a longer-term solution is needed.
- tptacek 12y agoIn the context of a funded audit, this is about as meaningful to me as the complaint that OpenSSL is insecure because it's written in C --- which is also true.
- gonzo 12y agoConsider that OpenSSL is able to look at libressl and choose the good parts, preserving interoperability (.vs openbsd only). The reasons to fund the audit, and two full time devs, are clear.
- danudey 12y agoExcept that the 'good parts' of LibreSSL consist largely of two things: 1. Removing a ton of broken, obsolete, or poorly-designed code 2. Fixing bugs and incorporating fixes from the official OpenSSL bug tracker In short, the 'good parts' of LibreSSL are a team of people willing to devote significant time and effort to making the OpenSSL codebase secure, clean, portable, and trustworthy. That's something that the OpenSSL devs either didn't have the time or energy to do. As for interoperability: OpenBSD's process has always been to write a single core with a single target (OpenBSD) and then to have a separate team take care of platform-specific issues. This allows the team doing security work on LibreSSL/OpenSSH to focus on the results by writing a single implementation, and the porting team can spend their time porting that implementation to other platforms (rather than having someone implement functionality while trying to be aware of how each platform handles things). It's worked well for OpenSSH so far, so I don't see a problem with using the same pattern for LibreSSL.
- stevekemp 12y ago> How much have you donated to open audit projects? Personally I've never donated for auditing, but in my free time I do look at code myself. Today I had to install a proxy server, so I downloaded the source to Apache's traffic server. Within five minutes I'd decided that the code contained enough problems that I couldn't recommend using it. Now I've reported those bugs, and made a contribution..
- InclinedPlane 12y ago> Since it is not in fact possible to wave a magic wand and get everyone to run LibreSSL You say that, but it's not as though this is a fundamentally hard problem. How many servers are running nginx today vs. even a few years ago? Moreover, the biggest problem sits with the biggest, and often most capable, internet companies. So having a reasonable path for them to a more secure TLS implementation, even if it meant hand rolling their own packages or building from source, is potentially a big win for the internet in general. And, of course, eventually switching from openssl to libressl will become as easy as spending a couple minutes with a package manager. The fact is that this industry has a track record of keeping up to date technologically. This isn't some corporate IT in the industry gulag saddled with bullshit LoB apps that depend on IE6 in perpetuity. We're talking about the most capable and savvy tech companies in the world. If there's a better option to be had, it'll see high adoption rates.
- Xylakant 12y ago> You say that, but it's not as though this is a fundamentally hard problem. How many servers are running nginx today vs. even a few years ago? How many years did it take to get there? How many servers are still running apache? > And, of course, eventually switching from openssl to libressl will become as easy as spending a couple minutes with a package manager. Eventually, maybe. That's no reason not to audit openssl right now, that people cannot switch - especially the ones that use platforms that the OpenBSD team decided to remove support for.
- danudey 12y agoThe comparison isn't terribly apt; for example, LibreSSL's intention is to be a drop-in replacement for OpenSSL; if nginx were a drop-in replacement for Apache I suspect we would see a lot more people using it than there are now. As for auditing OpenSSL, the OpenBSD team has found so many problems, misdesigns, misfeatures, idiotic decisions, and bugs, that it seems a shame to repeat that work again. If I had to choose, I'd say give the OpenSSL name to the OpenBSD guys, let them take over the project officially, and let the folks behind the OpenSSL foundation handle things like platform-dependent code, FIPS compliance patches, etc.