From 994d157064d1fd70bbaecae956c476afc9d5bb87 Mon Sep 17 00:00:00 2001 From: Ben Sherman Date: Sat, 15 Mar 2025 11:46:42 -0700 Subject: [PATCH] Add support for mutual-tls feature flag (#5698) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add support for mutual-tls feature flag * Fix formatting --------- Co-authored-by: Daniel GarcĂ­a --- .env.template | 1 + src/config.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/.env.template b/.env.template index 80eb4756..0ea15371 100644 --- a/.env.template +++ b/.env.template @@ -353,6 +353,7 @@ ## - "inline-menu-positioning-improvements": Enable the use of inline menu password generator and identity suggestions in the browser extension. ## - "ssh-key-vault-item": Enable the creation and use of SSH key vault items. (Needs clients >=2024.12.0) ## - "ssh-agent": Enable SSH agent support on Desktop. (Needs desktop >=2024.12.0) +## - "mutual-tls": Enable the use of mutual TLS on Android (Client >= 2025.2.0) # EXPERIMENTAL_CLIENT_FEATURE_FLAGS=fido2-vault-credentials ## Require new device emails. When a user logs in an email is required to be sent. diff --git a/src/config.rs b/src/config.rs index 09e6ac37..f82ff63d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -842,6 +842,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> { "inline-menu-positioning-improvements", "ssh-key-vault-item", "ssh-agent", + "mutual-tls", ]; let configured_flags = parse_experimental_client_feature_flags(&cfg.experimental_client_feature_flags); let invalid_flags: Vec<_> = configured_flags.keys().filter(|flag| !KNOWN_FLAGS.contains(&flag.as_str())).collect();