René's URL Explorer Experiment


Title: doc: crypto.randomBytes, randomInt, randomUUID and getRandomValues continue from the saved state after a snapshot or checkpoint restore · Issue #66880 · nodejs/node · GitHub

Open Graph Title: doc: crypto.randomBytes, randomInt, randomUUID and getRandomValues continue from the saved state after a snapshot or checkpoint restore · Issue #66880 · nodejs/node

X Title: doc: crypto.randomBytes, randomInt, randomUUID and getRandomValues continue from the saved state after a snapshot or checkpoint restore · Issue #66880 · nodejs/node

Description: Affected URL(s) https://nodejs.org/api/crypto.html#cryptorandombytessize-callback (also crypto.randomInt, crypto.randomFill, crypto.randomUUID, and crypto.getRandomValues of the Web Crypto API) Description of the problem We measure how u...

Open Graph Description: Affected URL(s) https://nodejs.org/api/crypto.html#cryptorandombytessize-callback (also crypto.randomInt, crypto.randomFill, crypto.randomUUID, and crypto.getRandomValues of the Web Crypto API) Des...

X Description: Affected URL(s) https://nodejs.org/api/crypto.html#cryptorandombytessize-callback (also crypto.randomInt, crypto.randomFill, crypto.randomUUID, and crypto.getRandomValues of the Web Crypto API) Des...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"doc: crypto.randomBytes, randomInt, randomUUID and getRandomValues continue from the saved state after a snapshot or checkpoint restore","articleBody":"### Affected URL(s)\n\nhttps://nodejs.org/api/crypto.html#cryptorandombytessize-callback (also `crypto.randomInt`, `crypto.randomFill`, `crypto.randomUUID`, and `crypto.getRandomValues` of the Web Crypto API)\n\n### Description of the problem\n\nWe measure how userspace random generators behave when a process or a machine is duplicated.\nFor Node 24.18.0 linked against the system OpenSSL 3.5.9 (Fedora 44, Linux 7.2.11) the picture is\nthis; the harness and every log are available.\n\nOne guest or process saved and restored twice from the same image, the two continuations'\noutputs compared block by block at equal sequence numbers: `Math.random`, `crypto.randomBytes`,\n`crypto.randomInt` and `crypto.getRandomValues` are 32 of 32 blocks identical under QEMU with and\nwithout a vmgenid device and under Firecracker with VMGenID and VMClock attached, and 14 of 14\nunder CRIU; a read of `/dev/urandom` beside them is distinct from the first block wherever the\nguest kernel's vmgenid driver is present. The three `crypto` calls repeat because OpenSSL's\nDRBG does; `Math.random` repeats because V8's generator is seeded once per isolate. We asked\nthe OpenSSL project where it places the case; its answer (2026-10-20) is that reseeding after a\nrestore \"is currently a non-goal\", not yet documented, that a documentation pull request will\nbe accepted and backported, and that a check-and-reseed on the VMClock generation counter would\nbe considered as a new feature for a future release.\n\nWhat we would like to know is whether the `crypto` documentation should say that these calls\ninherit OpenSSL's behaviour across a snapshot or checkpoint restore, so that applications\nresumed from one image (SnapStart-style platforms, CRIU) know to arrange a reseed, and whether\nNode would want to call `RAND_poll` itself on a restore signal (its own startup snapshot\nfeature, `--build-snapshot`, resumes an isolate from an image in the same way, and\n`crypto.randomUUID` serves identifiers from a cache of 128 filled in one draw,\nlib/internal/crypto/random.js).\n\nThe repeated blocks are the generators' own output; we have not looked at anything downstream.\n\nConcretely, a sentence in the `crypto` documentation of the kind \"these functions draw from OpenSSL's DRBG inside the process; after a snapshot or checkpoint restore the DRBG continues from the saved state until its next scheduled reseed, so an application resumed from a saved image should reseed after its own restore signal\" would tell such applications what to do, and `crypto.randomUUID` could note its cache of 128 identifiers (`lib/internal/crypto/random.js`, `disableEntropyCache` turns it off). We can send a documentation pull request if that is welcome. The harness, the logs and the OpenSSL exchange are available on request.\n","author":{"url":"https://github.com/KurathSec","@type":"Person","name":"KurathSec"},"datePublished":"2026-10-20T15:34:48Z","url":"https://github.com/nodejs/node/issues/66880"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a102b137-893f-5d53-abec-79d7089b8eff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCA4E:170985:1DC2C1:28DDD3:6AFBFF70
html-safe-noncebae2ef2f400e2fd1ace482b7fc36b624d210ff7bf221d84b984bcbdb6fd3ebfb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTRFOjE3MDk4NToxREMyQzE6MjhEREQzOjZBRkJGRjcwIiwidmlzaXRvcl9pZCI6Ijg4OTE0MjAyMzExNTk1MTI5NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac037836146b79b712834ba6036ec216b28f798d1dafe8b7f81315a08227ef4ca9
hovercard-subject-tagissue:5944611325
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/66880/issue_layout
twitter:imagehttps://opengraph.githubassets.com/270a91551f853c8c33f4134d22f61d778d8a7308408cca8a01dfab976baedb7e/nodejs/node/issues/66880
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/270a91551f853c8c33f4134d22f61d778d8a7308408cca8a01dfab976baedb7e/nodejs/node/issues/66880
og:image:altAffected URL(s) https://nodejs.org/api/crypto.html#cryptorandombytessize-callback (also crypto.randomInt, crypto.randomFill, crypto.randomUUID, and crypto.getRandomValues of the Web Crypto API) Des...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKurathSec
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
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
releaseb3b5633a74535d9c23385512d534c66c8fde1907
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/66880#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F66880
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%2F66880
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/66880
Reloadhttps://github.com/nodejs/node/issues/66880
Reloadhttps://github.com/nodejs/node/issues/66880
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues644 (644)https://github.com/nodejs/node/issues
Pull requests680 (680)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/66880
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/66880
doc: crypto.randomBytes, randomInt, randomUUID and getRandomValues continue from the saved state after a snapshot or checkpoint restorehttps://github.com/nodejs/node/issues/66880#top
https://github.com/KurathSec
KurathSechttps://github.com/KurathSec
on Oct 20, 2026https://github.com/nodejs/node/issues/66880#issue-5944611325
https://nodejs.org/api/crypto.html#cryptorandombytessize-callbackhttps://nodejs.org/api/crypto.html#cryptorandombytessize-callback
https://github.com/BilalWalker
BilalWalkerhttps://github.com/BilalWalker
on Nov 7, 2026https://github.com/nodejs/node/issues/66880#issuecomment-6708719042
node/lib/internal/crypto/random.jshttps://github.com/nodejs/node/blob/d1a16216fda39bf65931e65d0a04cf9f3bb23e7d/lib/internal/crypto/random.js#L400-L415
d1a1621https://github.com/nodejs/node/commit/d1a16216fda39bf65931e65d0a04cf9f3bb23e7d
node/src/crypto/crypto_util.cchttps://github.com/nodejs/node/blob/d1a16216fda39bf65931e65d0a04cf9f3bb23e7d/src/crypto/crypto_util.cc#L478-L516
d1a1621https://github.com/nodejs/node/commit/d1a16216fda39bf65931e65d0a04cf9f3bb23e7d
@KurathSechttps://github.com/KurathSec
https://github.com/KurathSec
KurathSechttps://github.com/KurathSec
on Nov 7, 2026https://github.com/nodejs/node/issues/66880#issuecomment-6709632303
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/66880
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/66880
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.