Skip to content

Verifiable media [Feature Request] #994

@alltheseas

Description

@alltheseas

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

  1. Damus crunches image hash on file upload,
  2. Damus detects if image hash has been changed,
  3. If hash has been changed, image is not loaded,
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions