A Smarter Way to Generate Brainwallet Key Pairs (x-post /r/BlackBank /r/themarketplace /r/darknetmarkets)

One of the main things most off us hate around here is having to use Javascript. Unfortunately, we are forced to use it for generating Private and Public keys for Multi-Sig Bitcoin wallets on TMP and BlackBank.

I hate generating these keys online (it feels unsafe) so I came up with a slightly altered alternative that allows you to generate and store keys you need offline, and use them later :)

This guide is from the perspective of a truly paranoid person.

Things you will need:

  1. A computer with access to the internet, and can be disconnected from the internet. (running tails is great too!)
  2. this website: http://x4ixixvi53yyukwr.onion/ (deepweb version of brainwallet)
  3. ability to make .txt files.
  4. Tor browser
  5. a persistent volume

The process: with pictures on TAILS :)

  1. Start Computer.
  2. Connect to the Internet
  3. Run Tor.
  4. Turn off scripts
  5. go to http://x4ixixvi53yyukwr.onion/
  6. allow x4ixixvi53yyukwr.onion to run JavaScript
  7. refresh page, and make sure the site is working properly.
  8. DISCONNECT THE INTERNET! Disconnect your wifi (if you know how on your laptop, turn off the wifi card). Remove all internet cables. Disconnect your phone from any ports. Turn off computers bluetooth. Your computer should have no possible connection to the internet.
  9. Create a .txt file to a persistent volume (encrypted USB or encrypted TAILS partition)
  10. Use the site to generate public and private keys (they are being generated offline at this point), and save them in pairs to the .txt file.
  11. Once completed, save the file.
  12. Shut down the computer.
  13. Reconnect the cables.
  14. Use your secure keys for your next multisig purchases :)


Comments


[3 Points] owockEznan:

Wow, from some random site as well.

Or you could just get pybtctools from https://github.com/vbuterin/pybitcointools

Create a file lotsofkeys.py as such

import random, os, json, sys
from pybitcointools import *
argv = int( sys.argv[1] )
print "Making a ton of keys!"
for i in range(argv):
  a = random_key()
  print encode_privkey( a , 'wif_compressed'), " , " , compress( privkey_to_pubkey( a ) )

then run
python lotsofkeys.py 9001 > keys.txt

Or use the electrum plugin to determisticly create keys that can be easily recovered. Or for that matter, any BIP032 wallet.

Edit: oops, the public keys were not compressed; the private ones were.


[1 Points] Sanitarium-Market:

Not bad but is it really necessary? Thing is that even while you are connected, the script is still running in your computer. You could be compromised with a virus or such, but using tails or other linux live dvd, that would not be the case. There is also an i2p version of this script for those interested.


[1 Points] ThrowawayTehGay:

Why not just install Electrum on TAILS and then use the TMP plugin?