Make security plugin aware of FIPS build param (-Pcrypto.standard=FIPS-140-3)#5952
Merged
cwperks merged 3 commits intoopensearch-project:mainfrom Feb 12, 2026
Merged
Conversation
…S-140-3) Signed-off-by: Craig Perkins <cwperx@amazon.com>
Member
Author
|
FYI @beanuwave this PR would fix jar hell, but you would still get an error when trying to start OpenSearch + security: Do you think we should revisit the logic in openseach-env? |
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5952 +/- ##
==========================================
+ Coverage 73.75% 73.76% +0.01%
==========================================
Files 439 439
Lines 26884 26884
Branches 3980 3980
==========================================
+ Hits 19827 19832 +5
+ Misses 5172 5165 -7
- Partials 1885 1887 +2 🚀 New features to boost your workflow:
|
reta
reviewed
Feb 12, 2026
Signed-off-by: Craig Perkins <cwperx@amazon.com>
reta
approved these changes
Feb 12, 2026
DarshitChanpura
approved these changes
Feb 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR makes the security plugin aware of the
-Pcrypto.standard=FIPS-140-3build param. When present, it means that any bc (bouncycastle) FIPS jars are provided from the core and available at runtime. When absent, the security plugin needs to include them in its assembly (i.e. difference betweencompileOnlyandimplementationfor dependency scope.Testing:
./gradlew localDistro -Pcrypto.standard=FIPS-140-3but security plugin is not-Pcrypto.standard=FIPS-140-3Enhancement
Issues Resolved
Resolves opensearch-project/opensearch-build#5979
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.