add some e2ee clarifications

This commit is contained in:
Hubert Chathi 2022-10-18 18:02:27 -04:00
parent 1cdfbd3cd8
commit fbbf3b81c5
4 changed files with 29 additions and 9 deletions

View file

@ -317,9 +317,13 @@ Example:
###### `m.secret.send`
Sent by a client to share a secret with another device, in response to
an `m.secret.request` event. It must be encrypted as an
`m.room.encrypted` event, then sent as a to-device event.
Sent by a client to share a secret with another device, in response to an
`m.secret.request` event. It must be encrypted as an `m.room.encrypted` event
using [Olm](#molmv1curve25519-aes-sha2), then sent as a to-device event.
The `request_id` must match the ID previously given in an `m.secret.request`
event, and this event must come from a device that the `m.secret.request` event
was originally sent to.
| Parameter | Type | Description |
|-------------|--------|--------------------------------------------------------------|