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

Adjust reload keystore test to pass in FIPS #57050

Merged
merged 1 commit into from
May 26, 2020

Commits on May 21, 2020

  1. Adjust reload keystore test to pass in FIPS

    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 fail with a different exception and as such we cannot
    differentiate between a corrupted file and a wrong passwordin a
    foolproof way.
    we handle this in this test by matching both possible
    exception messages.
    
    Relates: elastic#56889
    jkakavas committed May 21, 2020
    Configuration menu
    Copy the full SHA
    83958f7 View commit details
    Browse the repository at this point in the history