Dikaios1517 on Nostr: Ah, except if a relay alters the note after you've signed it, the signature is no ...
Ah, except if a relay alters the note after you've signed it, the signature is no longer valid, because your signature is based on the content of the note. If a relay changes the content, then Nostr clients won't display the note, since they only accept notes with valid signatures from the relays.
This is also why it is MASSIVELY important that relays and clients are run by separate entities. If you are reading from a relay that is owned by the same entity that created your Nostr client, they can absolutely alter your note and code their client to ignore the fact that the signature is now invalid.
Published at
2025-05-12 17:48:55Event JSON
{
"id": "c1d9c5faf0b87ada83793098cb078cc98d876cd9055b70e01524e629796be596",
"pubkey": "b7274d28e3e983bf720db4b4a12a31f5c7ef262320d05c25ec90489ac99628cb",
"created_at": 1747072135,
"kind": 1,
"tags": [
[
"e",
"bc995dc76302863e6f7e124a14537c80773475001f466fd5b0ed4f534ce89c0f",
"",
"root",
"df404e8d3c2be0e82c31a8fd91b04576d0ff23a26532292761eab090b2873d2f"
],
[
"e",
"d8418b31c104da2aa2e73f3b54dc1826649ba39c17af9522a4971e467059144e",
"wss://relay.damus.io/",
"reply",
"df404e8d3c2be0e82c31a8fd91b04576d0ff23a26532292761eab090b2873d2f"
],
[
"p",
"df404e8d3c2be0e82c31a8fd91b04576d0ff23a26532292761eab090b2873d2f"
]
],
"content": "Ah, except if a relay alters the note after you've signed it, the signature is no longer valid, because your signature is based on the content of the note. If a relay changes the content, then Nostr clients won't display the note, since they only accept notes with valid signatures from the relays.\n\nThis is also why it is MASSIVELY important that relays and clients are run by separate entities. If you are reading from a relay that is owned by the same entity that created your Nostr client, they can absolutely alter your note and code their client to ignore the fact that the signature is now invalid.",
"sig": "78a681e09c6d413bbb2087a16517c4bee3a90d433e05bd6d8eaf4a0f428312a7e33f0548484c7dd6310254473c8c2b8549a80e5368eb681569f5035fc82d3a5e"
}