Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9c86290

Browse files
authored
Switch to Rust crypto stack for all logins (#12630)
* Use Rust crypto stack universally Ignore the `feature_rust_crypto` and `RustCrypto.staged_rollout_percent` settings, and just use RustCrypto everywhere. * Remove labs setting for rust crypto * Remove support for legacy crypto stack in `StorageManager` We're not going to use the legacy stack any more. * Update docs on `Features.RustCrypto` * Remove now-unreachable `tryToUnlockSecretStorageWithDehydrationKey` * Comment out test which doesn't work * fix typo
1 parent 2843545 commit 9c86290

File tree

11 files changed

+84
-919
lines changed

11 files changed

+84
-919
lines changed

playwright/e2e/crypto/crypto.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,9 @@ test.describe("Cryptography", function () {
438438
if (cryptoBackend === "rust") {
439439
await expect(lastE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/);
440440
} else {
441-
await expect(lastE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_normal/);
441+
// skip this for now: the legacy option no longer actually gives us a legacy stack.
442+
// We'll sort this out properly in https://github.com/matrix-org/matrix-react-sdk/pull/12662
443+
// await expect(lastE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_normal/);
442444
}
443445
await lastE2eIcon.focus();
444446
await expect(page.getByRole("tooltip")).toContainText("Encrypted by an unknown or deleted device.");

playwright/e2e/crypto/staged-rollout.spec.ts

Lines changed: 0 additions & 290 deletions
This file was deleted.

0 commit comments

Comments
 (0)