René's URL Explorer Experiment


Title: `make_program_cache_key`: blake2b is not a FIPS-compliant hash · Issue #2043 · NVIDIA/cuda-python · GitHub

Open Graph Title: `make_program_cache_key`: blake2b is not a FIPS-compliant hash · Issue #2043 · NVIDIA/cuda-python

X Title: `make_program_cache_key`: blake2b is not a FIPS-compliant hash · Issue #2043 · NVIDIA/cuda-python

Description: make_program_cache_key (added in #1912) uses hashlib.blake2b for cache key derivation. blake2b is not FIPS-approved, so hashlib.blake2b() raises ValueError on FIPS-compliant Linux systems: ValueError: [digital envelope routines: EVP_Dige...

Open Graph Description: make_program_cache_key (added in #1912) uses hashlib.blake2b for cache key derivation. blake2b is not FIPS-approved, so hashlib.blake2b() raises ValueError on FIPS-compliant Linux systems: ValueErr...

X Description: make_program_cache_key (added in #1912) uses hashlib.blake2b for cache key derivation. blake2b is not FIPS-approved, so hashlib.blake2b() raises ValueError on FIPS-compliant Linux systems: ValueErr...

Opengraph URL: https://github.com/NVIDIA/cuda-python/issues/2043

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`make_program_cache_key`: blake2b is not a FIPS-compliant hash","articleBody":"`make_program_cache_key` (added in #1912) uses `hashlib.blake2b` for cache key derivation. blake2b is not FIPS-approved, so `hashlib.blake2b()` raises `ValueError` on FIPS-compliant Linux systems:\n\n```\nValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS\n```\n\nThis is common in government/DOE supercomputer environments — exactly where CUDA workloads run. CuPy hit the same issue with `hashlib.md5` (cupy/cupy#5959, fixed in cupy/cupy#5988 by switching to SHA-1).\n\nNote: `FileStreamProgramCache._path_for_key` also uses `hashlib.blake2b` to hash keys into filesystem paths — this needs the same fix.\n\n## Proposed fix\n\n1. Switch from blake2b to a FIPS-approved hash. Two options:\n   - **SHA-1** (20-byte digest, FIPS-approved) — matches CuPy's choice. Faster than SHA-256. 160-bit collision resistance is more than sufficient for cache keys.\n   - **SHA-256** (32-byte digest, FIPS-approved) — drop-in replacement for the current `blake2b(digest_size=32)`. Slightly slower but stronger.\n2. Remove both the hash algorithm name AND the digest size from the public `make_program_cache_key` docstring — the `Returns` section currently says \"A 32-byte blake2b digest.\" Both the algorithm and the size are implementation details that may change (e.g., switching to SHA-1 changes the size from 32 to 20 bytes). The return type should just be documented as `bytes`.\n3. Bump `_KEY_SCHEMA_VERSION` to invalidate old caches (old blake2b entries become orphans, reaped by eviction).\n","author":{"url":"https://github.com/leofang","@type":"Person","name":"leofang"},"datePublished":"2026-05-06T22:24:50Z","url":"https://github.com/NVIDIA/cuda-python/issues/2043"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e0423748-3d4c-2e77-703d-d063b9925d33
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAE2A:3AABB4:492E8F:602A1C:6AF82A36
html-safe-nonce5fa7bc5f4d9ea62ee3d73e389a861624973655b24f86e54ecbdfe2539382f403
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTJBOjNBQUJCNDo0OTJFOEY6NjAyQTFDOjZBRjgyQTM2IiwidmlzaXRvcl9pZCI6IjM5MjgxODYyNDMyOTE1NTY0MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace740026e0f5b736d6bbeb139d4d1c060e7710e1dde5fb75174c29f66cf66baf2
hovercard-subject-tagissue:4394835232
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NVIDIA/cuda-python/2043/issue_layout
twitter:imagehttps://opengraph.githubassets.com/81402f9ef1140baa8bec11825e53e087600d563a7f532fb426ddfa2e4a9e2d17/NVIDIA/cuda-python/issues/2043
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/81402f9ef1140baa8bec11825e53e087600d563a7f532fb426ddfa2e4a9e2d17/NVIDIA/cuda-python/issues/2043
og:image:altmake_program_cache_key (added in #1912) uses hashlib.blake2b for cache key derivation. blake2b is not FIPS-approved, so hashlib.blake2b() raises ValueError on FIPS-compliant Linux systems: ValueErr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameleofang
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-preview
go-importgithub.com/NVIDIA/cuda-python git https://github.com/NVIDIA/cuda-python.git
octolytics-dimension-user_id1728152
octolytics-dimension-user_loginNVIDIA
octolytics-dimension-repository_id381173759
octolytics-dimension-repository_nwoNVIDIA/cuda-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id381173759
octolytics-dimension-repository_network_root_nwoNVIDIA/cuda-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NVIDIA/cuda-python/issues/2043#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fissues%2F2043
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fissues%2F2043
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NVIDIA%2Fcuda-python
Reloadhttps://github.com/NVIDIA/cuda-python/issues/2043
Reloadhttps://github.com/NVIDIA/cuda-python/issues/2043
Reloadhttps://github.com/NVIDIA/cuda-python/issues/2043
NVIDIAhttps://github.com/NVIDIA
cuda-pythonhttps://github.com/NVIDIA/cuda-python
Codehttps://github.com/NVIDIA/cuda-python
Issues219 (219)https://github.com/NVIDIA/cuda-python/issues
Pull requests92 (92)https://github.com/NVIDIA/cuda-python/pulls
Discussionshttps://github.com/NVIDIA/cuda-python/discussions
Actionshttps://github.com/NVIDIA/cuda-python/actions
Projectshttps://github.com/NVIDIA/cuda-python/projects
Wikihttps://github.com/NVIDIA/cuda-python/wiki
Security and qualityhttps://github.com/NVIDIA/cuda-python/security
Insightshttps://github.com/NVIDIA/cuda-python/pulse
https://github.com/NVIDIA/cuda-python
New issuehttps://github.com/login?return_to=https://github.com/NVIDIA/cuda-python/issues/2043
New issuehttps://github.com/login?return_to=https://github.com/NVIDIA/cuda-python/issues/2043
#2087https://github.com/NVIDIA/cuda-python/pull/2087
make_program_cache_key: blake2b is not a FIPS-compliant hashhttps://github.com/NVIDIA/cuda-python/issues/2043#top
#2087https://github.com/NVIDIA/cuda-python/pull/2087
P0High priority - Must do!https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22P0%22
cuda.coreEverything related to the cuda.core modulehttps://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22cuda.core%22
enhancementAny code-related improvementshttps://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
cuda.core v1.1.0https://github.com/NVIDIA/cuda-python/milestone/46
https://github.com/leofang
leofanghttps://github.com/leofang
on May 6, 2026https://github.com/NVIDIA/cuda-python/issues/2043#issue-4394835232
#1912https://github.com/NVIDIA/cuda-python/pull/1912
cupy/cupy#5959https://github.com/cupy/cupy/issues/5959
cupy/cupy#5988https://github.com/cupy/cupy/pull/5988
leofanghttps://github.com/leofang
enhancementAny code-related improvementshttps://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
cuda.coreEverything related to the cuda.core modulehttps://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22cuda.core%22
P0High priority - Must do!https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22P0%22
on May 6, 2026https://github.com/NVIDIA/cuda-python/issues/2043#event-25238697208
leofanghttps://github.com/leofang
cuda.core nexthttps://github.com/NVIDIA/cuda-python/milestone/46
on May 6, 2026https://github.com/NVIDIA/cuda-python/issues/2043#event-25238732579
leofanghttps://github.com/leofang
P1Medium priority - Should dohttps://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22P1%22
P0High priority - Must do!https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22P0%22
on May 6, 2026https://github.com/NVIDIA/cuda-python/issues/2043#event-25238836087
https://github.com/leofang
leofanghttps://github.com/leofang
on May 6, 2026https://github.com/NVIDIA/cuda-python/issues/2043#issuecomment-4392784247
#2032https://github.com/NVIDIA/cuda-python/pull/2032
leofanghttps://github.com/leofang
on May 6, 2026https://github.com/NVIDIA/cuda-python/issues/2043#event-25239578763
Remove algorithm and size details from make_program_cache_key docstringhttps://github.com/leofang/cuda-python/commit/b08abc45e719aae5fca73e659aa1ff5216a65865
b08abc4https://github.com/leofang/cuda-python/commit/b08abc45e719aae5fca73e659aa1ff5216a65865
leofanghttps://github.com/leofang
P0High priority - Must do!https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22P0%22
P1Medium priority - Should dohttps://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22P1%22
on May 6, 2026https://github.com/NVIDIA/cuda-python/issues/2043#event-25239652632
https://github.com/cpcloud
cpcloudhttps://github.com/cpcloud
on May 7, 2026https://github.com/NVIDIA/cuda-python/issues/2043#issuecomment-4394076265
leofanghttps://github.com/leofang
on May 7, 2026https://github.com/NVIDIA/cuda-python/issues/2043#event-25284081557
cuda.core v1.0.0 release prep: support policy, release notes, doc cle…https://github.com/NVIDIA/cuda-python/commit/9cc342051d7d5174e8546fb6473e08a1a3f47185
9cc3420https://github.com/NVIDIA/cuda-python/commit/9cc342051d7d5174e8546fb6473e08a1a3f47185
leofanghttps://github.com/leofang
completedhttps://github.com/NVIDIA/cuda-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#2087https://github.com/NVIDIA/cuda-python/pull/2087
on May 16, 2026https://github.com/NVIDIA/cuda-python/issues/2043#event-25609236051
Sign up for freehttps://github.com/signup?return_to=https://github.com/NVIDIA/cuda-python/issues/2043
Sign in to commenthttps://github.com/login?return_to=https://github.com/NVIDIA/cuda-python/issues/2043
P0High priority - Must do!https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22P0%22
cuda.coreEverything related to the cuda.core modulehttps://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22cuda.core%22
enhancementAny code-related improvementshttps://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
cuda.core v1.1.0https://github.com/NVIDIA/cuda-python/milestone/46
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.