Re:OpenBSD disables Heartbeat in libssl, questions IETF
by x0x0 on Thursday April 10, 2014 @05:25PM
(#7569839)
so -- would it be reasonable to create a minimal implementation of ssl focused on web browsers and web servers? How much work is it to create such a minimal implementation that is reasonably performant, written by competent devs, well tested, fuzzed, etc? Just because random shit gets thrown into the protocol that doesn't mean it needs to be implemented in my copy of chrome or nginx...
[ Parent
| on HN ]
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by antocv on Thursday April 10, 2014 @06:47PM
(#7570198)
Just go read polarssl docs and fuzz that.
Its small modular documented and tested.
We would all reach further by improving polarssl than starting another library.
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by x0x0 on Thursday April 10, 2014 @06:58PM
(#7570242)
unfortunately it's licensed gpl2, so no love. which is too bad because I agree.
https://github.com/polarssl/polarssl/blob/master/library/ssl...
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by throwaway7767 on Friday April 11, 2014 @10:50AM
(#7573157)
It's actually GPL-2+, but yes, this unfortunately limits the scope of outside contributors.
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by dangayle on Thursday April 10, 2014 @07:54PM
(#7570439)
Hmm. Why does it say Dual-Licensed in the description?
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by tptacek on Thursday April 10, 2014 @08:00PM
(#7570457)
Because you can also pay them for a commercial license.
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by antocv on Friday April 11, 2014 @06:03AM
(#7572043)
What is wrong with gpl v2?
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by mwcampbell on Thursday April 10, 2014 @05:47PM
(#7569931)
OpenSSL itself is highly configurable, so I think it would be better to pare it down to a minimal build that is both secure and compatible with all widely deployed TLS implementations.
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by midas007 on Friday April 11, 2014 @12:51AM
(#7571271)
I do this already on OSX, and even submitted a patch to allow Ruby to run without OpenSSL engine support. [0]
How I compile OpenSSL. [1]
[0] https://bugs.ruby-lang.org/issues/9714
[1]
( export CONFIGURE_OPTS='no-hw no-rdrand no-sctp no-md4 no-mdc2 no-rc4 no-fips no-engine' \
brew install https://gist.github.com/steakknife/8228264/raw/openssl.rb )
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by mwcampbell on Friday April 11, 2014 @11:14AM
(#7573327)
That looks like a good start, but can we drop even more? DES? Camellia? IDEA? MD5?
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by midas007 on Friday April 11, 2014 @02:22PM
(#7574541)
Good start my ass, you haven't actually tried any of your "suggestions," have you?
no-md5 doesn't currently work:
"_EVP_md5", referenced from ...
no-des doesn't currently work either, the following test fails the build: enveloped content test streaming S/MIME format, 3 recipients: generation error
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by x0x0 on Thursday April 10, 2014 @05:52PM
(#7569959)
ime, it's much harder to write, understand, test, and debug #include soup
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by midas007 on Friday April 11, 2014 @12:55AM
(#7571287)
Not really. There are only a handful of features that are necessary. Furthermore, JEOS-like minimal systems should only enable features that are absolutely necessary. Minimalism means a smaller attack surface.
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by jlgaddis on Thursday April 10, 2014 @09:38PM
(#7570786)
It's certainly not without its problems (see, e.g. news in the last few weeks) but GnuTLS is (in my opinion, of course) technically superior to OpenSSL. Unfortunately, its license will prevent more widespread adoption.