Skip to content

Add Deno checkPrime fix reference#8271

Open
cookesan wants to merge 1 commit into
github:cookesan/advisory-improvement-8271from
cookesan:deno-9xg4-fix-reference
Open

Add Deno checkPrime fix reference#8271
cookesan wants to merge 1 commit into
github:cookesan/advisory-improvement-8271from
cookesan:deno-9xg4-fix-reference

Conversation

@cookesan

Copy link
Copy Markdown

Adds the upstream merge commit for denoland/deno#34391 to GHSA-9xg4-qhm4-g43w.

Evidence checked:

  • PR #34391 merged as commit b7e72335c0c5c935d94cfeeda8cba992642653e9.
  • The v2.8.1 fixed tag contains that merge commit, and the release notes name #34391 as the minimum Miller-Rabin rounds fix for checkPrime.
  • The commit clamps Miller-Rabin rounds to FIPS 186-4 minimums when the caller passes zero and adds regression coverage for composite values that pass trial division.
  • The crates.io deno 2.8.1 package depends on deno_runtime 0.257.0, deno_node 0.187.0, and deno_node_crypto 0.19.0; the deno_node_crypto 0.19.0 source package contains the fixed primes.rs code and tests.

@github-actions github-actions Bot changed the base branch from main to cookesan/advisory-improvement-8271 June 29, 2026 10:44
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.

1 participant