Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify otk and fallback key types in examples #1715

Merged
merged 2 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify one-time key and fallback key types in examples.
4 changes: 2 additions & 2 deletions content/client-server-api/modules/end_to_end_encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -1776,9 +1776,9 @@ Example response:
],
},
"device_one_time_keys_count": {
"curve25519": 10,
"signed_curve25519": 20
}
},
"device_unused_fallback_key_types": ["signed_curve25519"]
}
```

Expand Down
3 changes: 0 additions & 3 deletions data/api/client-server/keys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading