1 minor finding · 2 suggestions
Earlier concerns neither republished nor resolved: 2 suggestions. See the Run archive for their assessments.
Findings
[minor] · Public-descriptor exclusion assertions inspect dictionary keys
Both new encrypted-wallet checks for absence of tprv inspect response keys, so they pass regardless of descriptor contents.
Location: test/functional/wallet_listdescriptors.py:40 (head).
Details and suggested fix
listdescriptors() returns an object with wallet_name and descriptors keys. Iterating over that object checks only those two strings, neither of which contains tprv. The locked/unlocked equality assertion detects state-dependent differences, but not identical incorrect contents, and deriving matching addresses does not distinguish private descriptors from public ones. The previous encrypted-wallet test compared the public output against an explicit xpub-only expected value. Iterate over the nested descriptor strings instead: assert all("tprv" not in d["desc"] for d in encrypted_locked_output["descriptors"]), and make the equivalent change for the unlocked output.
Optional improvements
[suggestion] · GUI encryption remains available without a deprecation notice
The GUI still encrypts existing wallets without a deprecation notice, while the release-note sub-bullet describes the operation generally as deprecated.
Location: src/wallet/rpc/encrypt.cpp:238 (head).
Details and suggested fix
The new check gates only the RPC handler. Qt still enables Encrypt Wallet for unencrypted wallets and reaches CWallet::EncryptWallet through AskPassphraseDialog and setWalletEncrypted, without consulting the gate. For nonblank private-key wallets, that operation still generates fresh active descriptors, retaining the imported-descriptor and old-backup pitfalls motivating this change. The dialog already warns about passphrase loss and replacing backups, but not deprecation or discouragement. Although the release-note heading and opening sentence name the RPC, the sub-bullet says encrypting existing wallets itself is deprecated. Make that scope explicit and explain the GUI path's intended treatment, even if deferred to a follow-up. If the operation is being deprecated across interfaces, add a corresponding notice specifically to the GUI's existing-wallet encryption flow.
[suggestion] · The wallet guide still recommends the default-disabled RPC
The managing-wallets guide still recommends encryptwallet, which now fails by default, without explaining how existing-wallet users should migrate instead.
Location: doc/release-notes-deprecateencryptwallet.md:4 (head).
Details and suggested fix
Section 1.2 of doc/managing-wallets.md presents bitcoin-cli -rpcwallet=... encryptwallet "passphrase" as the encryption procedure. This now returns RPC_METHOD_DEPRECATED unless the node starts with -deprecatedrpc=encryptwallet. The section already documents createwallet with passphrase, but only as an alternative, and neither it nor the release note gives existing-wallet migration guidance beyond re-enabling the deprecated RPC. Update the section to recommend encrypted creation first, mark encryptwallet as deprecated, and describe creating a new encrypted wallet, moving funds to it, and backing it up. If the recipe uses sendall, account for its excluded UTXOs rather than implying that it always empties the old wallet. Link that guidance from the release note.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Keep encrypted-wallet coverage for the signing cases in this test (earlier report)
- [suggestion]: Use the PR-specific release-note filename (earlier report)