Skip to content

[BIP322] remove empty message requirement for full (proof-of-funds) proofs#1352

Merged
jonatack merged 11 commits into
bitcoin:masterfrom
ZenulAbidin:ZenulAbidin-patch-1
May 1, 2024
Merged

[BIP322] remove empty message requirement for full (proof-of-funds) proofs#1352
jonatack merged 11 commits into
bitcoin:masterfrom
ZenulAbidin:ZenulAbidin-patch-1

Conversation

@ZenulAbidin
Copy link
Copy Markdown
Contributor

@ZenulAbidin ZenulAbidin commented Aug 13, 2022

Signed messages must be displayed in

, however for that to be possible, there must be a Message in the first place.

This changes removes those requirements of BIP322 that do away with the Message in Full (proof of funds) proof, thereby allowing it to be used as both a proof-of-address-control and proof-of-UTXO-control signature.

Currently, you need to make two separate proofs to demonstrate control over both the address and for UTXOs, since most verifiers are not full nodes and have no UTXO set.

Note: Contrary to what Github claims, there is only one commit being merged here. The other 10 are related to a file that I have already removed. I will rebase the commits when I get a chance.
Note 2: If these delted parts are referring to the address/scriptPubKey, then this PR can be disregarded, but I strongly believe that the spec should mention that Output Points should be filled in the place of the Address field in a signed message [i.e. txid:n strings].

@luke-jr luke-jr added the Proposed BIP modification PR by non-owner to update BIP content label Sep 29, 2022
@kallewoof
Copy link
Copy Markdown
Contributor

The empty requirement was originally proposed by @luke-jr -- I have no strong opinions on the matter, but I'll give him the opportunity to address the suggestion before making a decision.

@murchandamus
Copy link
Copy Markdown
Member

@kallewoof, @luke-jr: What’s the status of this?

@kallewoof
Copy link
Copy Markdown
Contributor

ACK

@jonatack jonatack merged commit 6fc75b1 into bitcoin:master May 1, 2024
guggero added a commit to guggero/bips that referenced this pull request Jun 4, 2026
This is cleaning up an artifact that was left over from bitcoin#1352.
The alternative to removing the optionality of the address
would be to assume OP_TRUE in case of an empty address.
But that sounds like it could open up any number of potential
vulnerabilities.
And a user still has the ability to use an OP_TRUE script
in a p2wsh or p2tr address.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Proposed BIP modification PR by non-owner to update BIP content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants