From 751283f3c901396db33214b150482836e600c9cb Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 2 May 2024 13:43:15 -0400 Subject: [PATCH] Adds public spreadsheet with permission to edit. --- 73.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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