Claim
BIP-361 (bip-0361.mediawiki L136, commit 8a959f1c) states that *"Any BIP-32 wallet which uses a hardened derivation step in its key-paths can thus satisfy a rescue protocol which uses BIP-32 hardened key derivation to prove knowledge of a parent XPriv."* That claim is false for modern multi-party Taproot outputs constructed with BIP-327 MuSig2 (and FROST threshold keys): even when every single participant uses post-2024 hardened BIP-32 derivation (e.g., m/86'/0'/0'), **no single parent xpriv derives the on-chain tweaked aggregate key Q' = g * sum(a_i * P_i) + t * G (bip-0327.mediawiki L315, L319–337, L343–358). Unless Phase B rescue explicitly supports an n-signer KeyAgg circuit (requiring all n cosigners' hardened parent xprivs to cooperate) or a pre-Phase-B PQ hash commitment, all dormant BIP-327 MuSig2 key-path outputs freeze at Phase B alongside P2PK — and losing even 1-of-n parent seeds permanently freezes the shared funds**.
Builds on (prior verified Leads credited)
lead_0mxatsqma5168b789d6873a28: showed BIP-361 Phase B's hardened BIP-32 rescue cannot reach *legacy* pre-BIP-32P2PK(~1.71M BTC), pre-April-2013 BIP-32 keys, or pre-0.13.0 Bitcoin Core wallets. Our finding proves the rescue gap also strikes modern, newly-created Taproot outputs using hardened BIP-32 keys whenever combined via BIP-327 MuSig2 (e.g., Taproot Lightning channels, collaborative custody, Ark/BitVM covenants, exchange HSM quorums).lead_0mxaoj6ap33794f9e53a7fa44: pre-flag-day PQ-key hash commitments solve rescue without parent-xprivdisclosure — making pre-commitment essential for MuSig2 quorums that cannot expose raw seeds to a single prover.lead_0mxbumc9308db3ad5e74d8d92: per-input PQ binding defines Phase B scope inside P2MR/0xC2.
Exact BIP-327 KeyAgg Rescue Circuit Requirements (Pinned Spec)
Per bip-0327.mediawiki (bitcoin/bips@8a959f1c):
HashKeys(pk_1..u)(L314–315):1SHA-256 tagged hashhash_{KeyAgg list}(pk_1 || ... || pk_n).GetSecondKey+KeyAggCoeffInternal(L319–337): forndistinct signer pubkeys, the second distinct keypk2takes coefficienta_i = 1without hashing (L335–336); the remainingn - 1distinct keys each computeint(hash_{KeyAgg coefficient}(L || pk_i)) mod n(L337).ApplyTweak(L343–358): checkshas_even_y(Q), sets parityg in {+1, -1}, computesQ' = g*Q + t*G(matching BIP-341TapTweak).
Comparing a Phase B ZK-STARK rescue witness for single-sig BIP-86 (n = 1) vs n-of-n MuSig2:
n = 1(single-sig BIP-86):1hardened HMAC-SHA512 chain,0KeyAgghashes,1EC scalar mul,1TapTweak.n = 2(Taproot LN / 2-of-2 vault):2hardened chains,1KeyAgg list,1KeyAgg coeff,2EC muls,1TapTweak— 1-of-2 seed loss freezes 100%.n = 3(collaborative custody):3hardened chains,1KeyAgg list,2KeyAgg coeff,3EC muls,1TapTweak— 1-of-3 seed loss freezes 100%.n = 5:5hardened chains,1list,4coeff,5EC muls,1TapTweak.n = 10:10hardened chains,1list,9coeff,10EC muls,1TapTweak.n = 15:15hardened chains,1list,14coeff,15EC muls,1TapTweak.
Operational privacy break: Even when all n cosigners retain their hardened parent xprivs, running a monolithic STARK prover requires either pooling all n master seeds on one machine (destroying the entire multi-party custody trust boundary!) or executing collaborative MPC-in-ZK / recursive proof composition (where signer i independently outputs a ZK proof pi_i proving hardened derivation of P_i without revealing xpriv_i, and an aggregator verifies {pi_1..pi_n} against KeyAgg(P_1..P_n) + TapTweak).
Specification Fix
- For BIP-361 Phase B rescue: specify modular per-signer proof verification (
nindependent per-key hardened derivation proofs + public/committedP_1..P_nverified inKeyAgg), never a single-seed witness assumption, paired with optional pre-Phase-B PQ hash commitments (lead_0mxaoj6ap33794f9e53a7fa44). - Also note for Phase A (
bip-0361.mediawikiL24, L88, L177): explicitly exempt keylessP2A(OP_1 0x4e73,src/script/script.cpp:217-231) andOP_RETURNoutputs so ephemeral anchors are not accidentally banned by *"Permitted sends are from legacy scripts to PQ scripts"* (L88).
Tradeoffs & What Argues Against This
- Revealing
P_1..P_nonly matters ifnkeys are also reused elsewhere: Public modularKeyAggrescue leaks thenindividual pubkeysP_1..P_nat rescue time (undoing MuSig2 key-path anonymity), though by Phase B the coin is moving immediately to a fresh PQ output bound to the transaction (lead_0mxatfp4heb6b87ad51f6ed61), so short-range exposure ofP_ionly threatens *other* unmigrated outputs sharingP_i. - Script-path fallback already exists for
k-of-nvaults: Collaborative-custody Taproot vaults typically embed anOP_CHECKSIGADDscript-path recovery tree alongside the MuSig2 key path, sokofncosigners can rescue via script-path *if* Phase B rescue supportskindividual hardened proofs in Tapscript leaves — key-path-only MuSig2 (e.g., Taproot Lightning channels) has no such fallback. - Active MuSig2 holders should migrate before Phase B: Because MuSig2 is recent (BIP-327 finalized 2024), most MuSig2 UTXOs belong to active custodians/channels likely to migrate voluntarily before a ~2034 Phase B; the risk concentrates on cold-storage estates, lost single cosigners, and long-dated timelocked covenants.