upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Pamplona <vitor@vitorpamplona.com>2025-02-18 22:08:36 -0500
committerGitHub <noreply@github.com>2025-02-18 19:08:36 -0800
commit619e3bea57860d4c3b1d3f97587727a94b12a82e (patch)
tree589f82c4e650bcd94d950ccc088ba50e9796c483
parent330de34c7cc8fc6f34e3dec076f20ceb1af94927 (diff)
Right to Vanish (#1256)
Co-authored-by: fiatjaf_ <fiatjaf@gmail.com> Co-authored-by: K <kehiiiiya@gmail.com>
-rw-r--r--62.md61
-rw-r--r--README.md2
2 files changed, 63 insertions, 0 deletions
diff --git a/62.md b/62.md
new file mode 100644
index 0000000..a00ddfc
--- /dev/null
+++ b/62.md
@@ -0,0 +1,61 @@
1NIP-62
2======
3
4Request to Vanish
5-----------------
6
7`draft` `optional`
8
9This NIP offers a Nostr-native way to request a complete reset of a key's fingerprint on the web. This procedure is legally binding in some jurisdictions, and thus, supporters of this NIP should truly delete events from their database.
10
11## Request to Vanish from Relay
12
13Kind `62` requests a specific relay to delete everything, including [NIP-09](09.md) Deletion Events, from the `.pubkey` until its `.created_at`.
14
15```jsonc
16{
17 "kind": 62,
18 "pubkey": <32-byte hex-encoded public key of the event creator>,
19 "tags": [
20 ["relay", "<relay url>"]
21 ],
22 "content": "<reason or note>",
23 //...other fields
24}
25```
26
27The tag list MUST include at least one `relay` value.
28
29Content MAY include a reason or a legal notice to the relay operator.
30
31Relays MUST fully delete any events from the `.pubkey` if their service URL is tagged in the event.
32
33Relays SHOULD delete all [NIP-59](59.md) Gift Wraps that p-tagged the `.pubkey` if their service URL is tagged in the event, deleting all DMs to the pubkey.
34
35Relays MUST ensure the deleted events cannot be re-broadcasted into the relay.
36
37Relays MAY store the signed request to vanish for bookkeeping.
38
39Paid relays or relays that restrict who can post MUST also follow the request to vanish regardless of the user's status.
40
41Publishing a deletion request event (Kind `5`) against a request to vanish has no effect. Clients and relays are not obliged to support "unrequest vanish" functionality.
42
43Clients SHOULD send this event to the target relays only.
44
45## Global Request to Vanish
46
47To request ALL relays to delete everything, the event MUST include a `relay` tag with the value `ALL_RELAYS` in uppercase.
48
49```jsonc
50{
51 "kind": 62,
52 "pubkey": <32-byte hex-encoded public key of the event creator>,
53 "tags": [
54 ["relay", "ALL_RELAYS"]
55 ],
56 "content": "<reason>",
57 //...other fields
58}
59```
60
61Clients SHOULD broadcast this event to as many relays as possible.
diff --git a/README.md b/README.md
index 6ec75af..7cb749d 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
77- [NIP-59: Gift Wrap](59.md) 77- [NIP-59: Gift Wrap](59.md)
78- [NIP-60: Cashu Wallet](60.md) 78- [NIP-60: Cashu Wallet](60.md)
79- [NIP-61: Nutzaps](61.md) 79- [NIP-61: Nutzaps](61.md)
80- [NIP-62: Request to Vanish](62.md)
80- [NIP-64: Chess (PGN)](64.md) 81- [NIP-64: Chess (PGN)](64.md)
81- [NIP-65: Relay List Metadata](65.md) 82- [NIP-65: Relay List Metadata](65.md)
82- [NIP-68: Picture-first feeds](68.md) 83- [NIP-68: Picture-first feeds](68.md)
@@ -130,6 +131,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
130| `42` | Channel Message | [28](28.md) | 131| `42` | Channel Message | [28](28.md) |
131| `43` | Channel Hide Message | [28](28.md) | 132| `43` | Channel Hide Message | [28](28.md) |
132| `44` | Channel Mute User | [28](28.md) | 133| `44` | Channel Mute User | [28](28.md) |
134| `62` | Request to Vanish | [62](62.md) |
133| `64` | Chess (PGN) | [64](64.md) | 135| `64` | Chess (PGN) | [64](64.md) |
134| `818` | Merge Requests | [54](54.md) | 136| `818` | Merge Requests | [54](54.md) |
135| `1018` | Poll Response | [88](88.md) | 137| `1018` | Poll Response | [88](88.md) |