element-hq / element-hq/element-web

Better diagnostics for key backup key inconsistency in E2EE dev tools

Open
#31,883 0 comments 0 reactions 0 assignees View on GitHub
A-E2EE A-E2EE-Key-Backup O-Uncommon T-Enhancement T-Feature Team: Crypto
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

We have observed that some users appear to have inconsistent key backup keys.

Specifically: their locally-cached decryption key is inconsistent with the published encryption key. We are unsure if this is because their local decryption key is inconsistent with the local encryption key, the local encryption key is inconsistent with the published encryption key, or both.

To address this, it would be helpful to add more diagnostics to the Encryption devtools. For example:
* Display the current server-side backup version number, rather than a cached version as it currently does.
* Display the server-side and local-side public (encryption) keys.
* Check that the local public and private keys are consistent, and show a fat red error if not.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.