doc: add scenario

This commit is contained in:
Vlad Stan 2023-04-10 15:20:28 +03:00 committed by GitHub
parent 857bde84c5
commit 6a61ca28ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
705.md
View File

@ -14,3 +14,7 @@ One way to increase the privacy of Encrypted Direct Messages ([NIP-04](https://g
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 with `Bob`. She builds the `kind:4` nostr event but does NOT sent it to the relay(s).
- instead `Alice` creates an event for `Carol` where the content is the event for `Bob`. `Alice` publishes this event to the relay(s).
- `Carol` receives the event, unwrapps it and publishes to the relay(s) the event for `Bob`.
- the relay(s) see the event as comming from `Carol` instead of `Alice`