Merge branch 'dm-one-use-keys' of https://github.com/motorina0/nips into dm-one-use-keys

This commit is contained in:
Vlad Stan 2023-04-07 17:31:09 +03:00
commit 4ad341a2ef

2
704.md
View File

@ -14,7 +14,7 @@ The content of `Direct Messages` (NIP-04)[https://github.com/nostr-protocol/nips
## Suggestion
For the maximum of privacy the two participants of a `Direct Message` exchange SHOULD use a different public key for each `kind:4` event.
This means that each participant has to:
- build a `direct message top key` from which it will derive keys to send `kind:4` events and keys where to recieve (listen for) `kind:4` events
- build a `direct message top key` from which it will derive keys to send and keys to recieve (listen for) `kind:4` events
- share this `direct message top key` with its DM peer
Each client has a `master` key (denoted with `m`). This key can be the profile `nsec...`, but it is not mandatory.