Skip to content

Conversation

@hdu-sdlzx
Copy link
Contributor

Fixes #508

Motivation

OpenSSL 3.x deprecated some APIs used in pulsar. These APIs will not exist in OpenSSL headers if you configure OpenSSL with "no-deprecated".

Modifications

Use EVP APIs to replace RSA APIs as suggested by OpenSSL 3.x
Here is the official example of the new APIs: https://docs.openssl.org/3.5/man3/EVP_PKEY_decrypt/#examples

Verifying this change

  • [*] Make sure that the change passes the CI checks.

This change is already covered by existing tests, such as BasicEndToEndTest.testRSAEncryption

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • [*] doc-not-needed
    (Please explain why) Internal changes, not visible to pulsar users.

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@hdu-sdlzx
Copy link
Contributor Author

Github Actions stuck at "Waiting for status to be reported", maybe something wrong with CI/CD? @BewareMyPower

@BewareMyPower BewareMyPower added this to the 3.9.0 milestone Oct 14, 2025
@BewareMyPower
Copy link
Contributor

image

It needs a committer to click this button. It might be due to this is your first contribution (not very sure)

Signed-off-by: Liu Zixian <zixian.liu@dolphindb.com>
@hdu-sdlzx
Copy link
Contributor Author

fixed format issues

@lhotari
Copy link
Member

lhotari commented Oct 14, 2025

Github Actions stuck at "Waiting for status to be reported", maybe something wrong with CI/CD? @BewareMyPower

@hdu-sdlzx If you want immediate CI feedback for your changes and full control over GitHub Actions CI, you can enable GitHub Actions in your own forked repository and open a PR to your own fork for the same PR branch. The approach is explained in https://pulsar.apache.org/contribute/personal-ci/ for apache/pulsar repository.

@BewareMyPower BewareMyPower merged commit 4366ffe into apache:main Oct 14, 2025
14 checks passed
@BewareMyPower BewareMyPower modified the milestones: 3.9.0, 3.8.0 Oct 16, 2025
BewareMyPower pushed a commit that referenced this pull request Oct 16, 2025
(cherry picked from commit 4366ffe)
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.

OpenSSL deprecated functions in lib/MessageCrypto.cc

3 participants