Bitcoin Forum
April 27, 2024, 04:08:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Opening encrypted wallet.dat file  (Read 492 times)
ararara (OP)
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?
1714190939
Hero Member
*
Offline Offline

Posts: 1714190939

View Profile Personal Message (Offline)

Ignore
1714190939
Reply with quote  #2

1714190939
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714190939
Hero Member
*
Offline Offline

Posts: 1714190939

View Profile Personal Message (Offline)

Ignore
1714190939
Reply with quote  #2

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

Activity: 322
Merit: 363

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 (OP)
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: 322
Merit: 363

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 (OP)
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: 3234
Merit: 2417



View Profile
April 21, 2018, 10:22:47 AM
Last edit: April 21, 2018, 10:37:24 AM by mindrust
 #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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

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 (OP)
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: 2954
Merit: 4165


View Profile
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
.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
deevan
Jr. Member
*
Offline Offline

Activity: 238
Merit: 7


View Profile
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.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!