Repository navigation
qt: recommend wallet encryption by default - #62
Merged
Merged
Conversation
5 of 14 tasks
kiwidream
force-pushed
the
encourage-wallet-encryption
branch
from
June 30, 2026 13:20
b8625af to
4405402
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4405402. Configure here.
kiwidream
force-pushed
the
encourage-wallet-encryption
branch
from
June 30, 2026 15:05
4405402 to
1759571
Compare
djh58
pushed a commit
that referenced
this pull request
Jul 2, 2026
* Accept legacy AuxPoW RPC payloads (#23) * Prevent AuxPoW signalling in permissionless GBT (#22) * wallet: defer P2MR getnewaddress keypool refill (#13) * wallet: defer P2MR getnewaddress keypool refill * wallet: bound internal P2MR keypool refill * wallet: align P2MR top-up lock ordering * wallet: schedule raw change P2MR refills * wallet: report paused P2MR refills as failed * wallet: log inline P2MR refill failures * ci: fix BuildKit helper lint * Document AuxPoW commitment order fields (#35) * Restrict explicit wallet output types on P2MR-only chains (#25) * Restrict explicit wallet output types * test: run BECH32 wallet suites on unrestricted regtest * fuzz: run wallet transaction target on unrestricted regtest * Fix BuildKit helper lint * Report missing wallet output managers accurately * Allow managerless wallets with default output options * test: add independent P2MR and CTV script vectors (#29) * Add independent P2MR PQC witness vector tests (#30) * test: add independent P2MR PQC witness vector * test: verify P2MR wrong-domain vector signature * Fix AuxPoW legacy payload disambiguation * wallet: avoid MarkUnused P2MR full top-up (#31) * wallet: avoid MarkUnused P2MR full top-up * wallet: avoid MarkUnused lock inversion * wallet: preserve P2MR recovery lookahead * Split P2MR wallet unit tests (#52) * Remove unused P2MR wallet test import (#58) * Shard P2MR wallet unit tests (#60) * Add independent CHECKDATASIGPQC vector tests (#38) * test: add P2MR data-hash proof fixtures (#43) * test: add independent P2MR commitment vectors (#47) * Reject invalid raw funding outputs (#37) * Validate witness-pruned assumevalid before wipe (#59) * Add independent CHECKDATASIGADDPQC vector tests (#42) * qt: recommend wallet encryption by default (#62) * Verify libbitcoinpqc tagged subtree imports (#41) * ci: verify libbitcoinpqc tagged subtree imports * ci: handle peeled libbitcoinpqc tag refs * ci: peel libbitcoinpqc tag objects before compare * ci: pass auth to libbitcoinpqc verifier * ci: pin libbitcoinpqc verifier inputs * ci: verify libbitcoinpqc import tree * Add P2MR PQC annex sighash vectors (#54) * Add P2MR PQC annex sighash vectors * Guard annex mutation vector test * Add P2MR data signature support to Qt Sign/Verify (#63) * qt: add P2MR data signature dialog * qt: support text data in P2MR signatures * qt: align P2MR proof verification with RPC * test: add P2MR CHECKSIGPQC sighash vectors (#55) * Add rawmr future-leaf coverage (#64) * test: cover P2MR SIGHASH_SINGLE missing outputs (#57) * test: add P2MR PQC codeseparator vectors (#56) * Fix PQC data-hash counter accounting (#46) * Fix PQC data-hash counter accounting * Fix PQC data-hash leaf error priority * Report final PQC slot failures as exhausted * doc: add v0.1.2-testnet4 release notes * build: bump version to v0.1.2-testnet4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
New qbit-qt wallets now default to encrypted creation for normal wallets with private keys. The Create Wallet dialog labels encryption as recommended and explains that encryption protects private keys while enabling authenticated wallet loads that avoid repeated plaintext PQC key validation.
The dialog constructor now applies the encryption checkbox state during initialization, so incompatible options such as disabled private keys and external signer are synchronized immediately when encryption starts checked by default.
Testing
Checks run:
xmllint --noout src/qt/forms/createwalletdialog.uigit diff --checkDOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./docker run --rm --user "$(id -u):$(id -g)" -e HOME=/tmp [...] bitcoin-linterTarget Branch
mainor a maintainer-requested release branch such as0.1.x.Risk / Review Notes
Notes: Wallet creation behavior changes in qbit-qt: encryption is now the default for newly created normal wallets. Users can still opt out by unchecking the box.
Docs / Process Impact
Choose exactly one:
libbitcoinpqc Subtree Checklist (if
src/libbitcoinpqcchanged)qbit-subtreewas refreshed with prune.contrib/devtools/update-libbitcoinpqc-subtree.sh.test/lint/git-subtree-check.sh -r src/libbitcoinpqcpasses locally.doc/subtrees/libbitcoinpqc.md.Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Note
Medium Risk
Changes default wallet creation security in the GUI (encryption on unless opted out); logic is dialog-only but affects how new wallets are created.
Overview
qbit-qt’s Create Wallet flow now treats encryption as the default for normal wallets with private keys. The encrypt checkbox starts checked, the label reads Encrypt Wallet (recommended), and the tooltip explains passphrase protection plus authenticated loads that skip repeated plaintext PQC key validation.
Dialog logic was tightened so that default lines up with the other options on first open. Encryption-side effects are centralized in
update_encrypt_wallet_options, which runs once at the end of construction (so incompatible advanced options are disabled/unchecked immediately, not only after the user toggles encryption). Turning external signer off again re-checks encryption instead of leaving it off; blank wallet and external signer handlers now keep disable private keys disabled when encryption is on.Users can still create an unencrypted wallet by unchecking the box; hardware-wallet /
setSignerspaths still force encryption off when external signing is selected.Reviewed by Cursor Bugbot for commit 1759571. Bugbot is set up for automated code reviews on this repo. Configure here.