Skip to content

"Allow key storage" UI flag is not refreshed when we reset cryptographic identity. #30069

Open
@andybalaam

Description

@andybalaam

Steps to reproduce

  1. In Settings -> Encryption
  2. Turn "Allow key storage" off and confirm with "Delete key storage"
  3. Scroll down, choose "Reset cryptographic identity" and confirm with "Continue". Enter password and "Continue".
  4. Scroll up and note that "Allow key storage" appears off
  5. Click another tab e.g. Security
  6. Click Encryption tab and note that "Allow key storage" is on.
rec-2025-06-02_16.17.55.mkv.mp4

Outcome

What did you expect?

I expected "Allow key storage" to be on after identity reset. In fact, it IS on, but the UI incorrectly shows it as off.

What happened instead?

The UI did not refresh and show that "Allow key storage" is now on.

Operating system

Debian

Browser information

Firefox 138.0.1

URL for webapp

local

Application version

Element version: 1.11.101-dev Crypto version: Rust SDK 0.11.0 (404ca47), Vodozemac 0.9.0

Homeserver

local

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-App SettingsApplication settingsA-E2EE-Key-BackupO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions