Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Rust crypto stack for all logins #12630

Merged
merged 8 commits into from
Jun 24, 2024

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jun 17, 2024

Switch everybody over to the rust crypto stack. Existing logins will be migrated on app reload; new logins will receive Rust Crypto from the start.

Review commit-by-commit.

Follow-up PRs will remove the "Legacy Crypto" playwright test run, and update the settings documentation on Element Web.

Fixes: element-hq/element-web#27560
Fixes: element-hq/element-web#27001
Fixes: element-hq/element-web#21972
Fixes: element-hq/element-web#15476
Fixes: element-hq/element-web#24612
Fixes: element-hq/element-web#24682
Fixes: element-hq/element-web#25565

@richvdh richvdh added T-Feature T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements and removed T-Feature labels Jun 17, 2024
Ignore the `feature_rust_crypto` and `RustCrypto.staged_rollout_percent`
settings, and just use RustCrypto everywhere.
@richvdh richvdh force-pushed the rav/rust_migration_rollout_phase3 branch from f308397 to b88fed2 Compare June 17, 2024 17:02
richvdh added a commit to element-hq/element-web that referenced this pull request Jun 21, 2024
As of matrix-org/matrix-react-sdk#12630, Rust crypto is
no longer subject to config settings; they are no longer supported in config.
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, one typo.

playwright/e2e/crypto/crypto.spec.ts Outdated Show resolved Hide resolved
@richvdh richvdh added this pull request to the merge queue Jun 24, 2024
Merged via the queue into develop with commit 9c86290 Jun 24, 2024
31 checks passed
@richvdh richvdh deleted the rav/rust_migration_rollout_phase3 branch June 24, 2024 09:36
richvdh added a commit to element-hq/element-web that referenced this pull request Jun 26, 2024
Now that we use the Rust crypto stack
(matrix-org/matrix-react-sdk#12630), the legacy olm
library is unneeded. Remove all the dedicated cruft for loading it.

(All this crap is why matrix-sdk-crypto-wasm has to base64 its wasm artifact,
cf matrix-org/matrix-rust-sdk#1167.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements X-Release-Blocker This affects the current release cycle and must be solved for a release to happen
Projects
None yet
2 participants