Bitcoin Forum
May 22, 2024, 04:16:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Password protection - How does it work?  (Read 556 times)
Reynaldo (OP)
Legendary
*
Offline Offline

Activity: 1143
Merit: 1000


View Profile
April 07, 2015, 11:44:56 PM
 #1

Scenario:

I generate 1 address that relies upon one privatekey
I add a password with bitcoin-qt

The password is 2000 characters long

I give out the privatekey.

How does this password protects the bitcoin, I imagine that something needs to be saved somewhere? Enlight me pls.
If someone can find a post that talks about this let me know, I did a search and didnt found anything.
EcuaMobi
Legendary
*
Offline Offline

Activity: 1862
Merit: 1469


https://Ecua.Mobi


View Profile WWW
April 08, 2015, 12:01:02 AM
 #2

Scenario:

I generate 1 address that relies upon one privatekey
I add a password with bitcoin-qt

The password is 2000 characters long

I give out the privatekey.

How does this password protects the bitcoin, I imagine that something needs to be saved somewhere? Enlight me pls.
If someone can find a post that talks about this let me know, I did a search and didnt found anything.

If you give the private key then there's no way to prevent anyone to spend from that address.
The password of a bitcoin-qt wallet is used to encrypt the keys in the wallet.dat file. So if someone gets a copy of your ecrypted wallet they won't be able to spend from it if your password is secure enough. However if you export the un-encrypted private key and send it to someone then that's it, encrypting your wallet won't help.
Similarly if you have an un-encrypted backup of your wallet and someone gets it, then he can spend from it. If you encrypt the wallet afterwards it has no effect on the already liked file. The only way to protect the coins would be to create a new wallet, encrypt it and send all the coins from the previous wallet to the new one.

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!