Bitcoin Core Disables Encryptwallet by Default in Development Builds

iconChainGPT
Share
AI summary iconSummary
Bitcoin breaking news: Bitcoin Core developers merged a change on Nov. 20 that disables encryptwallet by default in development builds. The update, submitted in pull request #36387, warns that encrypting a wallet creates a new seed, making pre-encryption backups unable to recover funds sent to new addresses. The project also notes that unencrypted private key remnants may remain on disk and recommends secure offline storage for backups. Scripts using encryptwallet will require an explicit opt-in, and the RPC will be deprecated in a future major release. Bitcoin news outlets are highlighting the shift in default behavior for wallet encryption.
Bitcoin (BTC) Core developers merged a change on Nov. 20 that disables encryptwallet by default in development builds, CryptoSlate reported.

Bitcoin Core says a first-time encryptwallet call creates a new seed and a fresh set of active descriptors; as a result, backups made before encryption cannot recover bitcoin sent to addresses derived from that new seed.

Bitcoin Optech highlighted the change on Nov. 27, CryptoSlate reported that the modification was submitted in pull request #36387 on Bitcoin Core’s development branch and that the project’s release index listed 32.1 as its latest release on Nov. 29.

Bitcoin Core explains that a backup created before encryption still covers addresses controlled by keys it contains or can derive, which can include a payment received after encryption at an address already covered by the older backup.

The project warns that if the live wallet and every usable copy containing the new key material are lost, restoring the old wallet file cannot recover bitcoin sent to addresses derived from the new seed, and it directs users who still have the wallet to make a fresh, secure copy after encryption using backupwallet. Bitcoin Core’s wallet guide recommends storing backups on reliable offline devices.

The pull request also says encrypting an existing wallet may leave remnants of unencrypted private keys on disk and that older unencrypted backup files still hold the key material saved in them and therefore need to be kept secure.

Scripts that call encryptwallet will require an explicit opt-in when they connect to a node running a build with the change. That includes command-line scripts that use bitcoin-cli to create an unencrypted wallet and add encryption in a separate call; the development release note says to start bitcoind with -deprecatedrpc=encryptwallet to keep the command available during the deprecation period, and it says Bitcoin Core plans to remove the RPC in a future major release but does not name the version, CryptoSlate reported.

For new wallets, automation can pass a passphrase to createwallet to encrypt from the outset. Existing encrypted wallets remain supported and owners can still use walletpassphrasechange to update the passphrase; a reviewer on the pull request said the graphical Encrypt Wallet action uses a separate interface and falls outside this 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.