Replying to Avatar Mike Dilger ☑️

There have been a few proposals, such as putting the files on nostr in base32, PR 751 media attachments, etc.

I think your comment is important. I don't like the single-URL references. Because events can't easily be censored (we can copy them elsewhere and nothing breaks) but URLs can. It must be that the file reference doesn't break if the files have to be moved.

I suggest using a SHA256 hash of the file as the file reference, with an indication of some sort of distributed storage (DHT, IPFS, etc) which should be flexible so that alternate distributed storage schemes can be added over time. The hash of the file will never become a broken link.

Avatar
StephanGuy 2y ago

not sha256 use blake3

https://www.youtube.com/watch?v=nk4nefmguZk

and check out iroh which is ipfs using blake3

https://github.com/n0-computer/iroh

Reply to this note

Please Login to reply.

Discussion

No replies yet.