ElementR: Key Storage | When adding a new key to 4S the key encryption check is not added to the key info #26721
Labels
A-Element-R
Issues affecting the port of Element's crypto layer to Rust
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Enhancement
Z-Labs
As per spec, when adding a new key to the secret storage the client must encrypt a "zero"/dummy secret to allow for key checks.
WebR is not doing it
Actual:
Expected:
As a consequence if you try to use the key on EX (that is more strict) it will fail with
(UnsupportedAlgorithm("m.secret_storage.v1.aes-hmac-sha2"))
if you try to verifiy with a key generated from webRThe text was updated successfully, but these errors were encountered: