Skip to content

Add BIP: Post-Quantum Signature Opcode for P2MR (v1: ML-DSA-44) - #2381

Closed
everest-an wants to merge 2 commits into
bitcoin:masterfrom
everest-an:bip-p2mr-pq-signature
Closed

everest-an wants to merge 2 commits into
bitcoin:masterfrom
everest-an:bip-p2mr-pq-signature

Conversation

@everest-an

Copy link
Copy Markdown

This PR adds a Draft BIP defining a new tapscript opcode, OP_CHECKSIGPQ, for
post-quantum signature verification inside P2MR script trees (BIP-360).

It supplies the concrete post-quantum signature capability that BIP-360 defers
to "a separate proposal" and that BIP-361 references as the "TBD Post Quantum
Signature BIP". v1 uses ML-DSA-44 (FIPS 204). The leaf commits only H(pk);
the public key and signature are revealed in the witness at spend, so keys stay
hidden at rest (long-exposure protection) while the signature covers the
short-exposure / mempool window.

No new output type is introduced. Activation reuses an OP_SUCCESS opcode, so it
is a soft fork.

Status: Draft. Reference implementation and test vectors are in progress.

Discussion:

@jonatack jonatack closed this Dec 3, 2026
@jonatack

jonatack commented Dec 3, 2026

Copy link
Copy Markdown
Member

Thank you @everest-an for your proposal, but it seems to have been opened here prematurely, without a previous discussion on the mailing list per the README and BIP 3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants