element-ios
element-ios copied to clipboard
Can't verify user when option to send keys to verified devices only is selected
Steps to reproduce
- Go to Settings > Security
- Enable 'Encrypt to verified devices only'
- Go back to a DM with one of your contact, click on his profile
- Tap on verify.
Outcome
What did you expect?
That you initiate a verification process.
What happened instead?
It's failing because the recipient won't be able to decrypt the verification request
So it's quite annoying, I enabled 'Encrypt to verified devices only' and I have unverified users in a room. So you would think that verify them will fix the issue, but you can't
android & web affected too https://github.com/vector-im/element-android/issues/6723, https://github.com/vector-im/element-web/issues/22982
Spec says:
When using in-room messages and the room has encryption enabled, clients should ensure that encryption does not hinder the verification. For example, if the verification messages are encrypted, clients must ensure that all the recipient’s unverified devices receive the keys necessary to decrypt the messages, even if they would normally not be given the keys to decrypt messages in the room. Alternatively, verification messages may be sent unencrypted, though this is not encouraged.