3

"Change Passphrase..." obviously lets me encrypt the wallet with a new string of text. I think (correct me if I'm wrong) that this creates new private key(s) inside wallet.dat.

How are existing addresses affected when the passphrase is changed?

  • Are they still linked to the old private key (previous passphrase)?
  • If so, should I send those Bitcoin to myself (sending them to a new address that was generated after the change of passphrase)?
3

The wallet actually uses a randomly generated master key to encrypt the keys, and this master key is encrypted using your passphrase.

When you change the passphrase, all that changes is the encrypted master key. The actually encrypted wallet keys aren't touched at all.

  • Randomly generated... So, is the strength of private keys dependent in any way on the strength of the master key? Will a master key passphrase = "Password1" result in strong or weak private keys? – Robert Claypool May 19 '13 at 20:11
  • 2
    The private keys, and the master key, will be strong no matter what. However, an attacker with access to your wallet will attack the weakest link: the password you used to encrypt the master key. – Nick ODell May 19 '13 at 23:33
3

If your wallet hasn't been compromised (how can you be sure?) then it should be enough to secure it with a strong passphrase and then be sure to back it up.

If your wallet has been or even just might have been compromised then securing it with a strong passphrase now might not be enough. Sending the Bitcoins at risk to a new address in the same wallet generated after the strong passphrase is put into place might not even be enough. It might take creating a whole new wallet on a known to be uncompromised system (how can you be sure?) and securing it with a strong passphrase before using an address generated in it to establish security.

Backing up your wallet to a cloud, e.g. emailing it to a Gmail account, etc., puts it at risk. If you ever did this before securing it with a strong passphrase then you should really move to a new wallet. Deleting the pre-strong passphrase copies is an illusion.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.