Bitcoin Forum

Other => Beginners & Help => Topic started by: johnnyblueeyes on June 20, 2011, 07:57:07 PM



Title: does wallet.dat contain private key?
Post by: johnnyblueeyes on June 20, 2011, 07:57:07 PM
To make BitCoin clients more secure, I've heard that the next native clients will encrypt the private key. Is that separate from the wallet.dat file?


Title: Re: does wallet.dat contain private key?
Post by: Xenland on June 20, 2011, 08:09:47 PM
I wonder this myself


Title: Re: does wallet.dat contain private key?
Post by: timsmith on June 20, 2011, 09:18:20 PM
I suspect so. Can't think where else it would be.


Title: Re: does wallet.dat contain private key?
Post by: compro01 on June 20, 2011, 09:20:33 PM
the wallet.dat file contains all your public/private keypairs.

every bitcoin address you have has a corresponding keypair (the address is a special representation of the public key) in your wallet.dat file.

so yes, the wallet.dat file will be encrypted.  this should help protect against the wallet-stealing trojan people have been talking about.


Title: Re: does wallet.dat contain private key?
Post by: Athenus on June 20, 2011, 09:26:41 PM
You will probably have to enter a password first, and with that password the wallet can be decrypted. Hence a hacker would need both the wallet and your password, reducing the risk of your wallet getting sloten. Note that it's still possible that you might get infected with a keylogger or similar, but it IS more difficult to get botht the wallet and the password.