-
Notifications
You must be signed in to change notification settings - Fork 251
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
Device list tracking does not handle users who leave rooms #1640
Comments
Interesting, I would have assumed that the server will tell us that Bob has changed at the same time we receive the Why can't it do so? |
Isn't it also a problem that the crypto crate never learned about Bob leaving in the first place? When somebody leaves (or is kicked/banned), don't you typically want to start a new chain of keys that the left user doesn't know? |
I need to investigate this a bit more to figure out exactly what happens, but to do that first I need to fix element-hq/element-web#24795. |
Yes, but the decision of which users to encrypt for is left to the application ( |
Indeed, it turns out this is exactly what happens. As the spec says (my emphasis).
So, this is a non-issue. Sorry for the noise! |
Related: here's where we originally fixed this for the js-sdk back in the day - by adding the user to |
Suppose:
In this case, Bob's new device will see a UISI, because we will not encrypt for it.
The problem is that there is no way to mark Bob as 'untracked', so we think we have an up-to-date list of Bob's devices, where we do not.
I think this is related to #1191.
The text was updated successfully, but these errors were encountered: