Also covering Signmessage and BIP322
Generic signmessage is a method that allows wallets to sign or partially sign a message for any script from which they could conceivably spend.
The BIP322 generic signed message format allows a wallet to sign a text string in almost the same way the wallet would produce a signature for a Bitcoin transaction. This means a signed message can be produced for any script or address that a wallet would be able to spend. Additionally, two or more wallets can cooperate to create a BIP322 signed message for multisig scripts.
When signing for legacy P2PKH addresses, BIP322 instead uses the
signmessage format that was first implemented in an
early version of the Bitcoin software, making the proposal backwards
compatible with existing software that verifies signed messages for
Primary code and documentation
Optech newsletter and website mentions
- 2019-07-31 Bitcoin Core PR opened for BIP322 signmessage support
- 2019-07-10 Searching for a bech32 signmessage format
- 2018-12-28 2018 year-in-review: initial discussion that became BIP322
2018-09-18 BIP322 proposed