Skip to content

Conversation

@gaoran10
Copy link
Contributor

@gaoran10 gaoran10 commented Jul 30, 2025

Motivation

Currently, the Java client only supports loading RSA PKCS#1 format private keys.

Modifications

Support loading RSA PKCS#8 format private key.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@gaoran10 gaoran10 changed the title [improve][client] Support RSA PKCS#8 format [improve][client] Support load RSA PKCS#8 private key Jul 30, 2025
@gaoran10 gaoran10 self-assigned this Jul 30, 2025
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jul 30, 2025
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codelipenghui
Copy link
Contributor

/pulsarbot run-failure-checks

@codecov-commenter
Copy link

codecov-commenter commented Jul 30, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 74.33%. Comparing base (bbc6224) to head (8799f1f).
⚠️ Report is 1250 commits behind head on master.

Files with missing lines Patch % Lines
...che/pulsar/client/impl/crypto/MessageCryptoBc.java 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #24582      +/-   ##
============================================
+ Coverage     73.57%   74.33%   +0.76%     
- Complexity    32624    32671      +47     
============================================
  Files          1877     1880       +3     
  Lines        139502   146422    +6920     
  Branches      15299    16786    +1487     
============================================
+ Hits         102638   108847    +6209     
- Misses        28908    28917       +9     
- Partials       7956     8658     +702     
Flag Coverage Δ
inttests 26.92% <0.00%> (+2.33%) ⬆️
systests 23.41% <0.00%> (-0.92%) ⬇️
unittests 73.82% <66.66%> (+0.97%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...che/pulsar/client/impl/crypto/MessageCryptoBc.java 69.26% <66.66%> (+1.13%) ⬆️

... and 1113 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codelipenghui codelipenghui merged commit 8cf353f into apache:master Jul 30, 2025
140 of 145 checks passed
lhotari pushed a commit that referenced this pull request Aug 4, 2025
lhotari pushed a commit that referenced this pull request Aug 4, 2025
nodece pushed a commit to ascentstream/pulsar that referenced this pull request Aug 6, 2025
gaozhangmin pushed a commit to gaozhangmin/pulsar that referenced this pull request Aug 13, 2025
poorbarcode pushed a commit to poorbarcode/pulsar that referenced this pull request Aug 14, 2025
ganesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Aug 20, 2025
(cherry picked from commit 8cf353f)
(cherry picked from commit 1b9b6ae)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Aug 20, 2025
(cherry picked from commit 8cf353f)
(cherry picked from commit 1b9b6ae)
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request Aug 20, 2025
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Aug 26, 2025
KannarFr pushed a commit to CleverCloud/pulsar that referenced this pull request Sep 22, 2025
walkinggo pushed a commit to walkinggo/pulsar that referenced this pull request Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants