-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed as duplicate of#30435
Labels
A-E2EEA-E2EE-Key-BackupO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectTeam: Crypto
Description
Steps to reproduce
- Where are you starting? What can you see?
I have read the parent issue #30444
A user in Tchap reported to have a persistent toast "key storage out of sync" and was persistent even after going through the process.
From the rageshake, we have those info :
cross_signing_master_privkey_cached: "true"
cross_signing_privkey_in_secret_storage: "true"
cross_signing_ready: "true"
cross_signing_self_signing_privkey_cached: "true"
cross_signing_user_signing_privkey_cached: "true"
secret_storage_key_in_account: "true"
secret_storage_ready: "false"
session_backup_key_cached: "false"
session_backup_key_in_secret_storage: "true"
session_backup_key_well_formed: "false"
storageManager_persisted: "true"
I can see in the log that it is silently failing because of "Not saving backup key to secret storage: no backup key"

Outcome
What did you expect?
I expected the function saveBackupKeyToStorage() called by bootstrapSecretStorage() to throw an error so that it can be catch on the upper level SetupEncryptioToast, and display an error or other setps to follow accordingly
What happened instead?
Nothing happen, the method saveBackupKeyToStorage only return without throwing
Operating system
windows 10
Browser information
Firefox 128.0
URL for webapp
No response
Application version
Element 1.11.100 , Rust SDK 0.13.0 (f64839e), Vodozemac 0.9.0
Homeserver
No response
Will you send logs?
No
Metadata
Metadata
Assignees
Labels
A-E2EEA-E2EE-Key-BackupO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectTeam: Crypto