-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Key backup fails silently #24592
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
Comments
On a meta-level: Thanks a lot for developing Element! :) I like its concept and hope that I could contribute a helpful report. Please let me know if you need further information. |
This could be related to #23497. In short, the "Connect this session to Key Backup" button doesn't actually connect the session to a key backup. It only restores keys one time. |
needs triage from crypto team |
This part apperas to be #26530 |
This issue affects the user experience and may refrain people from using Matrix. I was expecting to be able to decrypt my encrypted messages in any web browser just with my passphrase (as it says when logging in and asking the security phrase "Verify your identity to access encrypted messages and prove your identity to others."). |
Sorry, this appears to have failed to have had proper triage. Ideally it would have been distilled into a clear explanation of what's going wrong, but that hasn't happened. I think much of the problem can be chalked up to #26530, so I'm going to close this in favour of that. |
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
Expectation/thoughts are in the headers, the raw facts are in the numbered lists.
The story, part 1: Upon logout attempt, I get warned on losing message access and attempt to turn on backup.
Part 2: I assume that backup now worked/that backup already was there, since 0 keys needed to be restored, and expect to not see any warning anymore upon logout. But, I again receive the same warning
Part 3: I suspect the backup did not work and look for other settings to turn it on/export the relevant info.
Clicked on my profile and "All settings" > sidebar: "Security and Privacy" > section: Encryption
Read
and saw a button directly below: "Connect this session to Key Backup".
In the advanced section, it says:
Clicked that button.
Saw again the pop-message from step 5, and again interpret it as in title for "part 2".
Part 4: 3rd logout attempt with same warning, but this time I suspect the bug is in the warning, i.e. that it's always shown upon logout. Reasoning: In the settings, it said that if I connect the session to the key backup, I avoid losing the keys, and I did that (twice). Also, the advanced section suggests (10.) that the backup works fine. (or so I thought....)
(now: logged out)
Part 5: I discover that the key backup did, in fact, not work.
Therefore, the backup never worked, but that was never displayed in the pop-up message.
In conclusion, a silent failure.
Outcome
What did you expect?
If I click a button to connect the session to the key backup, and if the key backup is then unsuccessful, I expect that the resulting pop-up window tells me that the backup failed.
What happened instead?
With the two mentioned if-conditions being true, I instead received two signals that the backup works:
Moreover, the pop-up said "Successfully restored 0 keys" which may be understood as: It backed the keys up, and also attempted to restore them, which is unnecessary since they're in current use. So, of course, 0 keys are restored (no matter whether successfully so ;) ).
Operating system
macOS
Browser information
Firefox 109.0 (64-bit)
URL for webapp
app.element.io
Application version
Element version: 1.11.23 Olm version: 3.2.12
Homeserver
Synapse 1.77.0
Will you send logs?
No
The text was updated successfully, but these errors were encountered: