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

[7.7] Adjust reload keystore test to pass in FIPS (#57050) #57135

Merged
merged 1 commit into from
May 26, 2020

Conversation

jkakavas
Copy link
Member

Backports the following commits to 7.7:

In KeystoreWrapper class we determine if the error to decrypt a
given keystore is caused by a wrong password based on the exception
that the SunJCE implementation of AES is throwing
(AEADBadTagException). Other implementations from other Security
Providers might cause decryption to fail in a different way and cause
us to throw a generic error message.
We handle this in this test by matching both possible
exception messages.

Relates: elastic#56889
@jkakavas jkakavas merged commit 36c129d into elastic:7.7 May 26, 2020
@jkakavas jkakavas deleted the backport/7.7/pr-57050 branch May 26, 2020 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant