News for hackers. Stuff that matters.
Re:Google confirms Java and OpenSSL crypto PRNG on Android a... by dekz on Thursday August 15, 2013 @12:58AM (#6216246)
> Some SecureRandom Thoughts

I feel like the author of the post isn't giving this the severity that it deserves. The title makes it sound like a thought experiment, here is an example where the original title is (let's face it) shit and the editorial title here is relevant.

Re:Google confirms Java and OpenSSL crypto PRNG on Android a... by healsjnr1 on Thursday August 15, 2013 @01:15AM (#6216291)
Agreed. The whole thing is a bit blase.

Also, anyone else find it concerning that they advocate presenting /dev/urandom as SHA1-PRNG when it isn't? I don't even see why they did this? They could have wrapped the default SecureRandom and forced it to seed bytes with /dev/urandom.

Also, why are they writing to /dev/urandom??

Re:Google confirms Java and OpenSSL crypto PRNG on Android a... by tptacek on Thursday August 15, 2013 @01:36AM (#6216332)
Presumably because some Android devices don't boot cold with a lot of entropy, so there's a virtue in helping kickstart it.
Re:Google confirms Java and OpenSSL crypto PRNG on Android a... by taspeotis on Thursday August 15, 2013 @01:45AM (#6216347)
I'm a layperson when it comes to cryptography. Can you clarify how much entropy a device would need to become cryptographically secure, and the profile of an Android device that couldn't collect enough entropy quickly? E.g. most devices could collect battery %, 3G radio noise levels, wifi noise, readings from the capacitive touch sensors, accelerometer, microphone etc., yes?
Re:Google confirms Java and OpenSSL crypto PRNG on Android a... by marshray on Thursday August 15, 2013 @04:33AM (#6216725)
> Can you clarify how much entropy a device would need to become cryptographically secure

200 bits.

Re:Google confirms Java and OpenSSL crypto PRNG on Android a... by healsjnr1 on Thursday August 15, 2013 @06:53PM (#6221108)
There is no magic number needed to make a device "cryptographically secure". It depends entirely on the operations being performed.

In general if you generating Keys, the DRBG or PRNG used in key generation needs to be seeded with entropy equal to the security strength of the key.

For example: If you are generating 128 bit AES keys, the DRBG needs to be seeded with at least 128 bits of entropy. If you generating 2048 bit RSA keys you'll need 112 bits of entropy.

Re:Google confirms Java and OpenSSL crypto PRNG on Android a... by logn on Thursday August 15, 2013 @02:19AM (#6216421)
1.21 gigawatts!