Skip to content
Snippets Groups Projects
Commit a01097d6 authored by Mark Haines's avatar Mark Haines
Browse files

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

parent bf0d59ed
No related branches found
No related tags found
No related merge requests found
......@@ -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>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment