Encryption upgrade fails to fetch keys from backup
See original GitHub issueDescription
During first login on riot-web 1.16 (or subsequent “Restore keys from backup” or similar actions), the client fails to fetch keys from the server. The GUI keeps spinning on “Fetching keys” and nothing happens.
Steps to reproduce
- Log in with account that has key-backup enabled and member of some encrypted rooms before the new E2EE.
- When prompted to upgrade encryption, enter the account password and press OK
- The wheel spins and nothing happens. In the console of the browser this message is seen:
restoreWithCachedKey failed: Error: "Couldn't get key" restoreKeyBackupWithCache https://riot.midlertidig.online/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
Log: sent
Version information
- Platform: web (in-browser)
For the web app:
- Browser: Firefox 75.0
- OS: Windows, Manjaro
- URL: Private server, running riot-web version: v1.6.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Unable to fetch keys to Upgrade Encryption · Issue #13481
When trying to Upgrade Encryption in macOS Desktop Nightly, getting stuck on "Fetching Keys from Server." It never fetches the keys. Steps to ......
Read more >Troubleshooting database encryption key errors
The following errors may occur when you start Backup Exec: The import failed. The database encryption key is incorrect, corrupt, or missing.
Read more >Error message when Report Server service starts
This article helps you resolve the problem that occurs when you reset Report Server service account.
Read more >The repository uses an encryption key that is different ... - Search
Error starting MRS: "The repository uses an encryption key that is different from the encryption key of the domain. Update the repository content...
Read more >Create and share encrypted backups across accounts ...
This error can occur when your EBS snapshots in the source account are encrypted with an AWS managed key that is, aws/ebs ....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For me it was working when setting it up on the
RiotX
Android App, but once I try to set it up on the desktop application (Fedora using the Flatpak) it will go into a loop asking about the account passphrase.It never asks about the key backup passphrase only the account password.
I also can’t verify the session from my other device - after confirming it with the Emoji method it will say “The other party cancelled the verification.”
When trying to use the website I can also see that the
POST
to https://matrix-client.matrix.org/_matrix/client/unstable/keys/device_signing/upload returns a401 - Unauthorized
.Also, this might be a separate bug, but if I press “skip” and then “go back”, I end up here, which is definitely not back where I was before: