Search content
Sort by

Showing 3 of 3 results by martindt
Post
Topic
Re: [HOW-TO] Export/extract private keys from your Bitcoin Wallet for Android
by
martindt
on 18/08/2017, 11:03:04 UTC

I was using an older version of Debian. Now I have V9.1.0 and it is working.... However, now I can get a readable "wallet.txt" at step 5, but in plaintext it says "Seed is encrypted" and although it shows Xpub (for a watching only wallet) all of the private keys are shown as:-

"encryptedPrivateKey=EncryptedData [initialisationVector=[104, -105, -15, 72, -51,.... etc".

Presumably there needs to be additional calculations done to extract the actual private keys?

Did you follow step 3 to decrypt the wallet? You will be asked for the password of the backup.

Finally sorted it! Thanks. Yes, I did follow step 3, but I had to modify it to get rid of an SSL error: openssl enc -d -aes-256-cbc -md md5 -a -in bitcoin-wallet-backup -out decrypted_wallet

Also I had to insert an additional step before step 5 to decrypt the PIN-protection I had set for sending bitcoins on the phone. If you have set a sending PIN on your phone and you don't do this step you won't get your private keys at step 5, only the public keys and initialisation vectors etc. You need to run: ./wallet-tool --decrypt --password= --wallet=decrypted_wallet.

I found the instructions for wallet-tool very helpful also: https://github.com/bitcoinj/bitcoinj/blob/master/tools/src/main/resources/org/bitcoinj/tools/wallet-tool-help.txt

The whole process is a bit long-winded, but it does work and I have finally recovered my Bitcoin Cash from my phone after the split - Whoopee!

Thanks for all your help.

--------------------------------------------
BTC: 1MqYtrevyngvpyyKXZr8CgoNZXvJdtjkS7
BCC: 18crH68qTFr2yxz9mdRKvkf6gJANViSYda
Post
Topic
Re: [HOW-TO] Export/extract private keys from your Bitcoin Wallet for Android
by
martindt
on 12/08/2017, 18:46:15 UTC
Do you use an older version of Debian?

+1?

I was using an older version of Debian. Now I have V9.1.0 and it is working.... However, now I can get a readable "wallet.txt" at step 5, but in plaintext it says "Seed is encrypted" and although it shows Xpub (for a watching only wallet) all of the private keys are shown as:-

"encryptedPrivateKey=EncryptedData [initialisationVector=[104, -105, -15, 72, -51,.... etc".

Presumably there needs to be additional calculations done to extract the actual private keys?
Post
Topic
Re: [HOW-TO] Export/extract private keys from your Bitcoin Wallet for Android
by
martindt
on 07/08/2017, 15:31:24 UTC
Bit of a Newbie - at step 2 I get "unable to locate package openjfx". I am running Debian on Oracle Virtualbox. Any ideas please? Thanks.