diff options
| author | alltheseas <64376233+alltheseas@users.noreply.github.com> | 2025-10-27 12:56:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-27 10:56:47 -0700 |
| commit | bcaad2957d0e9cec20e4265298d2788be87d3190 (patch) | |
| tree | 3d215c8fbe525a5bfe56f1b8131dfa97b8f85c8e /59.md | |
| parent | 6e6b9877b32b44e84c0f3c3d412d688cf86761b0 (diff) | |
Enhance metadata/timestamp protection guidance in NIP-59 (#2095)
Diffstat (limited to '59.md')
| -rw-r--r-- | 59.md | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -97,6 +97,9 @@ To protect recipient metadata, relays SHOULD only serve `kind 1059` events inten | |||
| 97 | When possible, clients should only send wrapped events to `read` relays for the recipient that implement | 97 | When possible, clients should only send wrapped events to `read` relays for the recipient that implement |
| 98 | AUTH, and refuse to serve wrapped events to non-recipients. | 98 | AUTH, and refuse to serve wrapped events to non-recipients. |
| 99 | 99 | ||
| 100 | When adding expiration tags to both `seal` and `gift wrap` layers, implementations SHOULD use independent random timestamps for each layer. Using different `created_at` values increases timing variance and helps protect against metadata correlation attacks. | ||
| 101 | |||
| 102 | |||
| 100 | ## An Example | 103 | ## An Example |
| 101 | 104 | ||
| 102 | Let's send a wrapped `kind 1` message between two parties asking "Are you going to the party tonight?" | 105 | Let's send a wrapped `kind 1` message between two parties asking "Are you going to the party tonight?" |