ecdsa sign message contract#70
Conversation
89f2ab1 to
a4479a3
Compare
|
Why provide both the nonce point and But stepping back -- this seems like a terrible idea to me. The "signmessage" functionality is intentionally domain-separated by this This is in addition to how inherently inefficient this scheme is. |
Got it, thx, will do the optimization if we decide to proceed with the approach
As I understand, this is related to the second part (correct me if I am wrong)
Created this: Blockstream/Jade#296 If I understand you correctly you wanna have the approach the prevents blind signing by default, while spending the Simplicity input on the Jade
Fully agree Thought this PoC was the best way to quickly explain the problem faced by guys on Simplicity Lending and have a discussion |
Yes. The Jade needs to know what transaction it's signing (at least, it needs to know that it's signing a transaction!). |
The new
bitcoin_message_ecdsa_verifycontract verifies an ECDSA signature over the Bitcoin signed-message digest derived from the Simplicitysig_all_hash. This makes it possible to satisfy and spend a Simplicity contract using a signature produced by Jade’ssign_messageanti-exfil flow.