element-ios icon indicating copy to clipboard operation
element-ios copied to clipboard

Can't verify user when option to send keys to verified devices only is selected

Open BillCarsonFr opened this issue 2 years ago • 1 comments

Steps to reproduce

  1. Go to Settings > Security
  2. Enable 'Encrypt to verified devices only'
  3. Go back to a DM with one of your contact, click on his profile
  4. 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 image

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

BillCarsonFr avatar Aug 03 '22 09:08 BillCarsonFr

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.

BillCarsonFr avatar Aug 03 '22 09:08 BillCarsonFr