01a0919b - feat(bip322-multisig)!: BIP-322 Complete prefixes and PSBT message field - #232
Conversation
…message field BREAKING CHANGE: extractBip322Signature now returns an smp-prefixed simple signature (no colon). Verifiers still accept unprefixed simple signatures. to_sign PSBTs set PSBT_GLOBAL_GENERIC_SIGNED_MESSAGE (0x09).
|
EN: DE: DetailsFour-lane review at One Codex logic note about Node's lenient Comment gate: no open issue comments, reviews, or review threads. |
EN:
Updates
@dfx.swiss/bip322-multisigto BIP-322 Complete simple signatures (smpprefix, no colon) and sets PSBT global0x09to the UTF-8 message.Unprefixed simple signatures still verify.
extractBip322Signatureis a breaking change.DE:
Zieht
@dfx.swiss/bip322-multisigauf BIP-322 Complete Simple-Signaturen (smp-Prefix, kein Doppelpunkt) und setzt das PSBT-Global0x09auf die UTF-8-Nachricht.Unpräfixierte Simple-Signaturen prüfen weiterhin.
extractBip322Signatureist ein Breaking Change.Details
BIP-322 v1.0.0 (Complete) requires a human-readable prefix on encoded signatures (
smp/ful/pof) and a new PSBT global fieldPSBT_GLOBAL_GENERIC_SIGNED_MESSAGE(0x09) so hardware wallets can display the message being signed.This package still only produces and verifies simple P2WSH signatures. Full / proof-of-funds variants are rejected by
verifyBip322P2wshSignature. Official BIP P2WSH 3-of-3 test vectors are vendored.Do not hand-bump the package version; Lerna publish owns that.