Skip to content

fix: hash the manifest version with sha256 for FIPS hosts - #126

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
fix/fips-safe-manifest-hash
Sep 4, 2026
Merged

fix: hash the manifest version with sha256 for FIPS hosts#126
ScriptedAlchemy merged 1 commit into
mainfrom
fix/fips-safe-manifest-hash

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Collaborator

Summary

The browser manifest version was an md5 digest, and md5 is unavailable when Node runs on a FIPS-enabled machine, so builds threw there (#124). Use sha256, which is FIPS-approved; the version only needs to be a short, stable content digest. The other two hashes in the plugin were already sha256 and sha384.

Existing deployments see the manifest file name change once. Patch changeset included.

Fixes #124

Verification

pnpm typecheck, pnpm build, and the manifest unit suites pass.

🤖 Generated with Claude Code

md5 is unavailable when Node runs on a FIPS-enabled machine, so the
manifest version digest threw during builds there. sha256 is FIPS-approved
and the version only needs to be a short, stable content digest.

Fixes #124

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-04T23:02:16.775570Z fd8f889 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Sep 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/rsbuild-plugin-react-router@fd8f889

commit: fd8f889

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Benchmark results

Case Base Head Delta
build-256-ssr 2127.6 ms 2109.8 ms -0.8%
dev-48-ssr 939.8 ms 900.4 ms -4.2%

@codspeed-hq

codspeed-hq Bot commented Sep 4, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 1 untouched benchmark
⏩ 2 skipped benchmarks1


Comparing fix/fips-safe-manifest-hash (fd8f889) with main (e30dc2e)

Open in CodSpeed

Footnotes

  1. 2 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@ScriptedAlchemy
ScriptedAlchemy merged commit 93c1333 into main Sep 4, 2026
9 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the fix/fips-safe-manifest-hash branch September 4, 2026 23:15
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.

md5 hardcoded without configuration option

1 participant