-
Notifications
You must be signed in to change notification settings - Fork 300
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
Add bcpkix-jdk15on runtimeOnly dependency to read keys with bouncycastle #2191
Conversation
…ith bouncycastle Signed-off-by: Craig Perkins <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a journey, started on Jul 25. Nice to see this coming to a close
This was definitely a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome! Thank you for your effort @cwperks !!!
2 nits, but should not block this PR: 1. Remove sysout 2. remove commented code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cwperks Could you please remove the system.out
line and commented line?
Signed-off-by: Craig Perkins <[email protected]>
64c22a1
Codecov Report
@@ Coverage Diff @@
## main #2191 +/- ##
============================================
- Coverage 61.14% 61.11% -0.04%
+ Complexity 3266 3263 -3
============================================
Files 259 259
Lines 18335 18334 -1
Branches 3248 3248
============================================
- Hits 11211 11204 -7
- Misses 5535 5538 +3
- Partials 1589 1592 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…tle (#2191) * Add bouncycastle bcpkix-jdk15on runtimeOnly dependency to read keys with bouncycastle Signed-off-by: Craig Perkins <[email protected]> (cherry picked from commit 966b3fc)
…tle (#2191) (#2200) * Add bouncycastle bcpkix-jdk15on runtimeOnly dependency to read keys with bouncycastle Signed-off-by: Craig Perkins <[email protected]> (cherry picked from commit 966b3fc) Co-authored-by: Craig Perkins <[email protected]>
…tle (opensearch-project#2191) * Add bouncycastle bcpkix-jdk15on runtimeOnly dependency to read keys with bouncycastle Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Stephen Crawford <[email protected]>
…tle (opensearch-project#2191) (opensearch-project#2200) * Add bouncycastle bcpkix-jdk15on runtimeOnly dependency to read keys with bouncycastle Signed-off-by: Craig Perkins <[email protected]> (cherry picked from commit 966b3fc) Co-authored-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins [email protected]
Description
Adds
bcpkix-jdk15on
to runtime classpath to make netty use bouncycastle when reading key files. Netty has fallback logic to use existing PEMReader if bouncycastle fails to read the pemfile.Enhancement
Issues Resolved
Testing
Added unit test to test PKCS#1 format at unit test time.
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.