mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-12 23:19:08 -05:00
1.2 KiB
1.2 KiB
NIP-704
Republish Encrypted Direct Messages
draft
optional
author:fiatjaf
author:motorina0
This NIP defines a way for a client to indirectly publish kind:4
events to a relay with the help of its peers.
Motivation
One way to increase the privacy of Encrypted Direct Messages (NIP-04) is for peers to derive new one-use-only
keys when they communicate (see NIP704).
This technique hides from the "general public" that two clients are chatting. However, the relay(s) in the middle can still see who is publishing events and who is listening for events with specific public keys.
Suggestion
Alice
wants to chat withBob
. She builds thekind:4
nostr event but does NOT sent it to the relay(s).- instead
Alice
creates an event forCarol
where the content is the event forBob
.Alice
publishes this event to the relay(s). Carol
receives the event, unwrapps it and publishes to the relay(s) the event forBob
.- the relay(s) see the event as comming from
Carol
instead ofAlice