Bitcoin Core Update: Importance of New Backups after Wallet Encryption Changes
Bitcoin Core's recent update mandates fresh backups after first-time wallet encryption, crucial for recovering bitcoin from newly derived addresses.

Bitcoin Core Update: Disabling Encryptwallet Feature
In a significant update for Bitcoin Core, developers have opted to default to disabling the encryptwallet feature in test builds, as announced on November 20. This command initiates the encryption of a wallet for the first time, generating a new seed in the process. A crucial consideration for users is that backups made prior to this encryption will not restore any Bitcoin sent to addresses associated with the newly generated seed.
The implications of this change were highlighted by Bitcoin Optech on November 27, following the incorporation of pull request #36387 into Bitcoin Core's development branch. By November 29, the latest release noted in their index was version 32.1.
Wallet Encryption and Backup Considerations
When a wallet is encrypted for the first time, Bitcoin Core indicates that it produces a new seed along with a completely new set of active descriptors—these descriptors contain the rules the wallet relies on to generate addresses and their corresponding keys. Importantly, backups taken before the encryption can still protect addresses tied to the original keys, allowing for recovery of funds that may be sent to those addresses after encryption.
However, a proposal addressing Bitcoin multisig backups speaks to a different issue: in cases where just the seed is not adequate for recovery. If a user loses the active wallet and all backups featuring the new encryption keys, they will be unable to retrieve any Bitcoin sent to addresses derived from the new seed by restoring from the old backup file.
For those who still have access to their wallet, Bitcoin Core urges users to create a new, secure backup after the wallet undergoes encryption, which can be achieved with the backupwallet command. Their wallet guide strongly advises users to keep backups on trusted offline devices to mitigate the risk of loss.
Concerns and Future Changes
Furthermore, the recent pull request has raised concerns about potential traces of unencrypted private keys lingering on disk after encryption. It also reminds users that any older backups that have not been encrypted still contain critical key information that must be safeguarded.
For scripts that utilize encryptwallet, users will now need to opt-in explicitly when interfacing with nodes that have received this update. This includes command-line scripts that rely on bitcoin-cli to convert an unencrypted wallet into an encrypted one through separate commands. The development notes instruct users to initiate bitcoind with the parameter -deprecatedrpc=encryptwallet, which will maintain command availability during this transitional phase, with intentions to phase out this feature in a forthcoming major update that has yet to be specified.
Creating New Wallets
For the creation of new wallets, automation is capable of including a passphrase right from the start with the createwallet function to ensure immediate encryption. Current encrypted wallets continue to be fully supported, enabling users to utilize walletpassphrasechange for updating their passphrase.
Notably, one reviewer highlighted that the graphical 'Encrypt Wallet' option operates independently and is not affected by the current patch.
Also in other languages: РусскийDeutschFrançaisItalianoEspañol