diff --git a/src/Server/src/Core/SecretService.cs b/src/Server/src/Core/SecretService.cs index 332946a..d41deef 100644 --- a/src/Server/src/Core/SecretService.cs +++ b/src/Server/src/Core/SecretService.cs @@ -40,12 +40,6 @@ public SecretService(IEnumerable sharedSecretGenerators, secret.Value = secretValue.ToSha256(); - if (request.SaveValue.GetValueOrDefault() && _encryptionService is not NoEncryptionProvider) - { - secret.EncryptedValue = - await _encryptionService.EncryptAsync(secretValue, CancellationToken.None); - } - return (secret, secretValue); }