From 6a2c488827a982220aacbde4a3fe57421c1bd98e Mon Sep 17 00:00:00 2001 From: Yang Wang Date: Mon, 29 Jun 2020 23:36:18 +1000 Subject: [PATCH] Reinstate separation of cryption and signature keys for FIPS (#58668) Fix an error introduced by merging master into the PR branch which accidentally undone the separation of cryption and signature keys used by FIPS tests. --- .../xpack/security/authc/saml/SamlResponseHandlerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlResponseHandlerTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlResponseHandlerTests.java index ccc6b2f978677..9a05f7c30c90e 100644 --- a/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlResponseHandlerTests.java +++ b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlResponseHandlerTests.java @@ -106,7 +106,7 @@ public static void calculateAesLength() throws NoSuchAlgorithmException { public static void initCredentials() throws Exception { idpSigningCertificatePair = readRandomKeyPair(SamlResponseHandlerTests.randomSigningAlgorithm()); spSigningCertificatePair = readRandomKeyPair(SamlResponseHandlerTests.randomSigningAlgorithm()); - spEncryptionCertificatePairs = Arrays.asList(readKeyPair("RSA_2048"), readKeyPair("RSA_4096")); + spEncryptionCertificatePairs = Arrays.asList(readKeyPair("ENCRYPTION_RSA_2048"), readKeyPair("ENCRYPTION_RSA_4096")); } protected static String randomSigningAlgorithm() {