Bitcoin Forum

Bitcoin => Bitcoin Wallet for Android => Topic started by: kingscrown on October 08, 2015, 12:45:32 AM



Title: How to get private keys out of Android wallet?
Post by: kingscrown on October 08, 2015, 12:45:32 AM
Ok i have android wallet, the old one - https://play.google.com/store/apps/details?id=de.schildbach.wallet&hl=en

I did backup of my files and got tchem to computer.
After reading: http://bitcoin.stackexchange.com/questions/17176/how-to-decode-private-key-from-android-bitcoin-wallet
I did manage to do:
openssl enc -d -aes-256-cbc -a -in "INFILE" -out "OUTFILE.txt" -k PASSWORD

But what im getting is a manged binary full of odd characters. chaning binary to wallet.dat wont help.


Any ideas?


Title: Re: How to get private keys out of Android wallet?
Post by: achow101 on October 08, 2015, 01:03:34 AM
Follow the instructions from this file: https://github.com/schildbach/bitcoin-wallet/blob/master/wallet/README.recover


Title: Re: How to get private keys out of Android wallet?
Post by: kingscrown on October 08, 2015, 01:33:48 AM
Follow the instructions from this file: https://github.com/schildbach/bitcoin-wallet/blob/master/wallet/README.recover

Ok and whats the step ive missed before?
I feel i did allright using openssl command.

Please be more clear, also since you are respected user i can pass you my file.


Title: Re: How to get private keys out of Android wallet?
Post by: achow101 on October 08, 2015, 01:43:18 AM
Follow the instructions from this file: https://github.com/schildbach/bitcoin-wallet/blob/master/wallet/README.recover

Ok and whats the step ive missed before?
I feel i did allright using openssl command.
You also need to do a bunch of stuff with the wallet-tool in order get the data from the protobuf to a key. Those are near the bottom of the file under the headings Recovering from protobuf wallet format and Recovering from Base58 key format.

Please be more clear, also since you are respected user i can pass you my file.
I suppose you can do that if you think I am trustworthy. If you want to do that, send me a pm and I will send you my email.


Title: Re: How to get private keys out of Android wallet?
Post by: crazyearner on November 27, 2015, 02:58:53 AM
Do you not have the option to do like dump private key on Android wallet would that not be the simplest way to get your private keys and then import or save to where needed, or is this different on this wallet?