question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Encryption upgrade fails to fetch keys from backup

See original GitHub issue

Description

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:open
  • Created 3 years ago
  • Reactions:6
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
bergmannfcommented, May 8, 2020

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 a 401 - Unauthorized.

3reactions
DarwinAwardWinnercommented, May 7, 2020

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:

Screen Region 2020-05-07 at 16 40 10
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found