mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 11:28:38 +01:00
Name the key 'ciphertext' rather than 'ciphertexts'
This commit is contained in:
parent
6f69707c71
commit
41d204e72c
|
|
@ -223,8 +223,7 @@ Encrypted messages are sent in the form.
|
|||
"type": "m.room.encrypted"
|
||||
"content": {
|
||||
"algorithm": "<algorithm_name>"
|
||||
}
|
||||
} }
|
||||
} } }
|
||||
|
||||
|
||||
.. code:: json
|
||||
|
|
@ -234,7 +233,7 @@ Encrypted messages are sent in the form.
|
|||
"content": {
|
||||
"algorithm": "m.olm.v1.curve25519-aes-sha2",
|
||||
"sender_key": <sender_curve25519_key>,
|
||||
"ciphertexts": {
|
||||
"ciphertext": {
|
||||
"<device_curve25519_key>: {
|
||||
"type": 0,
|
||||
"body": "<base_64>"
|
||||
|
|
@ -245,4 +244,5 @@ The plaintext payload is of the form:
|
|||
|
||||
.. code:: json
|
||||
|
||||
TODO: SPEC the JSON plaintext format
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue