GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — [improve][misc] Upgrade Conscrypt to 2.6.1 to add aarch64 native support by lhotari · Pull Request #26314 · apache/pulsar Conversation
Member
Motivation
This matters more than it looks, because Conscrypt is a shipped default, not an opt-in: On ARM64 that default has never been honoured. provider = Security.getProvider(providerName); // null - Conscrypt never registered if (provider == null) { provider = SSLContext.getDefault().getProvider(); } The fallback is logged at Conscrypt 2.6.0 adds
Modifications1. Bump the version catalog — 2. Remove the obsolete
2.5.2 never reads the static Net: +18 / −103. Verifying this change
This change is already covered by existing tests — 138 TLS tests in
The API surface was verified rather than assumed: Pulsar reaches Conscrypt reflectively, so the compiler cannot catch breakage. All reflectively-referenced members still resolve in 2.6.1 with identical signatures ( The Native loading was smoke-tested in Pulsar's actual container base images (load +
Notes for reviewersThree consequences of the upgrade that are worth an explicit decision: 1. glibc 2.35 floor on Both shipped Docker images are unaffected: Wolfi has glibc 2.43, and the Alpine image already installs 2. Hostname verification becomes more lenient in code paths Pulsar does not own. This follows from the upgrade itself, not from the workaround removal. 3. Smaller packaging notes. The uber jar grows ~9.7 MB → ~14 MB ( Does this pull request potentially affect one of the following parts:If the box was checked, please highlight the changes
Dependencies: Deployment: ARM64 deployments start actually using Conscrypt where they previously fell back to the JDK provider, and tarball installs on glibc < 2.35 now fall back where they previously used Conscrypt. See Notes for reviewers. Public API:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsConscrypt 2.6.0 adds linux-aarch_64 and osx-aarch_64 natives. Since `webServiceTlsProvider=Conscrypt` is the shipped default in broker.conf, proxy.conf and standalone.conf (and `tlsProvider=Conscrypt` in websocket.conf), ARM64 deployments have been silently falling back to the JDK provider because 2.5.2 shipped no aarch64 native at all. Jetty 12.1.12 already declares conscrypt 2.6.0, so the previous 2.5.2 pin was downgrading it; 2.6.1 upgrades it instead. Also removes the now-obsolete workaround for google/conscrypt#1015: conscrypt 2.6.0 included google/conscrypt#1060, which makes TrustManagerImpl fall back to the default hostname verifier on its own, so Pulsar no longer has to copy it onto every TrustManager instance. Assisted-by: Claude Code (Opus 5)
5 of 14 tasks
Technoboy-
approved these changes
Uh oh!
There was an error while loading. Please reload this page.
lhotari
added a commit
to lhotari/pulsar
that referenced
this pull request
… 2.6.1 Merging master brought in apache#26314, which upgrades Conscrypt to 2.6.1 for aarch64 native support and drops the issue-1015 hostname-verifier workaround that 2.6.0 made unnecessary. The merge itself was clean and the workaround had no callers in this branch beyond the files that commit already updated. It does falsify the justification the previous commit gave for the conditional web-listener default, which said the uber jar ships x86_64 natives only and that aarch64 would fail at startup. As of 2.6.1 aarch64 is covered, so that reasoning is corrected everywhere it appears: the `resolveWebJsseProvider` javadoc, the four `@FieldContext` descriptions, the five conf files, both pip-478.md passages and the test comment. The mechanism is unchanged and still warranted — availability is tested rather than assumed, because the jar still does not cover every platform Pulsar runs on (s390x) and need not be on the class path at all. What changes is the reach of the default: it now applies on aarch64 too, so Apple silicon and ARM servers get Conscrypt rather than the JVM default. One practical consequence for verification: this machine is aarch64, so before the upgrade a local build could exercise only the fallback branch and the Conscrypt branch was reachable only on CI. With 2.6.1 `checkAvailability()` succeeds here, and `DefaultBrokerTlsPolicyTest` now covers the Conscrypt branch locally as well. Assisted-by: Claude Code (Opus 5)
This was referenced
Merged
nodece
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
…ort (apache#26314) (cherry picked from commit 86ff200)
Radiancebobo
pushed a commit
to Radiancebobo/pulsar
that referenced
this pull request
nodece
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
…ort (apache#26314) (cherry picked from commit 86ff200)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | |||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |