-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
A-E2EEA-E2EE-Cross-SigningO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect
Description
Steps to reproduce
This happens when a cross-signing key is missing both locally and in Secret Storage. It isn't clear how this situation comes about, but one way to artificially get into this situation is:
- log in to a new device and self-verify
- Make sure that recovery is set up
- open the browser's developer tools, go to the
matrix-js-sdk:matrix-sdk-cryptodatabase in IndexedDB, go to thecoretable, and remove theprivate_identityrecord. (This will remove all of the private cross-signing keys from the local cache.) - reload the page (at this point, there should be "Key storage out of sync" toast)
- use Element's devtools to set the
m.cross_signing.user_signingaccount data to{}
Outcome
At this point, there should be a "Verify this session" toast. If you go to the "Encryption" settings tab, it should say "Device not verified". However, if you go to the "Sessions" tab, it should show that the session is verified.
What did you expect?
It should probably show a "Key storage out of sync" toast, and the "Encryption" settings tab should show the device as verified.
Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
No response
Homeserver
No response
Will you send logs?
No
Metadata
Metadata
Assignees
Labels
A-E2EEA-E2EE-Cross-SigningO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect