Skip to content

fips: correct legacy provider environment variable name - #4192

Merged
cyphermox merged 2 commits into
chainguard-dev:mainfrom
cyphermox:fix/fips-legacy-allowed-env
Oct 13, 2026
Merged

cyphermox merged 2 commits into
chainguard-dev:mainfrom
cyphermox:fix/fips-legacy-allowed-env

Conversation

@cyphermox

Copy link
Copy Markdown
Contributor

[x] Check if this is a typo or other quick fix and ignore the rest :)

Type of change

Correction.

What should this PR do?

The non-approved algorithms page tells readers to set CHAINGUARD_LEGACY_APPROVED=0 to disable the legacy provider. The shipped openssl.cnf (stereo os/openssl/openssl.cnf, os/openssl-4.0/openssl.cnf) reads CHAINGUARD_LEGACY_ALLOWED; nothing reads CHAINGUARD_LEGACY_APPROVED, so following the page has no effect. Also fixes "uniformally" in the same sentence.

The section heading still says "Legacy Approved". It is left as is so the existing #chainguard-legacy-approved-provider-for-openssl anchor keeps working.

How should this PR be tested?

docker run --rm --user root --entrypoint sh cgr.dev/chainguard/python:latest-dev -c 'apk add -q openssl; for v in "" CHAINGUARD_LEGACY_APPROVED=0 CHAINGUARD_LEGACY_ALLOWED=0; do echo "== ${v:-default}"; env $v openssl list -providers | grep -A1 "^  [a-z]"; done'

legacy is listed for the default run and for CHAINGUARD_LEGACY_APPROVED=0; only default remains with CHAINGUARD_LEGACY_ALLOWED=0.

🤖 Generated with Claude Code

cyphermox and others added 2 commits October 13, 2026 09:14
The shipped openssl.cnf reads CHAINGUARD_LEGACY_ALLOWED;
CHAINGUARD_LEGACY_APPROVED is not read by anything, so setting it
does not disable the legacy provider.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 13, 2026

Copy link
Copy Markdown

@cyphermox is attempting to deploy a commit to the Chainguard Team on Vercel.

A member of the Team first needs to authorize it.

@cyphermox
cyphermox requested a review from a team as a code owner October 13, 2026 13:17
@netlify

netlify Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ornate-narwhal-088216 ready!

Name Link
🔨 Latest commit 7e18151
🔍 Latest deploy log https://app.netlify.com/projects/ornate-narwhal-088216/deploys/6ace2f60a7f0d6e5e6271f2e
😎 Deploy Preview https://deploy-preview-4192--ornate-narwhal-088216.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@matthewhelmke matthewhelmke left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for catching this!

@cyphermox
cyphermox merged commit e50f752 into chainguard-dev:main Oct 13, 2026
9 of 10 checks passed
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.

3 participants