clarify otk and fallback key types in examples (#1715)

* clarify otk and fallback key types in examples

- remove unsigned curve25519 keys from examples because we don't use those for
  otks and fallback keys
- add missing `device_unused_fallback_key_types` property, which is required

* add changelog
dkasak/foldable-sidebar
Hubert Chathi 10 months ago committed by GitHub
parent 650e691a22
commit 170626da67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Clarify one-time key and fallback key types in examples.

@ -1776,9 +1776,9 @@ Example response:
],
},
"device_one_time_keys_count": {
"curve25519": 10,
"signed_curve25519": 20
}
},
"device_unused_fallback_key_types": ["signed_curve25519"]
}
```

@ -52,7 +52,6 @@ paths:
May be absent if no new one-time keys are required.
example:
curve25519:AAAAAQ: /qyvZvwjiTxGdGU0RCguDCLeR+nmsb3FfNG3/Ve4vU8
signed_curve25519:AAAAHg:
key: zKbLg+NrIjpnagy+pIY6uPL4ZwEG2v+8F9lmgsnlZzs
signatures:
@ -84,7 +83,6 @@ paths:
May be absent if a new fallback key is not required.
example:
curve25519:AAAAAG: /qyvZvwjiTxGdGU0RCguDCLeR+nmsb3FfNG3/Ve4vU8
signed_curve25519:AAAAGj:
key: zKbLg+NrIjpnagy+pIY6uPL4ZwEG2v+8F9lmgsnlZzs
fallback: true
@ -111,7 +109,6 @@ paths:
If an algorithm is not listed, the count for that algorithm
is to be assumed zero.
example:
curve25519: 10
signed_curve25519: 20
required:
- one_time_key_counts

Loading…
Cancel
Save