Browse

Reference

Directory

Company

Help & Legal

Follow

Subscribe

Quick Take

Bitcoin Core developers merged a change on Nov. 20 that disables encryptwallet by default in development builds containing the patch. The command encrypts an existing wallet for the first time and generates a new seed. Backups made before encryption cannot recover bitcoin sent to addresses derived from that seed.

Bitcoin Optech highlighted the change on Nov. 27. The pull request #36387 landed on Bitcoin Core’s development branch, and the project’s release index listed 32.1 as its latest release on Nov. 29.

Bitcoin Core says first-time encryption creates a new seed and a fresh set of active descriptors, the rules the wallet uses to derive addresses and their keys. A backup made before encryption still covers addresses controlled by keys it contains or can derive. That can include a payment received after encryption at an address already covered by the older backup. A separate Bitcoin multisig backup proposal addresses a different recovery problem in which a seed alone may be insufficient.

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

What your wallet backup can recover

In Bitcoin Core, the keys saved in a backup determine which addresses it can recover after first-time wallet encryption.

A pre-encryption backup lacks the fresh seed. Back up the encrypted wallet to preserve the new keys.

The old backup covers only earlier keys it contains or can derive. The fresh-backup path highlights newly generated keys.

Sources

Supporting facts

Method

Maps the documented generation of a new seed to the key material in a backup taken before or after encryption. Paths show recovery coverage.

Scope

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

Which scripts need to change

Scripts that call encryptwallet will need 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. That option keeps the command available during the deprecation period. Bitcoin Core plans to remove the RPC in a future major release and has yet to name the version in the note.

For new wallets, automation can pass a passphrase to createwallet to encrypt from the outset. Existing encrypted wallets remain supported, and their 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.

Bitcoin privacy weakness links wallet addresses to network nodes in 30 out of 30 tests

Mentioned in this article

Trump Media’s Bitcoin counts for just 53 cents on the dollar under its debt agreement

Cookie Consent

We use cookies to improve your experience on our site. By using our site, you consent to cookies.

Cookie Preferences

Manage your cookie preferences below:

Essential cookies enable basic functions and are necessary for the proper function of the website.

CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.

Service URL: developers.cloudflare.com (opens in a new window)

Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.

Service URL: policies.google.com (opens in a new window)

Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.

Clarity is a web analytics service that tracks and reports website traffic.

Service URL: clarity.microsoft.com (opens in a new window)

You can find more information in our Privacy Policy and .

Loading image…

This image could not be loaded.

The Catalyst