e2e guide: fix /claim response

This commit is contained in:
Richard van der Hoff 2017-02-18 20:02:59 +00:00
parent 857ff2573f
commit 39f177b5eb

View file

@ -654,20 +654,22 @@ This will return a result as follows:
.. code:: json .. code:: json
{ {
"<user id>": { "one_time_keys": {
"<device_id>": { "<user id>": {
"signed_curve25519:<key_id>": { "<device_id>": {
"key": "<curve25519_key>", "signed_curve25519:<key_id>": {
"signatures": { "key": "<curve25519_key>",
"<user_id>": { "signatures": {
"ed25519:<device_id>": "<signature>" "<user_id>": {
"ed25519:<device_id>": "<signature>"
}
} }
} },
}, },
...
}, },
... ...
}, }
...
} }
The client should first check the signatures on the signed key objects. As with The client should first check the signatures on the signed key objects. As with