florian on Nostr: Hash formats are the same (SHA256) but with one (big) caveat: NIP-96 allows for the ...
Hash formats are the same (SHA256) but with one (big) caveat: NIP-96 allows for the server to transform the content (unless explicitly disabled) and in this case the hash in the url does not match the content returned from the API any more.
NIP-96 also allows different (custom) url endpoints afair - so building the URLs is more flexible but less straightforward than with blossom.
Published at
2025-02-24 15:09:35Event JSON
{
"id": "e401338f225c70ec8d6766114acad7be0353341f9e93f133fd67529bd1b5b141",
"pubkey": "b7c6f6915cfa9a62fff6a1f02604de88c23c6c6c6d1b8f62c7cc10749f307e81",
"created_at": 1740409775,
"kind": 1,
"tags": [
[
"e",
"44c40687681f892620bf6f105ff586848a35921339f94a656daf844b8310fe6a",
"wss://soloco.nl",
"root"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0"
]
],
"content": "Hash formats are the same (SHA256) but with one (big) caveat: NIP-96 allows for the server to transform the content (unless explicitly disabled) and in this case the hash in the url does not match the content returned from the API any more. \nNIP-96 also allows different (custom) url endpoints afair - so building the URLs is more flexible but less straightforward than with blossom. ",
"sig": "75d7cc4dbdf160142929a43d555192a1ddf11da240d2cadda61b378bfd07ee21715a2b8065366e3ecfa736704273173a2e1ef922394e1c738e3edf837a22f915"
}