diff --git a/73.md b/73.md index de2fa2a5..6cc579a5 100644 --- a/73.md +++ b/73.md @@ -105,7 +105,7 @@ To decrypt, receivers SHOULD find the ciphertext for their key, decrypt that to Clients SHOULD include the author as a `p` tag to save the secret that will allow the author to decrypt and modify the event further. -## Sharing Encrypted Spreadsheets with Editor permission. +## Sharing Encrypted or Public Spreadsheets with Edit permission. This method allows anyone listed as the `p` tag to edit the Spreadsheet. It follows a similar process to read-only spreadsheets, but instead of signing the event with the author's main key, the event is signed by the shared secret as well. @@ -135,6 +135,6 @@ val keyPair = nostr.generateKeyPair() To edit, receivers SHOULD find the ciphertext for their key, decrypt that to get the shared private key and use the shared private key to encrypt the `.content` and sign the event. +The Client knows when it's user has the permission to edit when the pubkey of the secret matches the pubkey of the event. - - \ No newline at end of file +Spreadsheets MAY have private and public parts at the same time. \ No newline at end of file