mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 11:04:20 -05:00
Assume that each device for a user has only one of each type of key
This commit is contained in:
parent
bf0d59ed30
commit
a01097d60b
@ -41,11 +41,11 @@ class KeyUploadServlet(RestServlet):
|
|||||||
"m.olm.curve25519-aes-sha256",
|
"m.olm.curve25519-aes-sha256",
|
||||||
]
|
]
|
||||||
"keys": {
|
"keys": {
|
||||||
"<algorithm>:<key_id>": "<key_base64>",
|
"<algorithm>:<device_id>": "<key_base64>",
|
||||||
},
|
},
|
||||||
"signatures:" {
|
"signatures:" {
|
||||||
"<user_id>/<device_id>" {
|
"<user_id>" {
|
||||||
"<algorithm>:<key_id>": "<signature_base64>"
|
"<algorithm>:<device_id>": "<signature_base64>"
|
||||||
} } },
|
} } },
|
||||||
"one_time_keys": {
|
"one_time_keys": {
|
||||||
"<algorithm>:<key_id>": "<key_base64>"
|
"<algorithm>:<key_id>": "<key_base64>"
|
||||||
|
Loading…
Reference in New Issue
Block a user