upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Fernandez <p@f7z.io>2023-10-19 11:50:05 +0300
committerPablo Fernandez <p@f7z.io>2023-10-19 11:50:05 +0300
commit9e15edba1c3508cc89a54ce4b1f144c2e72b463b (patch)
treea829d1d4a0d01ea92986b831bce5d30da12a7dc5
parent3b1d74e116230e7f37effd108536943557633472 (diff)
add optional mute tag
-rw-r--r--41.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/41.md b/41.md
index 5c6d801..a181518 100644
--- a/41.md
+++ b/41.md
@@ -51,7 +51,8 @@ When the user needs to change keys they sign an event `kind:1777` with the new k
51 [ "e", "<kind:1776-event-id>" ], 51 [ "e", "<kind:1776-event-id>" ],
52 [ "proof", "<kind:1040-event-id>" ], 52 [ "proof", "<kind:1040-event-id>" ],
53 [ "alt", "pubkey migration event" ], 53 [ "alt", "pubkey migration event" ],
54 [ "relays", "relay1", "relay2" ] 54 [ "relays", "relay1", "relay2" ],
55 [ "mute" ]
55 ] 56 ]
56} 57}
57``` 58```
@@ -60,6 +61,7 @@ When the user needs to change keys they sign an event `kind:1777` with the new k
60* `e` tag MUST list the `kind:1776` event that whitelisted the new pubkey. 61* `e` tag MUST list the `kind:1776` event that whitelisted the new pubkey.
61* `proof` tag MUST list the `kind:1040` event that provides the Opentimestamp data of the `kind:1776` event. 62* `proof` tag MUST list the `kind:1040` event that provides the Opentimestamp data of the `kind:1776` event.
62* `relays` tag SHOULD list relays where both `kind:1776` and `kind:1040` events can be found. 63* `relays` tag SHOULD list relays where both `kind:1776` and `kind:1040` events can be found.
64* `mute` is optional If it's present, clients SHOULD mute the old pubkey. Users who are migrating because of a compromised key can use this to protect their followers.
63* `.content` SHOULD be ignored; users can optionally write a message explaining the migration. 65* `.content` SHOULD be ignored; users can optionally write a message explaining the migration.
64 66
65## Following the new pubkey 67## Following the new pubkey