Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verifiable media [Feature Request] #994

Open
alltheseas opened this issue Apr 21, 2023 · 1 comment
Open

Verifiable media [Feature Request] #994

alltheseas opened this issue Apr 21, 2023 · 1 comment

Comments

@alltheseas
Copy link
Collaborator

alltheseas commented Apr 21, 2023

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

@alltheseas alltheseas changed the title Verifiable media [NIP-94][Feature Request] (WIP) Verifiable media [Feature Request] May 1, 2023
@alltheseas
Copy link
Collaborator Author

related to #2387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant