Skip to content

Conversation

@n1v0lg
Copy link
Contributor

@n1v0lg n1v0lg commented Feb 2, 2023

In FIPS mode, passwords require a minimal length. This PR adjusts a test to adhere to this.

Fixes: #93449

@n1v0lg n1v0lg added >test Issues or PRs that are addressing/adding tests :Core/Infra/Core Core issues without another label :Security/FIPS Running ES in FIPS 140-2 mode labels Feb 2, 2023
@n1v0lg n1v0lg requested a review from grcevski February 2, 2023 10:06
@n1v0lg n1v0lg self-assigned this Feb 2, 2023
@elasticsearchmachine elasticsearchmachine added v8.7.0 Team:Core/Infra Meta label for core/infra team Team:Security Meta label for security team labels Feb 2, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@n1v0lg
Copy link
Contributor Author

n1v0lg commented Feb 2, 2023

I haven't had time to check if other tests in that suite have the same issue or not since test triage is pretty busy today. @grcevski would be able to run the suite with -Dtests.fips.enabled=true to validate? Thanks!

Copy link
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for fixing this!

@grcevski
Copy link
Contributor

grcevski commented Feb 2, 2023

I confirmed, it's the only one that still fails in the whole Test file.

@n1v0lg
Copy link
Contributor Author

n1v0lg commented Feb 2, 2023

Ideal, thanks @grcevski!

@n1v0lg n1v0lg merged commit a0343e4 into elastic:main Feb 2, 2023
@n1v0lg n1v0lg deleted the fix-too-short-password-fips-mode branch February 2, 2023 14:03
mark-vieira pushed a commit to mark-vieira/elasticsearch that referenced this pull request Feb 2, 2023
In FIPS mode, passwords require a minimal length. This PR adjusts a
test to adhere to this.

Fixes: elastic#93449
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label :Security/FIPS Running ES in FIPS 140-2 mode Team:Core/Infra Meta label for core/infra team Team:Security Meta label for security team >test Issues or PRs that are addressing/adding tests v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] ServerCliTests testSecureSettingsLoaderWithPassword failing

3 participants