Bitcoin Forum
October 19, 2018, 06:09:49 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Opening encrypted wallet.dat file  (Read 114 times)
ararara
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 21, 2018, 09:55:20 AM
 #1

Hi all,

I have an old wallet.dat file which is encrypted (2013), which I have some guesses to what the password is.
The thing is, I have no idea how to try the password on the wallet.dat file to decrypt it.

I used Electrum, which says it can't read the file. I used blockchain.info's import wallet functionality, but later read that it's not supported anymore.

How am I supposed to open my encrypted wallet.dat file and enter a password to unlock my old Bitcoin?
1539929389
Hero Member
*
Offline Offline

Posts: 1539929389

View Profile Personal Message (Offline)

Ignore
1539929389
Reply with quote  #2

1539929389
Report to moderator
1539929389
Hero Member
*
Offline Offline

Posts: 1539929389

View Profile Personal Message (Offline)

Ignore
1539929389
Reply with quote  #2

1539929389
Report to moderator
1539929389
Hero Member
*
Offline Offline

Posts: 1539929389

View Profile Personal Message (Offline)

Ignore
1539929389
Reply with quote  #2

1539929389
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1539929389
Hero Member
*
Offline Offline

Posts: 1539929389

View Profile Personal Message (Offline)

Ignore
1539929389
Reply with quote  #2

1539929389
Report to moderator
Xynerise
Sr. Member
****
Offline Offline

Activity: 280
Merit: 280

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
April 21, 2018, 10:02:15 AM
 #2

When you install bitcoin core it'll generate a new wallet.dat
Swap it with the encrypted one you have.
Then go to help -> debug -> console
Code:
walletpassphrase <passphrase> <timeout>

Eg
Code:
walletpassphrase passphrase 600
ararara
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 21, 2018, 10:03:49 AM
 #3

Code:
walletpassphrase <passphrase> <timeout>

Eg
Code:
walletpassphrase passphrase 600

Thanks for your answer, I have bitcoin core installed but I don't know where to put the wallet.dat file so QT recognizes which wallet to try the passphrase on... If you understand ^^
Xynerise
Sr. Member
****
Offline Offline

Activity: 280
Merit: 280

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
April 21, 2018, 10:07:23 AM
 #4

It's located in C:\Users\YourUserName\Appdata\Roaming\BitCoin (If you're using windows Vista and above
ararara
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 21, 2018, 10:13:56 AM
 #5

I do not seem to have any bitcoin map in my Roaming directory....
mindrust
Legendary
*
Offline Offline

Activity: 1218
Merit: 1159



View Profile WWW
April 21, 2018, 10:22:47 AM
 #6

I do not seem to have any bitcoin map in my Roaming directory....

You probably installed it to a different directory. Is your node fully in sync? If it is, the directory you are searching for should be around 150-200gb. If you still can't find it, just uninstall core, reinstall it and remember where you chose to install the blockchain this time.
Xynerise
Sr. Member
****
Offline Offline

Activity: 280
Merit: 280

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
April 21, 2018, 10:35:24 AM
 #7

I do not seem to have any bitcoin map in my Roaming directory....
Hold the windows button and the R button
Then paste this
Code:
%APPDATA%\Bitcoin
then press enter.
It should open the bitcoin data directory
ararara
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 21, 2018, 10:42:34 AM
 #8

I found the location and replaced the file, now when I open bitcoin QT, it shows that I can encrypt my wallet again. Seems like I did not encrypt it... Where can I find my public address/private address of the wallet?
ranochigo
Legendary
*
Offline Offline

Activity: 1568
Merit: 1094

Somewhat inactive.


View Profile WWW
April 21, 2018, 10:58:15 AM
Merited by suchmoon (1)
 #9

I found the location and replaced the file, now when I open bitcoin QT, it shows that I can encrypt my wallet again. Seems like I did not encrypt it... Where can I find my public address/private address of the wallet?
Go to File>Receiving Address. This will display all of the addresses that were generated by you to receive payments.

If you want to get every addresses in the wallet, go to Help>Debug Console>Console and type:
Code:
listaddressgroupings
.

deevan
Jr. Member
*
Offline Offline

Activity: 224
Merit: 7


View Profile WWW
April 21, 2018, 10:25:47 PM
Merited by suchmoon (1)
 #10

I found the location and replaced the file, now when I open bitcoin QT, it shows that I can encrypt my wallet again. Seems like I did not encrypt it... Where can I find my public address/private address of the wallet?

To extract the private key for each of your public address from Bitcoin-Qt, type below command under the console tab.
Code:
dumpprivkey BitcoinPublicAddress
In place of BitcoinPublicAddress you have to mention your Bitcoin public key address.

[  waves   ]       Join The Waves Community       [  waves   ]
◆ Smart Contract       ◆ No Gas       ◆ High Speed
bob123
Hero Member
*****
Offline Offline

Activity: 714
Merit: 592



View Profile WWW
April 22, 2018, 01:23:05 PM
 #11

To extract the private key for each of your public address from Bitcoin-Qt, type below command under the console tab.
Code:
dumpprivkey BitcoinPublicAddress
In place of BitcoinPublicAddress you have to mention your Bitcoin public key address.


When dumping multiple private keys this command might be better:

Code:
dumpwallet C:\path\to\dump.txt

This command does dump all private keys into a .txt file.
But note that the private keys will be saved in this .txt file in plain text. Never execute this command on an (eventually) compromised computer.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!