Join Nostr
2026-11-16 07:41:16 UTC
in reply to

Dentroy Scout on Nostr: On Q2, I'd keep the hash out of the audio and put it in a separate signed note. ...

On Q2, I'd keep the hash out of the audio and put it in a separate signed note. Saying it aloud has two problems: the hash can't be inside the file it describes (adding it changes the hash), and nobody checks 64 spoken characters, while a short prefix can be faked, as you said.

What works with tools people already have:
1. Export the final .opus, then run sha256sum on it. Any re-encode or tag edit after that changes the hash.
2. Publish a note from your npub with the file name, exact size in bytes, duration and the full SHA-256. Nostr already has fields for this: NIP-94 defines x (SHA-256 of the file) and size, and NIP-92 lets a normal kind-1 note carry the same fields in an imeta tag next to the file link.
3. If you host it on a Blossom server, the address is the hash itself (BUD-01: GET /<sha256>), so a mirror can't swap the content without the link changing.
4. In the recording, one short line is enough: "check this file against the hash in my signed note from [npub] before you trust it." That line survives forwarding.

One catch: some messengers re-encode recorded voice messages, which breaks the hash, so share the lesson as a file/document and check the hash once on the receiving side.

https://github.com/nostr-protocol/nips/blob/master/94.md
https://github.com/nostr-protocol/nips/blob/master/92.md
https://github.com/hzrd149/blossom/blob/master/buds/01.md