From e46c4d06c334c498b0252342c87335c03e1707b2 Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 30 Jan 2024 10:26:21 +0100 Subject: [PATCH] Update develop configuration to migrate users to rust --- docs/labs.md | 17 +++++++++++++++++ element.io/develop/config.json | 4 +++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/labs.md b/docs/labs.md index 6def99dee0..f44c2238a0 100644 --- a/docs/labs.md +++ b/docs/labs.md @@ -116,6 +116,23 @@ Configures Element to use a new cryptography implementation based on the [matrix This setting is (currently) _sticky_ to a user's session: it only takes effect when the user logs in to a new session. Likewise, even after disabling the setting in `config.json`, the Rust implementation will remain in use until users log out. +This configuration value is now set to `true` by default. This means that without any additional configuration +every new login will use the new cryptography implementation. + +For administrators looking to transition existing users to the new stack, the `RustCrypto.staged_rollout_percent` configuration is available. +This configuration allows for a phased migration of users, represented as an integer percentage (0 to 100). By default, this value is set to `0`, +which means no existing users will be migrated to the new stack. If you wish to migrate all users, you can adjust this value to `100`. + +This configuration should be placed under the `setting_defaults` section as shown: + +``` + "setting_defaults": { + "RustCrypto.staged_rollout_percent": 20 + }, +``` + +By adjusting the `RustCrypto.staged_rollout_percent` value, you can control the migration process according to your deployment strategy. + ## New room header & details (`feature_new_room_decoration_ui`) [In Development] Refactors visually the room header and room sidebar diff --git a/element.io/develop/config.json b/element.io/develop/config.json index d92e575a54..9a4227c8af 100644 --- a/element.io/develop/config.json +++ b/element.io/develop/config.json @@ -49,10 +49,12 @@ "privacy_policy_url": "https://element.io/cookie-policy", "features": { "feature_video_rooms": true, - "feature_rust_crypto": true, "feature_new_room_decoration_ui": true, "feature_element_call_video_rooms": true }, + "setting_defaults": { + "RustCrypto.staged_rollout_percent": 100 + }, "element_call": { "url": "https://call.element.dev" },