-
Notifications
You must be signed in to change notification settings - Fork 296
Open
Description
User Story
As a Damus user that consumes media on nostr, I would like Damus to verify for me that the server has not changed the file hyperlink, so that I do not have someone else's images loading,
Acceptance Criteria
- Damus crunches image hash on file upload,
- Damus detects if image hash has been changed,
- If hash has been changed, image is not loaded,
- A warning is displayed to user: image may have changed.
context
Will:
Damus will have verifiable images soon without all these options. It just needs to download the picture again after it was uploaded (since it could have compressed it, removed tags), calculate the hash, and add it to the backwards compatible image metadata tags.
I dunno why it needs to be more complicated than this.
Https://damus.io/note1pd9zzccpch2daajua7khvsddvlg7xj82m3tl8jcnxvjk6tq4j8qqdd9hsv
@vitorpamplona NIP-94 implementation is not backward compatible
https://damus.io/note1rpxwvk8e7lpsk7fd5c4dhg8rq9ys3p6qfg2t7v630sjl5j2g0f8sr2upz9