diff --git a/704.md b/704.md index f4b8064..06c4852 100644 --- a/704.md +++ b/704.md @@ -89,13 +89,14 @@ If `Alice` wants to signal `Bob` that she is ready to use this NIP (for more pri ``` If `Bob` supports this NIP then he must: - - subscribe to events for him: + - subscribe to "init" events for him: ```json { "kind": 35709, "#p": [<32-bytes lowercase hex-encoded public key of Bob>] } ``` - - descrypt the content, + - when an event is received, descrypt the content, verify the `shared_secret_hash` against `Alice's` public key + - decide if it wants to communicate with `Alice`. If yes it should publish its own `kind:35709` for `Alice` After both `Alice` and `Bob` have published the `kind: 35709` event, they can start to publish and listen to events using the `one-use-only` keys.