Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mute flaky security that fail with "unrecognized algorithm name" #73537

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -9,6 +9,7 @@
import org.apache.lucene.store.IOContext;
import org.apache.lucene.store.IndexOutput;
import org.apache.lucene.store.SimpleFSDirectory;
import org.elasticsearch.bootstrap.JavaVersion;
import org.elasticsearch.common.settings.KeyStoreWrapper;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
Expand All @@ -27,6 +28,8 @@
public class FIPS140SecureSettingsBootstrapCheckTests extends AbstractBootstrapCheckTestCase {

public void testLegacySecureSettingsIsNotAllowed() throws Exception {
assumeFalse("JDK bug JDK-8266279, https://github.com/elastic/elasticsearch/issues/68995",
JavaVersion.current().compareTo(JavaVersion.parse("8")) == 0);
assumeFalse("Can't run in a FIPS JVM, PBE is not available", inFipsJvm());
final Settings.Builder builder = Settings.builder()
.put("path.home", createTempDir())
Expand Down
Expand Up @@ -8,6 +8,7 @@
import joptsimple.OptionSet;

import org.elasticsearch.ExceptionsHelper;
import org.elasticsearch.bootstrap.JavaVersion;
import org.elasticsearch.cli.MockTerminal;
import org.elasticsearch.cli.UserException;
import org.elasticsearch.common.collect.Tuple;
Expand Down Expand Up @@ -550,6 +551,8 @@ public void testSigningMetadataWithPasswordProtectedPemInTerminal() throws Excep
}

public void testDefaultOptionsWithSigningAndMultipleEncryptionKeys() throws Exception {
assumeFalse("JDK bug JDK-8266279, https://github.com/elastic/elasticsearch/issues/68995",
JavaVersion.current().compareTo(JavaVersion.parse("8")) == 0);
final Path dir = createTempDir();

final Path ksEncryptionFile = dir.resolve("saml-encryption.p12");
Expand Down