-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
One unverified device is able to "verify" another, but afterwards both devices continue to appear as unverified #21919
Comments
To add more detail: This is a client-side bug that, as far as I know, is present on Element Web, iOS, and Android. The correct behavior that needs to be implemented is the following:
|
Worth noting: this should also apply to cross-signing requests received from other users, since an unverified device can't usefully respond to those either. In that scenario, displaying a message like "Bob sent us a verification request, open one of your verified devices ("Alice's iPhone", "Element Desktop", ...) in order to verify Bob" is probably the way to go. |
Duplicate of #27655 I think? |
Duplicate of #27655 |
Steps to reproduce
This is a report on behalf of @linneanikell of unhelpful device verification behaviour we observed last week. Apologies for a lack of detail. I've filed it in Element-web, but it's not clear to me where the root cause is, e.g. there could be
With that said...
Linnea has four physical devices, each of which had a Matrix client installed.
Opening Element on both physical devices 1 and 2, we could see this four list of (matrix) devices. Both devices considered themselves to be unverified in the "security and privacy" sections of their settings. Linnea and myself tried several times to remedy this by verifying them as follows:
The same occurs if you swap the devices (requesting verification on device 2 and completing verification on device 1).
Outcome
To quote @duxovni:
It's not clear to me if the clients are able to know if they can vouch for the device requesting verification. Nor is it obvious to me if the server knows that either. I am mainly reporting this so that the failure mode is written down somewhere.
What did you expect?
I'm not sure if verification requests are targeted at one specific device. If so, clients should prevent users from making verification requests.
If not (and all devices are notified of the verification request), client 2 should display a notification dialogue explaining that it can't meaningfully vouch for client 1. (I think not acknowledging the request would make seem broken to a user.
(To be explicit: I am extremely ignorant of the cryptography involved here and don't understand the underlying machinery. This issue is all about "I have an ugly red shield/warning in the UI and I want to make it go away".)
What happened instead?
Verification procedure completed successfully, but appeared broken because both devices appeared unverified.
Operating system
Windows 11
Application version
No response
How did you install the app?
No response
Homeserver
matrix.org
Will you send logs?
No (Linnea and I tried to rageshake from her iOS device but failed. Perhaps reach out to her for logs if they're useful.)
The text was updated successfully, but these errors were encountered: