From 092a59af66e707917661a4639fc2d0e8bd2ed74c Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:25:42 +0100 Subject: [PATCH] Throw clearer error if `createSecretStorageKey` misbehaves (#4412) https://github.com/element-hq/element-web/issues/27888 shows a slightly mysterious error message, but the problem is `createSecretStorageKey` returning the wrong thing. --- src/rust-crypto/rust-crypto.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rust-crypto/rust-crypto.ts b/src/rust-crypto/rust-crypto.ts index 491fd04fc9b..e1e9ecef492 100644 --- a/src/rust-crypto/rust-crypto.ts +++ b/src/rust-crypto/rust-crypto.ts @@ -777,6 +777,9 @@ export class RustCrypto extends TypedEventEmitter