-
Notifications
You must be signed in to change notification settings - Fork 258
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
Element X: Return an error when sharing a room key to a verified user, who has an unverified device #3792
Comments
As discussed an alternative to that would be to simply ignore unsigned devices of verified users (and send a @pmaier1 any preference? |
I generally like it and think it's better than failing to send. Still, might be very disruptive. But if there's no way to understand why some devices get the message and some don't, then this is not gonna fly. Also, if there's no way to understand for the user on the unverified device, this is a problem and won't work. we need to wait for the full switch to Invisible Crypto then. If there's no simple solution to this challenge, we have to warn when sending to unverified devices of a verified user, I'm afraid. |
See element-hq/element-meta#2488 (comment) for designs |
For my reference:
|
Part of element-hq/element-meta#2488, and a follow-up to #1129.
We need to prevent people who have explicitly verified someone accidentally sending messages.
OlmMachine::share_room_key
should check whether any of the target users have previously been verified; if so, and those users have unverified devices,share_room_key
should return an error code.We should ensure the error code is propagated up through the ui crate.
This behaviour needs to be optional, so should be configured via
EncryptionSettings
(could be the same setting as #3793)The text was updated successfully, but these errors were encountered: