Bitcoin Forum

Other => Beginners & Help => Topic started by: oinkie on April 01, 2013, 08:27:59 PM



Title: Brain Wallet usage
Post by: oinkie on April 01, 2013, 08:27:59 PM
n00b here. Can anyone tell me this is a correct and secure way of working with a brain wallet?

1. Create a wallet labelled 'Daily use' on blockchain.info
2. Download a Linux live cd, boot into it and navigate to brainwallet.org and download the page.
3. Disconnect from the Internet and open the downloaded brainwallet.org page
4. Enter a very unique & personal passphrase no one else would ever think of. Copy paste the generated public key to a txt file and store it on the hdd of the pc.
5. Reboot to 'normal' operating system. Navigate to blockchain.info and log in wallet.
6. Go to 'Import/Export' and add a 'read only bitcoin address' and enter the public key from the text file (stored in step 4). Label this wallet as 'Savings'.
7. Do some trading and send a few bitcoins on the 'daily use' account. When the amount of BTC's on the 'daily use' account becomes too big, send some bitcoins to the 'Savings' account.
8. When I want to 'cash out' everything from the savings account: generate the private key again on brainwallet.org (offline in a live cd environment?) and import it in blockchain.info wallet. Then send all bitcoins to mt gox and create a sell order for them

Does this sounds like a plan?
Is it no problem to send different amounts of BTC in different transactions over time to the savings account that was generated with the 'brainwallet.org' website?

Thanks for the help!


Title: Re: Brain Wallet usage
Post by: dayfall on April 01, 2013, 08:37:31 PM
That looks good to me.  I would like to know how easy is it to use brainwallet.org/#tx to create transactions without having to expose the private key to the network.  That way you don't have to recreate the brainwallet.


Title: Re: Brain Wallet usage
Post by: nwbitcoin on April 01, 2013, 08:41:50 PM
The danger of a brain wallet is using a phrase that has an element of popular to it.
If it's something someone else has, you could end up sharing wallets!

In theory anyway! :)


Title: Re: Brain Wallet usage
Post by: oinkie on April 01, 2013, 08:50:16 PM
The danger of a brain wallet is using a phrase that has an element of popular to it.
If it's something someone else has, you could end up sharing wallets!

In theory anyway! :)

I realize that, but I think it's not that hard to make your pass phrase that personal so no one else would ever enter that same passphrase.
I wonder how the generation of addresses work anyway. Isn't there a chance that the very same public & private key are generated twice?


Title: Re: Brain Wallet usage
Post by: DannyHamilton on April 02, 2013, 02:29:14 AM
The danger of a brain wallet is using a phrase that has an element of popular to it.
If it's something someone else has, you could end up sharing wallets!

In theory anyway! :)

I realize that, but I think it's not that hard to make your pass phrase that personal so no one else would ever enter that same passphrase.
I wonder how the generation of addresses work anyway. Isn't there a chance that the very same public & private key are generated twice?

It is unlikely that the same private key will be generated from a different passphrase.  So unlikely that you can consider it practically impossible.

The larger risk is that someone who knows a lot about you might figure out your passphrase if you make it too personal, and someone might accidentally use the same passphrase if you don't make it personal enough.  Truly random is more secure, but it quickly becomes impossible to remember (making it useless as a "brain" wallet).


Title: Re: Brain Wallet usage
Post by: virtualmaster on April 02, 2013, 07:02:15 AM
Brain-wallet can be easier broken than stored wallet because all attacker can try to knack all brain-wallets in the same time.
To defend yourself against this coordinated attack your pass-phrase should have additionally to your secret password an individual component which is unique for you(for ex. your email address).


Title: Re: Brain Wallet usage
Post by: odolvlobo on April 02, 2013, 07:49:51 AM
While the risk of someone coming up with the same key is significant, the real danger is that a brain wallet is much easier to crack than a random bitcoin address. A typical desktop computer can generate and check a million keys a second.

For example, some number of people in the world will use obscure phrases from Shakespeare to create their keys. The complete works of Shakespeare consists of about 900,000 words, so there are about 9 million possible phrases of 1 to 10 words. Their money will be stolen in 9 seconds.

Some people will use their home address to generate the key. Assuming that there are maybe 200 million home addresses in the U.S., it will take about three minutes to steal all of their money.

What about a key made from 5 random words? Well, first of all, the words won't be completely random because they must be memorable. Most people will probably chose from a list of less than 1000 words. That's 1,000,000,000,000,000 possible 5-word phrases. That's a huge number, but at 1 million keys per second, the entire list of 5-word phrases can be searched in 31 years by a single computer, or 11 days by a botnet of 1000 computers. If this is how you generate your brain wallet, consider your money stolen.


Title: Re: Brain Wallet usage
Post by: virtualmaster on April 02, 2013, 08:20:43 AM
Unfortunately there is no secure brain wallet generator at the moment and you need to have a very long pass-phrase.
If you cannot remember the pass-phrase and you must write down then it is not any more a brain wallet.
When somebody would implement a skrypt based brain wallet password creator with generation time above 10 s then it would be a great step and a short password would be enough.
May be the next brain wallet of Casascius will implement it.