Skip to content

Musig2 - Problem with verification using x-only public keys #1684

Answered by sipa
Loopite asked this question in Q&A
Discussion options

You must be logged in to vote

x-only pubkeys are only ever signed for using the private key corresponding to the equivalent even full public key (the BIP340 signing algorithm will negate the private key internally if need be for this).

MuSig2 aggregation/signing needs to do the same thing if you'd be working with x-only input keys: treat them as even public keys for aggregation purposes, and conditionally negate the private key at signing time to account for that.

But again, this isn't normally needed if you're talking about normal transaction signing. The verifier in this case doesn't know or care what the individual public keys were, or even that MuSig2 was used at all.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Loopite
Comment options

@sipa
Comment options

sipa Jun 7, 2025
Maintainer

Answer selected by Loopite
@Loopite
Comment options

@real-or-random
Comment options

@Loopite
Comment options

@sipa
Comment options

sipa Jun 18, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants