Repository navigation
NestedMuSig2: F2–F5 fixes preserving author's X-only binding - #1
Merged
patrickdugan merged 19 commits intoOct 22, 2026
Conversation
…nts with X-only nonce binding
…before nonce generation
…ding and root aggregation
…re length rejection
… input while retaining X-only hash
…ernal key encoding
patrickdugan
marked this pull request as ready for review
October 22, 2026 09:02
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.
Rebased conformance fixes for Beulah Evanjalin's NestedMuSig2 draft, starting from her commit 4523ee0 (October 15, 2026).
Respects the author's choice: the intermediate binding factor remains
H(aggnonce || xbytes(Q))with a 32-byte X-only aggregate point encoding. No multi-level test vectors change. The publicNonceAggExtAPI accepts a 33-byte plain key, as the spec says, and converts it to the chosen X-only hash representation.Changes:
Review status: structural source checks passed on the branch. Complete test scripts have not been run in this environment. Before ready:
cd bip-nested-musig2 sh tests.sh python3 tests/multi-level-tests/nested_examples.pyRelated: Upstream proposal, author's F1 clarification, original review, historical F1–F5 PR.
This local review PR is based directly on the author's selected X-only implementation. Cross-fork PR submission requires GitHub permission from the connected integration.