Skip to content

fix: use KeyManagerFactory.getDefaultAlgorithm() in TlsUtil.keyManager()#8122

Open
lbarrios wants to merge 1 commit intoopen-telemetry:mainfrom
lbarrios:fix-8112
Open

fix: use KeyManagerFactory.getDefaultAlgorithm() in TlsUtil.keyManager()#8122
lbarrios wants to merge 1 commit intoopen-telemetry:mainfrom
lbarrios:fix-8112

Conversation

@lbarrios
Copy link

TlsUtil.keyManager() was incorrectly using TrustManagerFactory.getDefaultAlgorithm() to initialize KeyManagerFactory, which could cause NoSuchAlgorithmException.

Fixes #8112

TlsUtil.keyManager() was incorrectly using TrustManagerFactory.getDefaultAlgorithm()
to initialize KeyManagerFactory, which could cause NoSuchAlgorithmException.

Fixes open-telemetry#8112
@lbarrios lbarrios requested a review from a team as a code owner February 27, 2026 19:55
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 27, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: lbarrios / name: Ezequiel Barrios (b0ca48f)

@jack-berg
Copy link
Member

Can you sign the CLA? Thanks!

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.34%. Comparing base (250021c) to head (b0ca48f).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8122      +/-   ##
============================================
+ Coverage     90.33%   90.34%   +0.01%     
- Complexity     7614     7647      +33     
============================================
  Files           839      841       +2     
  Lines         22913    23007      +94     
  Branches       2285     2295      +10     
============================================
+ Hits          20698    20786      +88     
- Misses         1505     1507       +2     
- Partials        710      714       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TlsUtil.keyManager() uses TrustManagerFactory.getDefaultAlgorithm() to initialize KeyManagerFactory

2 participants