Bitcoin Core developers merged a change on Nov. 20 that disables the encryptwallet command by default in development builds. The command encrypts an existing wallet for the first time and generates a new seed and a fresh set of active descriptors, so backups made before encryption cannot recover bitcoin sent to addresses derived from that new seed. The project directs users who still have the wallet to make a fresh, secure copy after encryption using backupwallet, and warns that encrypting an existing wallet may leave remnants of unencrypted private keys on disk, meaning older unencrypted backup files must be kept secure. Scripts calling encryptwallet will need an explicit opt-in by starting bitcoind with -deprecatedrpc=encryptwallet, and Bitcoin Core plans to remove the RPC in a future major release. For new wallets, automation can pass a passphrase to createwallet to encrypt from the outset, while already encrypted wallets remain supported and owners can still use walletpassphrasechange.
Source: Read the original article


