Market desk Bitcoin Ethereum Altcoins DeFi Stablecoins Markets & Trading

Bitcoin Core Deprecates Wallet Encryption Command, Requires New Backups

Bitcoin Core developers have disabled the encryptwallet command by default, requiring users to create fresh backups after first-time wallet encryption since the process generates a new seed that old backups cannot recover.
Source: CryptoSlate Published 1 view
Bitcoin Core Deprecates Wallet Encryption Command, Requires New Backups

Bitcoin Core's development branch has deprecated the encryptwallet command, which encrypts an existing wallet for the first time. The change, merged on November 20, disables the command by default in affected development builds.

When a wallet is encrypted for the first time, Bitcoin Core generates a fresh seed and creates new active descriptors—the rules the wallet uses to derive addresses and their associated keys. Any backup made before encryption cannot recover bitcoin sent to addresses derived from this new seed, even if the older backup covers addresses generated from previous keys.

Users who encrypt an existing wallet must create a new backup to preserve the newly generated key material. Bitcoin Core recommends using the backupwallet command and storing backups on secure, offline devices. If the live wallet and all copies containing the new key material are lost, the pre-encryption backup cannot recover funds sent to addresses generated after encryption.

Encryption may also leave remnants of unencrypted private keys on disk, and older backup files still contain unencrypted key material that must be kept secure.

Steps for Existing Scripts

Scripts that use the encryptwallet command will require an explicit opt-in flag when connecting to nodes running the updated build. Users can start bitcoind with the -deprecatedrpc=encryptwallet flag to keep the command available during the deprecation period. Bitcoin Core plans to remove the RPC entirely in a future major release.

For new wallets, automation can pass a passphrase directly to the createwallet command to encrypt the wallet at creation rather than adding encryption afterward. Existing encrypted wallets remain supported, and users can update passphrases using walletpassphrasechange.

Market snapshot

Top cryptocurrency prices

Explore all prices
BitcoinBTC $59,071.95-0.18% EthereumETH $1,635.01-0.67% Tether USDUSDT $0.9996-0.01% BNBBNB $546.66-0.53% USDCUSDC $1.000.00% XRPXRP $0.9257-1.37% SolanaSOL $70.41-0.65% TRONTRX $0.2981-0.85% HyperliquidHYPE $62.54-0.15% ZcashZEC $717.53-0.99%
Prices by Coinranking. Informational only.