René's URL Explorer Experiment


Title: setFips() / setEngine do not evict ciphers cache · Issue #62982 · nodejs/node · GitHub

Open Graph Title: setFips() / setEngine do not evict ciphers cache · Issue #62982 · nodejs/node

X Title: setFips() / setEngine do not evict ciphers cache · Issue #62982 · nodejs/node

Description: > require('crypto').getCiphers().length 130 > require('crypto').setFips(true) undefined > require('crypto').getCiphers().length 130 but > require('crypto').setFips(true) undefined > require('crypto').getCiphers().length 0 Also (unverifie...

Open Graph Description: > require('crypto').getCiphers().length 130 > require('crypto').setFips(true) undefined > require('crypto').getCiphers().length 130 but > require('crypto').setFips(true) undefined > require('crypto...

X Description: > require('crypto').getCiphers().length 130 > require('crypto').setFips(true) undefined > require('crypto').getCiphers().length 130 but > require('crypto'...

Opengraph URL: https://github.com/nodejs/node/issues/62982

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"setFips() / setEngine do not evict ciphers cache","articleBody":"```\n> require('crypto').getCiphers().length\n130\n> require('crypto').setFips(true)\nundefined\n> require('crypto').getCiphers().length\n130\n```\n\nbut\n\n```\n> require('crypto').setFips(true)\nundefined\n> require('crypto').getCiphers().length\n0\n```\n\n\nAlso (unverified):\n\n>`getCiphers` memoizes the cipher name list forever (`cachedResult(() => filterDuplicateStrings(_getCiphers()))`). When `setEngine(id, flags)` (also exported from this module) successfully loads an OpenSSL engine that registers additional ciphers, those new ciphers are not reflected in subsequent `getCiphers()` results because the cache is never invalidated. Similarly, on BoringSSL builds the cache is force-populated during module initialization via `conditionalAlgorithms` (the `'ChaCha20-Poly1305'` probe calls `getCiphers()`), freezing the answer before any user code runs. The sibling `_hashCache` helper in the same file explicitly clears on snapshot build / dynamic-link scenarios via `addSerializeCallback`; `getCiphers` has no such mechanism.\n>\n> `getHashes` returns a permanently-cached list from `_getHashes()` (via `cachedResult`). After a successful `setEngine(id, flags)` call (exported from this same module) loads an OpenSSL engine that registers new digest algorithms, `getHashes()` will continue to return the pre-engine snapshot. Downstream consumers — including this file's own `conditionalAlgorithms` gates for `cSHAKE*`/`SHA3-*`/ChaCha20-Poly1305 (evaluated once at module-load, so already locked in) and any external callers using `crypto.getHashes()` — will not observe engine-provided hashes. Contrast with the sibling `getHashCache` (line 81–91) which is explicitly designed to be refreshed.","author":{"url":"https://github.com/ChALkeR","@type":"Person","name":"ChALkeR"},"datePublished":"2026-04-27T01:39:40Z","url":"https://github.com/nodejs/node/issues/62982"}

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:faf6059d-8f81-605c-512a-3d346fb7d695
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id82BE:21FC11:541D94:6E9F43:6AED28FC
html-safe-nonce1e29b61da6fabce3ec3c203adceb979d641c1b37b8a3c54bfc62bd7cf0a06aeb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkJFOjIxRkMxMTo1NDFEOTQ6NkU5RjQzOjZBRUQyOEZDIiwidmlzaXRvcl9pZCI6IjkwNDA4NDcxNjQyMDMxNDk1NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac11ee12f4417b07e1180af24f4f9e9e05def8cf5d814386e0a8292cfe4117f77f
hovercard-subject-tagissue:4332591962
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/nodejs/node/62982/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0b8d665488a9bb788bc1dcd6f529489b9d6dbab13889c2dea28e782f6efb5ff7/nodejs/node/issues/62982
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0b8d665488a9bb788bc1dcd6f529489b9d6dbab13889c2dea28e782f6efb5ff7/nodejs/node/issues/62982
og:image:alt> require('crypto').getCiphers().length 130 > require('crypto').setFips(true) undefined > require('crypto').getCiphers().length 130 but > require('crypto').setFips(true) undefined > require('crypto...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameChALkeR
hostnamegithub.com
expected-hostnamegithub.com
None9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
release98b41fa4b5635ceb45a4c54320fced73817ff290
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/62982#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F62982
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%2Fnodejs%2Fnode%2Fissues%2F62982
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=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/62982
Reloadhttps://github.com/nodejs/node/issues/62982
Reloadhttps://github.com/nodejs/node/issues/62982
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues657 (657)https://github.com/nodejs/node/issues
Pull requests666 (666)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/62982
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/62982
setFips() / setEngine do not evict ciphers cachehttps://github.com/nodejs/node/issues/62982#top
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
https://github.com/ChALkeR
ChALkeRhttps://github.com/ChALkeR
on Apr 27, 2026https://github.com/nodejs/node/issues/62982#issue-4332591962
ChALkeRhttps://github.com/ChALkeR
on Apr 27, 2026https://github.com/nodejs/node/issues/62982#event-24887884698
ChALkeRhttps://github.com/ChALkeR
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
on Apr 27, 2026https://github.com/nodejs/node/issues/62982#event-24887931634
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Jul 27, 2026https://github.com/nodejs/node/issues/62982#issuecomment-5086465752
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
on Jul 27, 2026https://github.com/nodejs/node/issues/62982#event-28512778893
panvahttps://github.com/panva
on Aug 23, 2026https://github.com/nodejs/node/issues/62982#event-29870953194
crypto: discover hashes from OpenSSL providershttps://github.com/panva/node/commit/bf43342b85b249271ffc92acd78afc92d67383f5
bf43342https://github.com/panva/node/commit/bf43342b85b249271ffc92acd78afc92d67383f5
crypto: discover ciphers from OpenSSL providershttps://github.com/panva/node/commit/54489eb9adbb7d8c35e35a20889c482093827be8
54489ebhttps://github.com/panva/node/commit/54489eb9adbb7d8c35e35a20889c482093827be8
nodejs-github-bothttps://github.com/nodejs-github-bot
on Aug 25, 2026https://github.com/nodejs/node/issues/62982#event-30011107312
crypto: discover hashes from OpenSSL providershttps://github.com/nodejs/node/commit/025e88f981fde833920756b22a031305d260e175
025e88fhttps://github.com/nodejs/node/commit/025e88f981fde833920756b22a031305d260e175
crypto: discover ciphers from OpenSSL providershttps://github.com/nodejs/node/commit/e7a69c499242d270df50a29d2bef5642aff03c13
e7a69c4https://github.com/nodejs/node/commit/e7a69c499242d270df50a29d2bef5642aff03c13
aduh95https://github.com/aduh95
on Aug 29, 2026https://github.com/nodejs/node/issues/62982#event-30207780028
crypto: discover hashes from OpenSSL providershttps://github.com/nodejs/node/commit/d0d300f01fc9955cdd68db4ac6c31f992287cf1b
d0d300fhttps://github.com/nodejs/node/commit/d0d300f01fc9955cdd68db4ac6c31f992287cf1b
crypto: discover ciphers from OpenSSL providershttps://github.com/nodejs/node/commit/9b52db81ebf3d15ce0dd6397f8c8b27daee6109c
9b52db8https://github.com/nodejs/node/commit/9b52db81ebf3d15ce0dd6397f8c8b27daee6109c
aduh95https://github.com/aduh95
on Sep 15, 2026https://github.com/nodejs/node/issues/62982#event-31161498054
crypto: discover hashes from OpenSSL providershttps://github.com/nodejs/node/commit/7c7e95a3bd16ef6064ddff89f47bf02d3d913cf8
7c7e95ahttps://github.com/nodejs/node/commit/7c7e95a3bd16ef6064ddff89f47bf02d3d913cf8
crypto: discover ciphers from OpenSSL providershttps://github.com/nodejs/node/commit/7ac458f802525c7de4b3273bfc7e474a3a5a9b60
7ac458fhttps://github.com/nodejs/node/commit/7ac458f802525c7de4b3273bfc7e474a3a5a9b60
panvahttps://github.com/panva
on Sep 19, 2026https://github.com/nodejs/node/issues/62982#event-31441206008
crypto: discover hashes from OpenSSL providershttps://github.com/panva/node/commit/3748316efbf3f83d05dc5bf17229f9db9c184e4e
3748316https://github.com/panva/node/commit/3748316efbf3f83d05dc5bf17229f9db9c184e4e
crypto: discover ciphers from OpenSSL providershttps://github.com/panva/node/commit/b714efbdf33eb65ace9b006ac8d85986520c004d
b714efbhttps://github.com/panva/node/commit/b714efbdf33eb65ace9b006ac8d85986520c004d
crypto: discover hashes from OpenSSL providershttps://github.com/panva/node/commit/517cd544d69328a404e88c73e297683416493d8f
517cd54https://github.com/panva/node/commit/517cd544d69328a404e88c73e297683416493d8f
crypto: discover ciphers from OpenSSL providershttps://github.com/panva/node/commit/287b523f9a167695fb4983a08a3d0f0d1a88c543
287b523https://github.com/panva/node/commit/287b523f9a167695fb4983a08a3d0f0d1a88c543
crypto: discover hashes from OpenSSL providershttps://github.com/panva/node/commit/7ef632a49c45f36ae8d5c327d19957102c5aaa72
7ef632ahttps://github.com/panva/node/commit/7ef632a49c45f36ae8d5c327d19957102c5aaa72
crypto: discover ciphers from OpenSSL providershttps://github.com/panva/node/commit/e63bbfeb171b4886d5fbd9e6de25aeafc1a481b0
e63bbfehttps://github.com/panva/node/commit/e63bbfeb171b4886d5fbd9e6de25aeafc1a481b0
aduh95https://github.com/aduh95
on Sep 21, 2026https://github.com/nodejs/node/issues/62982#event-31519151772
crypto: discover hashes from OpenSSL providershttps://github.com/nodejs/node/commit/c2f1e829ea3a1a12ce9c3472e3112eda98e6e512
c2f1e82https://github.com/nodejs/node/commit/c2f1e829ea3a1a12ce9c3472e3112eda98e6e512
crypto: discover ciphers from OpenSSL providershttps://github.com/nodejs/node/commit/a4ab3d84d779b7fb95da9b5c9ac1d2e6a97929a1
a4ab3d8https://github.com/nodejs/node/commit/a4ab3d84d779b7fb95da9b5c9ac1d2e6a97929a1
https://github.com/panva
panvahttps://github.com/panva
on Sep 23, 2026https://github.com/nodejs/node/issues/62982#issuecomment-5798564975
panvahttps://github.com/panva
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 23, 2026https://github.com/nodejs/node/issues/62982#event-31691834366
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/62982
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/62982
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
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.