Skip to content

[Backport release-26.05] gradle: use cacert for the google-api-client trust store - #591866

Merged
r-vdp merged 2 commits into
release-26.05from
backport-576575-to-release-26.05
Nov 22, 2026
Merged

r-vdp merged 2 commits into
release-26.05from
backport-576575-to-release-26.05

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Bot-based backport to release-26.05, triggered by a label in #576575.

Before merging, ensure that this backport is acceptable for the release.

Even as a non-committer, if you find that it is not acceptable, leave a comment.

Tip

If you maintain all packages touched by this pull request, and they are all located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this PR using the nixpkgs-merge-bot.

zimbatm and others added 2 commits November 22, 2026 21:39
Gradle uses google-api-client 1.34.0 for gcs:// repositories and the
GCS build cache. GcsClient calls GoogleNetHttpTransport.newTrustedTransport().
That method trusts only google.p12 from the jar (password notasecret).
It does not use the JDK cacerts. The bundled list is from 2022 and does
not get cacert updates, for example the eMudhra and Sectigo revocations.

Replace google.p12 with a PKCS12 store made from cacert. Remove
google.jks, because no code reads it. The rewritten jar is reproducible.

See #576542.

Assisted-by: Claude Code (claude-opus-5)
(cherry picked from commit 64b8709)
@nixpkgs-ci nixpkgs-ci Bot added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Nov 22, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from zimbatm November 22, 2026 21:39
@r-vdp
r-vdp enabled auto-merge November 22, 2026 21:41
@r-vdp
r-vdp added this pull request to the merge queue Nov 22, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested review from a team, britter, liff and lorenzleutgeb November 22, 2026 21:45
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. llm-assisted Contributions that include code generation with LLMs 6.topic: java Including JDK, tooling, other languages, other VMs 4.workflow: backport This targets a stable branch labels Nov 22, 2026
Merged via the queue into release-26.05 with commit de1c7c3 Nov 22, 2026
34 checks passed
@r-vdp
r-vdp deleted the backport-576575-to-release-26.05 branch November 22, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 4.workflow: backport This targets a stable branch 6.topic: java Including JDK, tooling, other languages, other VMs 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants