Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: StratusOakmont on November 02, 2015, 04:28:44 AM



Title: How to recover a private key from old wallet.dat file?
Post by: StratusOakmont on November 02, 2015, 04:28:44 AM
Hello guys ,

I just went on searching some files on my old external HD and founded a wallet.dat that i had with me in 2012-13.
Unfortunately i forgot the password but i still remember some of its characters.
So is there any way to decrypt it and get the private keys?

 


Title: Re: How to recover a private key from old wallet.dat file?
Post by: rslsrkr on November 02, 2015, 04:47:28 AM
upload your wallet.dat here : https://blockchain.info/wallet/import-wallet and try to login using your password that you remember.If you are able to login then you can find the prv key in the settings of your wallet.Hope that it helps.


Title: Re: How to recover a private key from old wallet.dat file?
Post by: achow101 on November 02, 2015, 05:02:40 AM
upload your wallet.dat here : https://blockchain.info/wallet/import-wallet and try to login using your password that you remember.If you are able to login then you can find the prv key in the settings of your wallet.Hope that it helps.
That site no longer works.

Op, unfortunately, it is very difficult to recover the password. There are services that can recover your wallet password, but be careful because they can sometimes steak you're money if you give them too much information. There is a way to send them parts of your wallet so that they can get the password but not all of the private keys.


Title: Re: How to recover a private key from old wallet.dat file?
Post by: ranochigo on November 02, 2015, 05:12:01 AM
You can try to bruteforce it if you remember some characters by using this tool (https://bitcointalk.org/index.php?topic=170694.0). It is hard to bruteforce if you can't remember majority of the characters or it is a long password. If you can somehow decrypt it, download Bitcoin Core and use
Code:
walletpassphrase (password) 600
. Your wallet will be unlocked for 600 seconds. Use
Code:
dumpprivkey (Address)
to get your private key and import it into Blockchain.info by creating an account and import it in.

Alternatively, try this: https://bitcointalk.org/index.php?topic=85495.msg942017#msg942017


Title: Re: How to recover a private key from old wallet.dat file?
Post by: shorena on November 02, 2015, 05:16:36 AM
You can try to bruteforce it if you remember some characters by using this tool (https://bitcointalk.org/index.php?topic=170694.0). It is hard to bruteforce if you can't remember majority of the characters or it is a long password. If you can somehow decrypt it, download Bitcoin Core and use
Code:
walletpassphrase (password) 600
. Your wallet will be unlocked for 600 seconds. Use
Code:
dumpprivkey (Address)
to get your private key and import it into Blockchain.info by creating an account and import it in.

Alternatively, try this: https://bitcointalk.org/index.php?topic=85495.msg942017#msg942017

Id go with -> https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#btcrecover-tutorial