From eb20adb53eb703feacb36d38c6451f91c4e89c4c Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Wed, 20 Nov 2024 10:24:29 -0800 Subject: [PATCH] Add QA flag (#5005) Co-authored-by: Matt Bishop Co-authored-by: aj-bw <81774843+aj-bw@users.noreply.github.com> --- src/Api/Vault/Controllers/SyncController.cs | 2 +- src/Core/Constants.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Api/Vault/Controllers/SyncController.cs b/src/Api/Vault/Controllers/SyncController.cs index 5ffaa0e34..c08a5f86e 100644 --- a/src/Api/Vault/Controllers/SyncController.cs +++ b/src/Api/Vault/Controllers/SyncController.cs @@ -112,7 +112,7 @@ public class SyncController : Controller private ICollection FilterSSHKeys(ICollection ciphers) { - if (_currentContext.ClientVersion >= _sshKeyCipherMinimumVersion) + if (_currentContext.ClientVersion >= _sshKeyCipherMinimumVersion || _featureService.IsEnabled(FeatureFlagKeys.SSHVersionCheckQAOverride)) { return ciphers; } diff --git a/src/Core/Constants.cs b/src/Core/Constants.cs index 3de1060e1..8fe388653 100644 --- a/src/Core/Constants.cs +++ b/src/Core/Constants.cs @@ -123,6 +123,7 @@ public static class FeatureFlagKeys public const string DeviceTrustLogging = "pm-8285-device-trust-logging"; public const string SSHKeyItemVaultItem = "ssh-key-vault-item"; public const string SSHAgent = "ssh-agent"; + public const string SSHVersionCheckQAOverride = "ssh-version-check-qa-override"; public const string AuthenticatorTwoFactorToken = "authenticator-2fa-token"; public const string IdpAutoSubmitLogin = "idp-auto-submit-login"; public const string UnauthenticatedExtensionUIRefresh = "unauth-ui-refresh";