Skip to content

Commit 9ed19a3

Browse files
committed
Client-server: Fix upload keys example request
Contributes to #1733 Signed-off-by: Alexey Andreyev <[email protected]>
1 parent db5ce0c commit 9ed19a3

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

api/client-server/definitions/device_keys.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ properties:
3333
type: string
3434
description: |-
3535
The encryption algorithms supported by this device.
36-
example: ["m.olm.curve25519-aes-sha256", "m.megolm.v1.aes-sha"]
36+
example: ["m.olm.v1.curve25519-aes-sha2", "m.megolm.v1.aes-sha2"]
3737
keys:
3838
type: object
3939
description: |-

api/client-server/keys.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ paths:
217217
"user_id": "@alice:example.com",
218218
"device_id": "JLAFKJWSCS",
219219
"algorithms": [
220-
"m.olm.v1.curve25519-aes-sha256",
221-
"m.megolm.v1.aes-sha"
220+
"m.olm.v1.curve25519-aes-sha2",
221+
"m.megolm.v1.aes-sha2"
222222
],
223223
"keys": {
224224
"curve25519:JLAFKJWSCS": "3C5BFWi2Y8MaVvjM8M22DBmh24PmgR0nPvJOIArzgyI",

api/server-server/user_keys.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ paths:
180180
"user_id": "@alice:example.com",
181181
"device_id": "JLAFKJWSCS",
182182
"algorithms": [
183-
"m.olm.v1.curve25519-aes-sha256",
184-
"m.megolm.v1.aes-sha"
183+
"m.olm.v1.curve25519-aes-sha2",
184+
"m.megolm.v1.aes-sha2"
185185
],
186186
"keys": {
187187
"curve25519:JLAFKJWSCS": "3C5BFWi2Y8MaVvjM8M22DBmh24PmgR0nPvJOIArzgyI",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Clarify the encryption algorithms supported by the device of the device keys example.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Clarify the encryption algorithms supported by the device of the user keys query example.

0 commit comments

Comments
 (0)