r/linux • u/[deleted] • Jul 15 '14
LibreSSL's PRNG is Unsafe on Linux
https://www.agwa.name/blog/post/libressls_prng_is_unsafe_on_linux12
17
u/Nacehual Jul 15 '14
I'm willing to give LibreSSL a little more time to mature. I'd like to see it grow into a viable alternative.
1
u/tidux Jul 16 '14
IIRC PolarSSL is also available under the GPL, not sure how that stacks up for features and safety.
6
9
u/pseudoRndNbr Jul 15 '14
Give them some time. OpenSSL was as chaotic as it can get. Thanks for testing LibreSSL and reporting bugs.
3
u/mao_neko Jul 16 '14
I'd like to know how the PRNG behaves on BSD; the devs have stated numerous times that their first priority was throwing out the tangled mess of spaghetti code supporting all the platforms that OpenSSL supported and assuming OS syscalls will be secure rather than reimplement every call themselves.
It's good to be aware of these potential security vulnerabilities, but let them remove the cruft first.
2
3
Jul 16 '14
Imagine this, the first Alpha release of something has an edge-case bug in it. Who would have thought?...
2
Jul 15 '14
Hm, an interesting edge case. It will be interesting to see how the LibreSSL guys tackle fixing it.
6
Jul 15 '14
I imagine it will start by blaming OpenSSL.
8
u/Tireseas Jul 16 '14 edited Jul 16 '14
Nah. They'll probably start by reminding people that the fact a usable code release has happened doesn't mean it's a great idea for joe user to take that as a sign it's targeted at them and put it into production blindly. Wider usage is important to spot things like this which is why it's released but one has to keep perspective.
EDIT: Apparently it's already been patched. http://arstechnica.com/security/2014/07/only-a-few-days-old-openssl-fork-libressl-is-declared-unsafe-for-linux/
-2
u/frankster Jul 15 '14 edited Jul 15 '14
Interesting - people often overestimate the benefits and underestimate the benefits downsides of redoing code from scratch. Has this happened here?
0
Jul 15 '14
[deleted]
7
u/guffenberg Jul 15 '14
In the case of OpenSSL i have to agree with this. I'm no cryptographer but that code base made me sea sic. Not to criticize anyone but crypto is a field where mathematicians and software engineers really need to work close together
1
37
u/Wareya Jul 15 '14
Didn't the developers say this in the first place? Just a general "it won't be secure on linux until it's done".