Author

Topic: Why do I need my wallet DAT file if I know my password (Read 615 times)

legendary
Activity: 1442
Merit: 2282
Degenerate bull hatter & Bitcoin monotheist
Nice thanks all !
hero member
Activity: 784
Merit: 1000
Annuit cœptis humanae libertas
Thanks guys.

So a paper wallet has the private key printed on it?

Yes, so you would need to keep it out of others' eyesight.

Quote
Does the Bitcojn QT client have the ability to show the private key?

Yes, but extracting them is not obvious. You need to open the Debug window accessible from the Help menu and type:

Code:
walletpassphrase
dumpprivkey
full member
Activity: 196
Merit: 100
Quote
Does the Bitcojn QT client have the ability to show the private key?
Yes, you can show the private key on screen to cop/paste (after unlocking the wallet with your password).

In the console:

Code:
walletpassphrase "your walletpassphrase goes here" 660
dumpprivkey [your public key appears here]
walletlock
legendary
Activity: 1442
Merit: 2282
Degenerate bull hatter & Bitcoin monotheist
Thanks guys.

So a paper wallet has the private key printed on it?

Does the Bitcojn QT client have the ability to show the private key?
member
Activity: 84
Merit: 10
So what does my wallet DAT contain that cannot be derived from those two pieces of information? 

Your private key

Quote
Is it because my private key is not related to my password? The password just allows access to the wallet DAT file which contains the private key?  And if that is correct then a hacker could still know my password but not be able to spend my coins without also having access to the wallet DAT file.   Is that right ?

Yes and Yes.

hero member
Activity: 784
Merit: 1000
Annuit cœptis humanae libertas
The Bitcoin-Qt encryption password is to unencrypt the wallet.dat; it is not a deterministic password to extract your wallet addresses directly.
legendary
Activity: 1442
Merit: 2282
Degenerate bull hatter & Bitcoin monotheist
Please explain it to me like I am 5. 

I know my password (Bitcoin QT) and address.  So what does my wallet DAT contain that cannot be derived from those two pieces of information? 

Is it because my private key is not related to my password? The password just allows access to the wallet DAT file which contains the private key? 

And if that is correct then a hacker could still know my password but not be able to spend my coins without also having access to the wallet DAT file.   Is that right ?
Jump to: