Bitcoin Core Users Need New Wallet Backups After First-Time Encryption

iconCryptoSlate
Share
AI summary iconSummary
Bitcoin Core users must create new wallet backups after first-time encryption following a patch merged on Nov. 20. The update disables the encryptwallet command by default, generating a new seed and descriptors that older backups can’t restore. Run backupwallet after encryption to secure funds. Legacy backups without encryption still hold original keys but need safe storage. Scripts using encryptwallet must now enable it explicitly. Users can add -deprecatedrpc=encryptwallet to bitcoind for now. This Bitcoin news update affects developers and power users. New token listings remain unaffected by this change.

Bitcoin Core developers merged a patch on Nov. 20 that makes encryptwallet unavailable by default in development builds containing the change. The encryptwallet command applies encryption to an existing wallet for the first time and generates a new seed. Bitcoin Optech drew attention to the change on Nov. 27. Pull request #36387 entered Bitcoin Core's development branch. Bitcoin Core's release index showed 32.1 as the latest release on Nov. 29.

Bitcoin Core says initial encryption produces a new seed and new active descriptors. Descriptors specify how a wallet derives addresses and the associated keys. Backups created before encryption cannot restore bitcoin received at addresses generated from the new seed. However, an older backup continues to cover addresses whose keys the backup holds or can derive. That coverage can include payments received after encryption at addresses covered by the older backup.

An old wallet file cannot restore bitcoin at new-seed addresses if the live wallet and all usable copies containing the new key material disappear. Bitcoin Core instructs users who retain the wallet to run backupwallet after encryption to create a new, secure copy. Bitcoin Core's wallet guide advises keeping backups on dependable offline devices. The pull request warns that encrypting an existing wallet may leave traces of unencrypted private keys on disk. Older backups without encryption retain the key material originally saved and require secure storage. A separate Bitcoin multisig backup proposal concerns another recovery issue: a seed by itself may not be enough.

Scripts calling encryptwallet must explicitly enable the command when connecting to a node with the patch. Affected workflows include bitcoin-cli scripts that create a wallet without encryption and encrypt the wallet through a subsequent call. The development release note instructs users to launch bitcoind with -deprecatedrpc=encryptwallet. The option preserves access to encryptwallet throughout the deprecation period. Bitcoin Core plans to eliminate the RPC in a later major release, but the release note does not identify a version.

Wallet automation can supply createwallet with a passphrase to encrypt a new wallet during creation. Bitcoin Core continues to support wallets that are already encrypted. Owners of encrypted wallets can continue changing the passphrase through walletpassphrasechange. A pull request reviewer said the graphical Encrypt Wallet action operates through another interface and is not covered by the patch.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.