How do you verify that a pubkey and a signature came from a specific xpub in a miniscript? #791
Unanswered
matthiasdebernardini
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Unfortunately I think the only way to do this is to extract the signature from the PSBT (from |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you made a psbt from a wsh descriptor, then gave it to someone to sign and they return it, how would you verify that they did in fact sign it without fully satisfying it yourself and then using psbt finalizer?
I originally figured I could parse the xpubs in a descriptor, then do bip32 derivations until I could find one that matches whats in the partial_sigs field of a signed psbt but now I realize there is more to it than that.
My goal is to only add signatures to a psbt if the other party has already added theirs first.
I'm hoping that I overlooked some aspect of the API to do this.
I am using the mint005 descriptor https://github.com/Blockstream/miniscript-templates/blob/main/mint-005.md and I am referring to the layer one spend.
This is an example of the descriptor but with keys
Beta Was this translation helpful? Give feedback.
All reactions