Assume that each device for a user has only one of each type of key

This commit is contained in:
Mark Haines 2015-07-10 13:26:18 +01:00
parent bf0d59ed30
commit a01097d60b
1 changed files with 3 additions and 3 deletions

View File

@ -41,11 +41,11 @@ class KeyUploadServlet(RestServlet):
"m.olm.curve25519-aes-sha256",
]
"keys": {
"<algorithm>:<key_id>": "<key_base64>",
"<algorithm>:<device_id>": "<key_base64>",
},
"signatures:" {
"<user_id>/<device_id>" {
"<algorithm>:<key_id>": "<signature_base64>"
"<user_id>" {
"<algorithm>:<device_id>": "<signature_base64>"
} } },
"one_time_keys": {
"<algorithm>:<key_id>": "<key_base64>"