Vitor Pamplona on Nostr: One of the main misunderstandings with NIP 95 is the thinking that relays will save ...
One of the main misunderstandings with NIP 95 is the thinking that relays will save content in base64 in a regular database together with everything else. That is shortsighted.
While that can be true for the early days and small files, in practice relays can easily decompose the JSON event, remove the binary content, save it separately and reassemble it when requested. As long as the signature matches, they can do whatever they want with it.
This is specially true when a relay joins text search indexing (NIP 50) and natural language processing with the text in the file or image/video tagging/summarization capabilities when media.
We are so early.
Published at
2023-04-27 02:17:37Event JSON
{
"id": "faf69f6586130ec15ce1a10b6cefcc1e9dcd60ed897b8f3559657815f12b5a4e",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1682561857,
"kind": 1,
"tags": [],
"content": "One of the main misunderstandings with NIP 95 is the thinking that relays will save content in base64 in a regular database together with everything else. That is shortsighted. \n\nWhile that can be true for the early days and small files, in practice relays can easily decompose the JSON event, remove the binary content, save it separately and reassemble it when requested. As long as the signature matches, they can do whatever they want with it. \n\nThis is specially true when a relay joins text search indexing (NIP 50) and natural language processing with the text in the file or image/video tagging/summarization capabilities when media. \n\nWe are so early. ",
"sig": "78afef7a3fc502a91711d4894a3e1ae5061f4b1eaa2fdcf4fd47a3fd657d780b0ef1acc6207031e3148f2e593310d2aae87fcf1e1433d9d33d96058153525f82"
}