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
{
"<user id>": {
"<device_id>": {
"signed_curve25519:<key_id>": {
"key": "<curve25519_key>",
"signatures": {
"<user_id>": {
"ed25519:<device_id>": "<signature>"
"one_time_keys": {
"<user id>": {
"<device_id>": {
"signed_curve25519:<key_id>": {
"key": "<curve25519_key>",
"signatures": {
"<user_id>": {
"ed25519:<device_id>": "<signature>"
}
}
}
},
},
...
},
...
},
...
}
}
The client should first check the signatures on the signed key objects. As with