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

Sharing a key in room of > 500 devices fails #330

Open
bwindels opened this issue Apr 27, 2021 · 1 comment
Open

Sharing a key in room of > 500 devices fails #330

bwindels opened this issue Apr 27, 2021 · 1 comment
Labels
bug Something isn't working e2ee Related to end-to-end encryption

Comments

@bwindels
Copy link
Contributor

bwindels commented Apr 27, 2021

/keys/claim queries are not chunked

This is why the graph here doesn't go further: matrix-org/matrix-rust-sdk#170 (comment)

When needing to setup a lot of olm sessions at once, claiming the OTKs should be chunked in chunks of 250-500 users (larger chunks are faster, but rust-sdk uses 250 I think), otherwise key sharing in rooms > 500 devices will fail.

@bwindels bwindels added bug Something isn't working e2ee Related to end-to-end encryption labels Apr 27, 2021
@bwindels bwindels changed the title /keys/claim queries are not chunked Sharing a key in room of > 500 devices fails Apr 27, 2021
@bwindels
Copy link
Contributor Author

bwindels commented Aug 20, 2021

Hmmm, just looked into this a bit, and I am wondering how 4ca5ff9 (from well before this report) does not chunk the /keys/claim queries to max 20 devices...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working e2ee Related to end-to-end encryption
Projects
None yet
Development

No branches or pull requests

1 participant