Main Menu

Can you change the brain key?

Started by mike623317, October 19, 2015, 05:33:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

Quote from: mike623317 on October 19, 2015, 12:51:53 PM
OK, so the paper backup is just a print out of the public and private keys for an account.
phrased the aother way round: with those private keys you can access the account (owner) and it's funds (active)

mike623317

OK, so the paper backup is just a print out of the public and private keys for an account.

xeroc

If you know how to use the javascript console, you can dump the private key for any of your public keys (permissions: owner/active/memo) by doing


WalletDb.getPrivateKey(PublicKey.fromPublicKeyString("BTS...")).toWif()

mike623317


Thanks for the replies, appreciate it.

One quick follow up. I've been trying to figure out how to do a paper backup of my new wallet since BM mentioned on a mumble that it can be done. Any idea how to do this, I don't seem to see where I can do this.

Thanks

karnal

Quote from: xeroc on October 19, 2015, 08:21:31 AM
nop .. the brain key is used to derive your private key ..
you could in theory pick a brain key and get new accounts from that .. but since people are bad (and I mean really bad) at picking words at random .. you shouldn't dare trying ..

Assuming words don't have to be selected from a predetermined list ..

$ cat genbrainkey

#!/usr/bin/env bash

x=0
brainkey=""

while [ $x -lt 16 ]; do
  brainkey="$brainkey $(openssl rand -hex 4)"
  ((x++))
done

echo $brainkey


$ ./genbrainkey
75664cdb 309e2720 1a0aa305 1bf5aa3a 2990bbf1 b3004cf5 48dfe16e da454d88 ef7e1fd6 4398ddb2 ad7a4ef6 31c38e92 7a9ffa4a ca1610ae 2a227a6d 5e38c405

xeroc

nop .. the brain key is used to derive your private key ..
you could in theory pick a brain key and get new accounts from that .. but since people are bad (and I mean really bad) at picking words at random .. you shouldn't dare trying ..

mike623317

Just wondering if it is possible to change the brain key phrase?

Thanks
M