From bff9b822844bfebdf724f1bb0b6403e0aacad0fd Mon Sep 17 00:00:00 2001 From: Jeremy Tubongbanua Date: Wed, 14 Feb 2024 10:09:04 -0500 Subject: [PATCH 1/4] docs: rename user key to shared key --- specification/at_protocol_specification.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/at_protocol_specification.md b/specification/at_protocol_specification.md index ef47b31..a91852c 100644 --- a/specification/at_protocol_specification.md +++ b/specification/at_protocol_specification.md @@ -82,7 +82,7 @@ atServer can be any of the following 5 types: > The owner of the atServer should be allowed to update or delete the > value of a private key. -3. User key +2. Shared Key * A user key can only be looked up by an atSign owner with whom the data has been shared. From 27ee1ced81a3a0236d72c115f6cb79ed97cc262f Mon Sep 17 00:00:00 2001 From: Jeremy Tubongbanua Date: Wed, 14 Feb 2024 10:15:46 -0500 Subject: [PATCH 2/4] docs: remove privatekey: --- specification/at_protocol_specification.md | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/specification/at_protocol_specification.md b/specification/at_protocol_specification.md index a91852c..1474890 100644 --- a/specification/at_protocol_specification.md +++ b/specification/at_protocol_specification.md @@ -68,17 +68,6 @@ atServer can be any of the following 5 types: > The owner of the atServer should be allowed to update or delete the > value of a public key. -2. Private Key - - * A private key is a key which cannot be looked up any atSign user other - than the one created it. - * A private key should not be returned in a _scan_ verb result. - * Format of the private key should be **privatekey::<@sign>**. - - **Example:** - - `privatekey:pk1@alice` - > The owner of the atServer should be allowed to update or delete the > value of a private key. @@ -101,12 +90,12 @@ atServer can be any of the following 5 types: > The owner of the atServer should be allowed to update or delete the > value of a user key. -4. Internal Key +3. Internal Key * Internal keys start with an underscore(\_) and are not displayed in scan results. Internal keys can be looked up only by the owner of the atServer. -5. Cached Key +4. Cached Key * A cached key is a key that was originally created by another atSign user but is now cached on the atServer of another user's atSign as he/she was @@ -841,7 +830,7 @@ authenticated atSigns can use the `delete` verb. The following is the regex of the `delete` verb: -`^delete(:priority:(?low|medium|high))?(:cached)?(:((?public)|(@(?[^:@\s]+))))?:(?(([^:@\s]+)|(privatekey:at_secret)))(@(?[^:@\s]+))?$'` +`^delete(:priority:(?low|medium|high))?(:cached)?(:((?public)|(@(?[^:@\s]+))))?:(?(([^:@\s]+)|(at_secret)))(@(?[^:@\s]+))?$` **Example:** From f12cf77608d20e0bb819fe873b16be2740c6ebeb Mon Sep 17 00:00:00 2001 From: Jeremy Tubongbanua Date: Wed, 14 Feb 2024 10:18:33 -0500 Subject: [PATCH 3/4] docs: make linter happy --- specification/at_protocol_specification.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/at_protocol_specification.md b/specification/at_protocol_specification.md index 1474890..a19a802 100644 --- a/specification/at_protocol_specification.md +++ b/specification/at_protocol_specification.md @@ -67,7 +67,6 @@ atServer can be any of the following 5 types: > The owner of the atServer should be allowed to update or delete the > value of a public key. - > The owner of the atServer should be allowed to update or delete the > value of a private key. From 271808e0b68b1dfc75eaf80a3ee232a3deb758ec Mon Sep 17 00:00:00 2001 From: Jeremy Tubongbanua Date: Wed, 14 Feb 2024 13:14:49 -0500 Subject: [PATCH 4/4] docs: --- specification/at_protocol_specification.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/specification/at_protocol_specification.md b/specification/at_protocol_specification.md index a19a802..592c6c1 100644 --- a/specification/at_protocol_specification.md +++ b/specification/at_protocol_specification.md @@ -67,8 +67,6 @@ atServer can be any of the following 5 types: > The owner of the atServer should be allowed to update or delete the > value of a public key. - > The owner of the atServer should be allowed to update or delete the - > value of a private key. 2. Shared Key