1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

[EC-277] Remove SHA-1 encryption from SSO Outbound and Minimum Signing Algorithm lists (#2509)

This commit is contained in:
Rui Tomé 2022-12-29 12:38:31 +00:00 committed by GitHub
parent bc85cbe381
commit c2fe3e4949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,13 +6,11 @@ public static class SamlSigningAlgorithms
public const string Sha256 = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
public const string Sha384 = "http://www.w3.org/2000/09/xmldsig#rsa-sha384";
public const string Sha512 = "http://www.w3.org/2000/09/xmldsig#rsa-sha512";
public const string Sha1 = "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
public static IEnumerable<string> GetEnumerable()
{
yield return Sha256;
yield return Sha384;
yield return Sha512;
yield return Sha1;
}
}