Open rikmeijer opened 2 weeks ago
This should already be covered by NIP 94 + blossom, it just needs to be adopted.
Was looking for that, but could not find it. Thanks!!Op 8 nov 2024 17:42 schreef hodlbod @.***>: This should already be covered by NIP 94 + blossom, it just needs to be adopted.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
NIP-92 defines the 'imeta' tag which can have a SHA-256 hash ('x' field): https://github.com/nostr-protocol/nips/blob/master/92.md
It refers to NIP-94 which defines the fields.
Relays can also be blossom servers https://github.com/hzrd149/blossom but don't have to be.
That looks a lot like what I had in mind, but then worked out. Excellent!
Abstract This proposal addresses the issue of misleading or deceptive edits to static media content (in event contents), often used to exploit emotions and drive unwanted interactions. This proposal suggests implementing SHA-256 checksums for static content in Nostr events to enhance content integrity, prevent abuse, and facilitate scalable, safe distribution across the network.
Problem Statement On social media, malicious actors commonly exploit the flexibility of post edits to deceive audiences. For instance, a widely shared post about a missing pet can later be edited to promote unrelated products. This practice erodes trust, making users reluctant to share or believe legitimate information. The same risk applies to Nostr, where URLs can be embedded in events to point to images or other static resources that, without verification, could be swapped for unrelated or malicious content.
Solution We propose adding a SHA-256 checksum as a “static-tag” in Nostr events to ensure the integrity of static resources. The tag will follow the format ['static', <url>, \<sha256-checksum>], allowing clients and relays to verify that the static content remains unchanged over time. This will protect users from deceptive edits while preserving trust in shared content.
Implementation Details
Relays implementing this NIP MUST provide an HTTP interface for downloading cached static files:
Advantages • Integrity and Trust: Prevents malicious edits to embedded content, building user trust. • Efficiency: Reduces server load by distributing static content through relay caching. • Safety: Protects users from scams and manipulations that exploit emotional triggers.
Conclusion Incorporating SHA-256 checksums for static content in Nostr events provides a robust mechanism to maintain content integrity, build trust, and optimize scalability. This addition will enhance the Nostr ecosystem, making it safer and more reliable for users.