nucypher / taco-web

🌮 A TypeScript client for TACo (Threshold Access Control)
https://docs.threshold.network/app-development/threshold-access-control-tac
GNU General Public License v3.0
17 stars 23 forks source link

Does Enrico sign plaintext? Ciphertext? Both? #157

Closed jMyles closed 9 months ago

jMyles commented 1 year ago

The age-old of encrypt-then-sign or sign-then-encrypt - what forward compatibility do we want to offer?

When in the runtime do these signatures occur? Can Enrico pre-sign and store?

Use case example:

Enrico is a book author. He wishes to provide preview snippets for Bob to search as Bob considers purchasing the book. In order to ensure that Bob is receiving snippets from the actual text, they can signed by the same secret ultimately used to sign the book.

arjunhassard commented 1 year ago

No forward compatibility issue here so bumping to next version. First adopter set will not distinguish (wrt client) between 'Alice' and 'Enrico'.

arjunhassard commented 9 months ago

Closed by https://github.com/nucypher/nucypher/pull/3194