Bitcoin Forum

Other => Beginners & Help => Topic started by: Rampion on February 06, 2013, 10:10:15 AM



Title: import private keys of wallet.aes.json to bitcoin-qt
Post by: Rampion on February 06, 2013, 10:10:15 AM
As blockchain.info wallet is down (at least for me) and I need to access my funds in there, I would like to import my backed up wallet.aes.json file to Bitcoin-QT. I've googled this query, I used the search function in the forum, but I only find instructions about importing the JSON wallet to Multibit, I can't find nothing about importing it to the standard Bitcoin client.

Anyone knows how to do it?


Title: Re: import private keys of wallet.aes.json to bitcoin-qt
Post by: Stephen Gornick on February 06, 2013, 10:48:38 AM
I only find instructions about importing the JSON wallet to Multibit, I can't find nothing about importing it to the standard Bitcoin client.

Anyone knows how to do it?

If you have a list of private keys, you can import them using the debug window with the command importprivkey.

 - http://en.bitcoin.it/wiki/How_to_import_private_keys_v7%2B



Title: Re: import private keys of wallet.aes.json to bitcoin-qt
Post by: Rampion on February 06, 2013, 12:40:38 PM
I only find instructions about importing the JSON wallet to Multibit, I can't find nothing about importing it to the standard Bitcoin client.

Anyone knows how to do it?

If you have a list of private keys, you can import them using the debug window with the command importprivkey.

 - http://en.bitcoin.it/wiki/How_to_import_private_keys_v7%2B



I don't have the list of private keys, just the wallet.aes.json (and obviously the password to access it).


Title: Re: import private keys of wallet.aes.json to bitcoin-qt
Post by: jim618 on February 06, 2013, 01:03:43 PM
You could just use MultiBit to decrypt the private keys and then import them into Bitcoin-QT as the previous poster suggested.

Steps:

1) create an empty wallet in MultiBit
2) import the blockchain.info wallet backup in 'Tools | Import Private Keys'. This puts the keys in your wallet.
3) don't worry about the blockchain replay.
4) go to 'Tools | Export private keys' and export your keys UNENCRYPTED. You get a warning as most cases you want the private keys encrypted but it will let you do it.
5) open up the exported key file. All you private keys are in there in the Satoshi uncompressed format.
6) import into the Satoshi client using importprivkey.
7) tidy up : secure delete the MultiBit key file and wallet.

You'll end up with an extra private key imported as a MultiBit wallet has one address when created but that is no big deal.


Title: Re: import private keys of wallet.aes.json to bitcoin-qt
Post by: Stephen Gornick on February 06, 2013, 02:02:30 PM
I don't have the list of private keys, just the wallet.aes.json (and obviously the password to access it).

Oh, sorry, I thought you had already decrypted the list.

I've not used this but I believe this is what you need:
 - https://gist.github.com/fcicq/3368495



Title: Re: import private keys of wallet.aes.json to bitcoin-qt
Post by: DannyHamilton on February 06, 2013, 04:22:01 PM
As blockchain.info wallet is down (at least for me) and I need to access my funds in there, I would like to import my backed up wallet.aes.json file to Bitcoin-QT. I've googled this query, I used the search function in the forum, but I only find instructions about importing the JSON wallet to Multibit, I can't find nothing about importing it to the standard Bitcoin client.

Anyone knows how to do it?
Be aware that the importprivkey functionality of the current version of Bitcoin-Qt seems to be a bit flaky:

https://bitcointalk.org/index.php?topic=134688.msg1434502