Closed Ademan closed 2 months ago
The response for a successful NIP-96 upload includes a NIP-94 event including the "ox" tag.
In addition to the SHA256 original file hash, nostr.build includes the base URL of the server. This is causing nostr-tools to choke on the response.
Arguably, nostr-tools is performing excessive validation, but including the URL does appear to be out of spec.
I don't entirely understand the purpose of including it there, so I'm starting here, to try to understand exactly what's going on.
Fixed and deployed, thanks for pointing it out.
The response for a successful NIP-96 upload includes a NIP-94 event including the "ox" tag.
In addition to the SHA256 original file hash, nostr.build includes the base URL of the server. This is causing nostr-tools to choke on the response.
Arguably, nostr-tools is performing excessive validation, but including the URL does appear to be out of spec.
I don't entirely understand the purpose of including it there, so I'm starting here, to try to understand exactly what's going on.