-
Notifications
You must be signed in to change notification settings - Fork 114
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
Inviting a user to an E2EE room does not share keys for history with them, causing UISIs everywhere. #1496
Comments
I don't think this is true anymore. The complement-crypto tests at least pass for invited users. |
I think K is right, closing |
Sorry, it looks like the bug wasn't clear enough - this bug is definitely still open. When you invite a user into a room, EX does not share the historical keys with the user. This is:
...but is snarled in RHUL fallout still. But from a product perspective, it's a real black eye. |
Ah, it would help if you didn't mention invites then. This is a general "we don't share historical keys" bug, invites are not a pre-req. |
but this is specifically about invites! the missing behaviour is that when Alice invites Bob to a room with shared hist viz, she should (in theory) use MSC3061 to send a tonne of keyshares for the history in that room so that Bob can actually read history. In other words, it's the EX implementation of:
Now, i think these got backed out post-RHUL, which is why this is now all in limbo, but from a product perspective i'm trying to point out that it's an awful experience and we've regressed here without a clear path forwards. |
Just ran into this when inviting a user (he is using EX) to a E2EE room with 8 others. He got the message to get the keys for the previous messages, but nothing happens. New messages decrypt just fine on his phone. He is using only EX on his account and this is the only session he has Would it help if he logged into his account on ED or EW? Would the keys then eventually sync up so his EX shows the messages? |
Steps to reproduce
Outcome
What did you expect?
If you invite a user to a room, you should share them the keys they need to decrypt the messages they have permission to. (RHUL might have undermined this, given it lets malicious servers fake invites to steal keys, in which case we might instead need to wait until we have client-controlled group membership).
What happened instead?
UISIs everywhere.
Your phone model
No response
Operating system version
No response
Application version
343
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: