-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about "the right partial sig" in multi-hop-locks.md #32
Comments
I'm not sure if I fully understand your problem. |
Thanks for the clarification. If I understand correctly, we need to look more in depth into the equations. If B sends
Hence, I hope that helps. |
Thank you, that helps with my understanding. I forgot that the adaptor is also part of the hash to be signed, which is I believe to prevent forging signatures for relative private keys... Last question: That means that if the adaptor wasn't part of the hash then B could only send |
I don't think so.
which means that There's a variant of adaptor signatures where the "adaptor is not part of the hash": A sends
I tried this version in an initial writeup of the multi-hop scheme, but switched away from it for reasons I don't remember anymore. |
I can follow the second example, great! For my prior example I want to make sure you saw the "and |
Yes that'd be a valid sig. But you mentioned that T wouldn't be input to the hash which would then result in the equation I wrote in my reply. |
Excuse me for being vague and inaccurate, by "T" missing from the hash I actually meant "R and T" missing from the hash. So I was talking about a scenario where only the message |
If R is missing from the hash it's not a Schnorr signature either. If your public key is
which would be a valid signature (if R wasn't hashed). |
It is all clear now, thank you. |
Thank you for the thorough description of PTLCs in https://github.com/BlockstreamResearch/scriptless-scripts/blob/master/md/multi-hop-locks.md.
My question is if the multi hop lock scheme would still work as intended if the partial signatures of the right sides
psig(j,m,T)
wouldn't be tweaked with the adaptor, but if only the left sides' partial signatures would be required to be offset byt
to form a valid signature, e.g.sig = psig(i,m,T) + psig(j,m) + t
?The text was updated successfully, but these errors were encountered: