BIP143: specify which CHECKMULTISIG keys must be compressed #2370

pull jeanpablojp wants to merge 2 commits into bitcoin:master from jeanpablojp:bip143-multisig-pubkeys changing 1 files +12 −0
  1. jeanpablojp commented at 3:16 PM on November 25, 2026: contributor

    BIP143 says each public key passed to a sigop in a v0 witness program must be compressed. In OP_CHECKMULTISIG, Bitcoin Core only checks the keys the opcode reaches, and script_tests.json asserts that an uncompressed key that is never reached passes with WITNESS_PUBKEYTYPE.

    bitcoin/bitcoin#33759 proposed checking every key instead. Reviewers preferred updating the BIP to match the implementation, and the author of that PR was fine with clarifying the BIP. Item 4 of bitcoin/bitcoin#33882 lists both options.

    The second commit adds a paragraph describing the deployed behavior. The first adds a version header and changelog per BIP 3, with 1.0.0 as the move to Proposed in 0402dd2b846e and 1.0.1 as the move to Final in #584.

  2. BIP143: Add version header and changelog section
    Version 1.0.0 is the move to Proposed in 0402dd2b846e and 1.0.1 is the
    move to Final in bitcoin/bips#584.
    c3a84645d4
  3. BIP143: specify which CHECKMULTISIG keys must be compressed
    In OP_CHECKMULTISIG, Bitcoin Core only checks the public keys the opcode
    reaches, and its script tests have vectors where an uncompressed key
    that is not reached passes with WITNESS_PUBKEYTYPE. Reviewers of
    bitcoin/bitcoin#33759 preferred changing the BIP to match, see also
    item 4 of bitcoin/bitcoin#33882.
    d562c0f739
  4. jonatack added the label Proposed BIP modification on Nov 30, 2026
  5. jonatack added the label Pending acceptance on Nov 30, 2026
  6. jonatack commented at 4:18 PM on November 30, 2026: member

    cc BIP authors @sipa @jl2012 for feedback or sign-off


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-12-03 17:10 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me