News for hackers. Stuff that matters.
Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by LAMike on Sunday August 11, 2013 @01:58PM (#6195577)
this could be a big blow to Bitcoin adoption... Is this a part of Android that can't be touched by anyone but Gooogle? Or is it a piece of software that can be improved upon by open source devs?
Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by javert on Sunday August 11, 2013 @02:09PM (#6195611)
I don't think it's a very big deal.

For the most part, people who use bitcoin now are still very early adopters and are techies.

Also, IMHO, it would be idiotic to have significant bitcoin value stored on an Android phone, and very few people (if anyone) would do that.

Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by Buge on Sunday August 11, 2013 @02:19PM (#6195641)
People are saying it's a problem with Android's SecureRandom implementation. That would be a pretty big problem if it returns repeated random numbers.

But it seems strange that such a large obvious problem would make it into Android. The other explanation is that Android bitcoin developers are all implementing it incorrectly and either don't realize it or are trying to push the blame somewhere else.

Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by jadeddrag on Sunday August 11, 2013 @02:28PM (#6195679)
It is very likely that the bitcoin community would be the first to stumble onto a crypto bug in SecureRandom. Google should thank that community for their discovery.
Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by makomk on Sunday August 11, 2013 @06:53PM (#6196672)
Extremely likely, in this case. It looks like the way it was discovered is that various people have set up bots to take Bitcoins from transactions with repeated r values, and they took coins from Android Bitcoin clients that on paper were doing everything right.
Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by w0rd-driven on Sunday August 11, 2013 @02:36PM (#6195713)
This is the most likely scenario. While I don't know Java technically, .NET has a similar "vulnerability" if you use more than one RNG. It uses time to seed new values and the general rule is you use this as a singleton/static app-wide. If you don't do this, all your rng's share the exact same value.

It's really awkward to stumble into as all the evidence points to the framework but when you rtfm you realize no, its really pebkac.

I'm not saying this can't be a vulnerability in the framework, just this is the most likely scenario.

Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by Dylan16807 on Sunday August 11, 2013 @02:42PM (#6195746)
A secure random number generator wouldn't seed based on time in the first place, though.
Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by brazzy on Monday August 12, 2013 @05:46AM (#6198422)
Even Java's non-secure RNG doesn't do that (anymore):

public Random() { this(++seedUniquifier + System.nanoTime()); }

Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by vbuterin on Monday August 12, 2013 @05:07AM (#6198323)
> Also, IMHO, it would be idiotic to have significant bitcoin value stored on an Android phone, and very few people (if anyone) would do that.

Correct. The standard recommendation is to store significant savings in wallets that you use as little as possible (ideally offline).

Re:Android RNG Weakness Renders Bitcoin Wallets Insecure by nwh on Sunday August 11, 2013 @02:03PM (#6195590)
They can use /dev/random if they so choose.