What is Nostr?
Vitor Pamplona
npub1gcx…nj5z
2023-05-12 13:26:37

Vitor Pamplona on Nostr: Here's the first proposal to send private pictures in NIP-04 DMs from the discussion ...

Here's the first proposal to send private pictures in NIP-04 DMs from the discussion with Kieran (npub1v0l…qj49) this morning

The idea is to add credentials to NIP-19 URIs (the nostr:nevent.. links) and create an "Anyone with Link" can see scheme. Since DMs are encrypted, only the two people in the conversation will get access to the image. Not even image hosts can see it.

Pros:
1. Simple change to a NIP
2. Straightforward implementation

Cons:
1. If the link is copied and pasted outside of a conversation, whoever has access to that link will see the contents of the image/file.
2. Once the secret is out, it's out.
3. URIs with secrets are bigger.

I believe the Cons can be minimized with appropriate UIs. Thus, I think this is a good proposal.

https://github.com/nostr-protocol/nips/pull/519
Author Public Key
npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z