mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:50:37 +00:00
test: add BIP32 vectors 3 and 4 to the extendedkey self-test #36185
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36185
Loading…
Reference in a new issue
No description provided.
Delete branch "test-bip32-vectors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
test_bip32_vectorscovers BIP32 vectors 1 and 2 only. Vectors 3 and 4 test retention of leading zeros in a private key and hardened derivation over such a key — the cases implementations have historically got wrong.Both run against the existing API; no new capability is needed.
Made with my usual tools: a computer, the Internet and an LLM. The mistakes, as usual, are all mine.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.@rkrux @w0xlt @pseudoramdom @achow101 since you wrote or reviewed #35543: this adds BIP32 vectors 3 and 4 to its
test_bip32_vectors. Would you take a look?Base:
228877d7836a55c1d6fde90b0b7ba2d4c90248abHead:
5b761e399ce39dad65382a4665d3b00e87da9c9aNo verified findings are available from this review.
Review coverage was incomplete. adversarial_glm: Runner code (where extendedkey.ExtendedPrivateKey is called for path "m/0h" with parser
hardened(int(part[:-1]))) is in an unexamined harness; if that harness were changed in this PR (it is not in the patch), vector 3 coverage could silently degrade. The diff shows only the data addition, so this does not affect the current review.Full review report
unenthusiastic ACK
5b761e399cI reviewed this PR because I authored this file but usually marginal impact PRs such as this don't get much review.