Repository navigation
fix: apply Azul eMudhra blocklist to the jlinked JRE - #57
Closed
aaron-steinfeld wants to merge 1 commit into
Closed
aaron-steinfeld wants to merge 1 commit into
aaron-steinfeld wants to merge 1 commit into
Conversation
Overlay Azul's emudhra-block-unix.certs (SHA-256 verified) onto /jre/lib/security/blocked.certs after jlink, since jlink takes the list from jmods. Same 86 fingerprints as Zulu 11.0.33 / 21.0.13. Temporary until the base image is on a fixed Zulu release. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Smaller alternative to #55 (and a stopgap next to #56): keep the current Zulu images and overlay Azul's published blocklist, per https://docs.azul.com/core/emudhra-workaround.html.
emudhra-block-unix.certsasjava-11/blocked.certsandjava-21/blocked.certs.jlink, each Dockerfile verifies its SHA-256 (2596bb6d…bf10) and copies it over/jre/lib/security/blocked.certswith mode 644. It has to run afterjlink, which takesblocked.certsfromjmods, so an overlay on the JDK beforejlinkwould be lost.blocked.certsin Zulu 11.0.33 and 21.0.13, and is a superset of the lists in 11.0.32.1 and 21.0.12.1, so nothing is dropped.java.versionor workflow changes, and no CA roots are deleted (unlike Delete unwanted CA certificates in Dockerfile #55). No network fetch at build time.Limits:
Tested by building java-11 and java-21 for linux/arm64. The hash check passes, and the installed file in each image matches Azul's hash with mode 644. amd64, the Trivy scan, and a forged-chain rejection test were not run.
🤖 Generated with Claude Code