element-web icon indicating copy to clipboard operation
element-web copied to clipboard

User can not set toggle "Allow key storage" to enabled

Open mcsys-dev opened this issue 1 year ago • 3 comments

Steps to reproduce

  1. Where are you starting? What can you see? After starting element at the top left, the user is asked to enable key storage.
  2. What do you click? If he clicks on continue, he is taken to the encryption settings, where the option "Allow key storage" is strangely disabled. If he tries to enable the toggle it almost immediately sets itself to off silently.

Outcome

What did you expect?

To let the user enable key storage and to check why it was turned off. I believe the user had in the past used Element with encryption and has the recovery key saved.

What happened instead?

It failed silently, and it looks like he has still encrypting enabled. He can full decrypt the messages. Weird behaviour...

Operating system

Windows 11

Application version

element version 1.11.102

How did you install the app?

No response

Homeserver

local non-public server: matrix-synapse-py3 1.131.0+noble1 amd64 (ubuntu)

Will you send logs?

Yes

mcsys-dev avatar Jun 10 '25 12:06 mcsys-dev

I’m experiencing the same issue on a non-public server. The feature cannot be enabled in either the web or desktop client.

Edition Windows 11 Enterprise N Version 24H2 OS build 26100.4061 Experience Windows Feature Experience Pack 1000.26100.84.0

Element version: 1.11.103 Crypto version: Rust SDK 0.11.0 (404ca47), Vodozemac 0.9.0

lazabalint avatar Jun 11 '25 08:06 lazabalint

sounds like https://github.com/element-hq/element-web/issues/29856

richvdh avatar Jun 12 '25 16:06 richvdh

@mcsys-dev I checked the debug logs that were submitted from the user's client. As with #29856, the logs contain:

2025-06-10T09:10:42.947Z D Key backup present on server but not trusted: not enabling key backup

In short, this means that there's a problem with the key storage that has already been set up on the account. A proper fix is scheduled very soon. In the meantime, https://github.com/element-hq/element-web/issues/29856 describes a couple of potential (rather unsatisfactory) workarounds.

richvdh avatar Jun 16 '25 20:06 richvdh