Skip to content

Commit

Permalink
Reinstate separation of cryption and signature keys for FIPS (elastic…
Browse files Browse the repository at this point in the history
…#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.
  • Loading branch information
ywangd committed Jul 1, 2020
1 parent 69e062a commit 6a2c488
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6a2c488

Please sign in to comment.