3 ms·
Great project; I think that BoringSSL is more geared towards server applications. I think the major improvements here are: - improvements in how they handle lo
by MichaelMoser123 11y ago
Great project;
I think that BoringSSL is more geared towards server applications. I think the major improvements here are:
- improvements in how they handle locks and effort to avoid locks + use of thread local storage.
- better protocol test suites (adopted from GO SSL implementation)
- very good they threw out support for TLS renegotiation; nobody understands that, in addition it is always a big source of bugs.
i am not sure that a good quality non blocking native random number generator is available on all client platform (other than linux), interesting that they also try to use BoringSSL in chrome (maybe here it would have been better to use the old crypto number generator where you only have to bother about a good random seed values)
( BTW do they have the good /dev/urandom in android ? Here they say the android has just /dev/urandom - no /dev/random at all, so this seems to be general google policy at google.
http://security.stackexchange.com/questions/14669/how-to-select-dev-random-or-dev-urandom-in-the-code-in-android http://security.stackexchange.com/questions/14669/how-to-sel... )
- MichaelMoser123 11y agoNow apparently this paper http://accepted.100871.net/jni.pdf http://accepted.100871.net/jni.pdf ("Android Low Entropy Demystified" by Yu Ding, Zhuo Peng and Chao Zhang, from 2014) says that the android random number generator does not have a lot of entropy, this means it is not very secure (note to self: don't buy any stuff online from an android phone) Interesting if this insecurity of the phone OS is a feature or a design requirement ... However for use with Google's servers is all pretty much secure, this is certainly a design requirement.
- MichaelMoser123 11y agoi thought about it a bit : by putting the random number generator into /dev/urandom they can claim plausible deniability if the random numbers can be guessed (and you end up with a compromised session key). However that might also be unintended, not on purpose.