{"type":"rich","version":"1.0","author_name":"npub1q86n5vtxkwerzwfqza3hwls8pl8764244464talfqy2vpj0qaz6q38qwta","author_url":"https://nostr.ae/npub1q86n5vtxkwerzwfqza3hwls8pl8764244464talfqy2vpj0qaz6q38qwta","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2021-11-29\n📝 Original message:\nJust a minor curiosity I figured was worth mentioning on the composition of\ndelegations and anyprevout...\n\nDA: Let full delegation be a script S such that I can sign script R and\nthen R may sign for a transaction T.\nDB: Let partial delegation be a script S such that I can sign a tuple\n(script R, transaction T) and R may sign T.\n\nA simple version of this could be done for scriptless multisigs where S\nsigns T and then onion encrypts to the signers of R and distributes the\nshares. However, under such a model, if T is signed by S with AnyPrevOut,\nthen T is now arbitrarily rebindable. Therefore let us define more strictly:\nDC: Let half-delegation be a script S such that I can sign a tuple (script\nR, transaction T) and R may sign T and revealing T/R does grant\nauthorization to any other party.\n\nThe signer of R could choose to sign with APO, in which case they make the\ntxn rebindable. They could also reveal the private keys for R similarly.\nFor \"correct\" use, R should sign with SIGHASH_ALL, binding the transaction\nto a single instance.\n\nObservation: a tuple script R + transaction T can, in many cases, be\nrepresented by script R || \u003cH(transaction T)\u003e CTV.\nCorollary: half-delegation can be derived from full delegation and a\ncovenant.\n\nTherefore delegation + CTV + APO may be sufficient for making chaperone\nsignatures work, if they are desired by a user.\n\nRemarks:\n\nAPO's design discussion should not revisit Chaperone signatures (hopefully\nalready a dead horse?) but instead consider how APO might compose with\nDelegation proposals and CTV.\n\n--\n@JeremyRubin \u003chttps://twitter.com/JeremyRubin\u003e\n\u003chttps://twitter.com/JeremyRubin\u003e\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211129/a63d9d54/attachment.html\u003e"}
