Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: racezefi on February 02, 2017, 07:09:34 AM



Title: Need help running btcrecover against blockchain.info wallet backup, help?
Post by: racezefi on February 02, 2017, 07:09:34 AM
So I downloaded my wallet file using "python -c "import urllib2,json;f=urllib2.urlopen('https://blockchain.info/wallet/WALLET-D-STRING?format=json');print json.loads(f.read())['payload']" > wallet.json.aes"

So far so good.
My problem is that I can't run btcrecover with it. Tried extracting the payload and with the original file and nothing.

Any help? $20 for whoever gives me the correct answer first, just give your address, if I can make it run, I'll send it.

When running:

Code:
python btcrecover.py --wallet wallet.aes.json --tokenlist tokens

I'm getting
Code:
Traceback (most recent call last): File "btcrecover.py", line 35, in <module> btcrpass.parse_arguments(sys.argv[1:]) File "/home/user/btcrecover-master/btcrecover/btcrpass.py", line 3420, in parse_arguments parse_tokenlist(tokenlist_file, tokenlist_first_line_num) File "/home/user/btcrecover-master/btcrecover/btcrpass.py", line 3691, in parse_tokenlist if line.startswith("#"): UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)

Thanks!


Title: Re: Need help running btcrecover against blockchain.info wallet backup, help?
Post by: racezefi on February 02, 2017, 06:10:33 PM
Solved! Problem was the file encoding:

https://github.com/gurnec/btcrecover/issues/22#issuecomment-229782285