René's URL Explorer Experiment


Title: crypto: support AES-*-SIV and AES-*-GCM-SIV in createCipheriv() · Issue #63393 · nodejs/node · GitHub

Open Graph Title: crypto: support AES-*-SIV and AES-*-GCM-SIV in createCipheriv() · Issue #63393 · nodejs/node

X Title: crypto: support AES-*-SIV and AES-*-GCM-SIV in createCipheriv() · Issue #63393 · nodejs/node

Description: What is the problem this feature will solve? I would like Node.js node:crypto to expose AES-SIV and AES-GCM-SIV ciphers through crypto.getCiphers(), crypto.getCipherInfo(), crypto.createCipheriv() and crypto.createDecipheriv(), when the ...

Open Graph Description: What is the problem this feature will solve? I would like Node.js node:crypto to expose AES-SIV and AES-GCM-SIV ciphers through crypto.getCiphers(), crypto.getCipherInfo(), crypto.createCipheriv() ...

X Description: What is the problem this feature will solve? I would like Node.js node:crypto to expose AES-SIV and AES-GCM-SIV ciphers through crypto.getCiphers(), crypto.getCipherInfo(), crypto.createCipheriv() ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"crypto: support AES-*-SIV and AES-*-GCM-SIV in createCipheriv()","articleBody":"### What is the problem this feature will solve?\n\nI would like Node.js `node:crypto` to expose AES-SIV and AES-GCM-SIV ciphers through `crypto.getCiphers()`, `crypto.getCipherInfo()`, `crypto.createCipheriv()` and `crypto.createDecipheriv()`, when the underlying OpenSSL version supports them.\n\nOpenSSL documentation lists the following AES cipher names:\n- `AES-128-SIV`\n- `AES-192-SIV`\n- `AES-256-SIV`\n- `AES-128-GCM-SIV`\n- `AES-192-GCM-SIV`\n- `AES-256-GCM-SIV`\n\nHowever, these do not appear to be available through Node.js `node:crypto`, even with a recent Node.js version backed by OpenSSL 3.5.x.\n\nAES-GCM is widely available and useful, but it is very sensitive to nonce reuse. AES-SIV and AES-GCM-SIV are misuse-resistant authenticated encryption modes and are useful for application-level encryption APIs where accidental nonce reuse is a realistic operational risk.\n\nIn framework/library code, this would allow Node.js users to choose a safer AEAD mode where nonce misuse resistance is desirable.\n\n### Reproduction\n\n```js\nconst crypto = require('node:crypto');\n\nconsole.log('Node.js version:', process.version);\nconsole.log('OpenSSL version:', process.versions.openssl);\nconsole.log('FIPS mode:', crypto.getFips());\n\nconst ciphers = crypto.getCiphers().sort();\n\nconsole.log('SIV ciphers:', ciphers.filter((cipher) => cipher.includes('siv')));\nconsole.log('GCM/SIV ciphers:', ciphers.filter((cipher) => cipher.includes('gcm') || cipher.includes('siv')));\n\nfor (const algorithm of [\n  'aes-128-siv',\n  'aes-192-siv',\n  'aes-256-siv',\n  'aes-128-gcm-siv',\n  'aes-192-gcm-siv',\n  'aes-256-gcm-siv',\n]) {\n  console.log(algorithm, crypto.getCipherInfo(algorithm));\n}\n```\n\nOn my machine:\nNode.js version: v24.14.1\nOpenSSL version: 3.5.5\nFIPS mode: 0\nSIV ciphers: []\n\ncrypto.getCiphers() does not include AES-SIV or AES-GCM-SIV algorithms.\n\nIf the underlying OpenSSL version supports these ciphers and the active provider allows them, I would expect Node.js to expose them through node:crypto, or at least document why they are intentionally unavailable.\n\nThis is not a FIPS-mode issue in my environment because crypto.getFips() returns 0. I understand that OpenSSL support does not automatically imply Node.js API exposure. I am opening this issue to ask whether exposing these ciphers is technically feasible and desirable in Node.js.\n\n### What is the feature you are proposing to solve the problem?\n\nI propose that Node.js should expose AES-SIV and AES-GCM-SIV ciphers through `node:crypto` when they are available from the underlying OpenSSL build and active provider.\n\nIdeally, this would include support for:\n- `crypto.getCiphers()`\n- `crypto.getCipherInfo()`\n- `crypto.createCipheriv()`\n- `crypto.createDecipheriv()`\n\nfor the following algorithms:\n- `aes-128-siv`\n- `aes-192-siv`\n- `aes-256-siv`\n- `aes-128-gcm-siv`\n- `aes-192-gcm-siv`\n- `aes-256-gcm-siv`\n\nIf these algorithms cannot safely fit into the current streaming `Cipheriv` / `Decipheriv` API because of their AEAD/SIV semantics, then I would like to propose one of the following alternatives:\n\n1. Document explicitly why these OpenSSL-supported ciphers are not exposed through `node:crypto`.\n2. Expose them through a non-streaming AEAD API in the future.\n3. Provide a documented way to detect that the underlying OpenSSL version supports them, even if Node.js intentionally does not expose them.\n\nThe main goal is to make misuse-resistant authenticated encryption modes available to Node.js applications and libraries in a clear, supported, and documented way.\n\n### What alternatives have you considered?\n\nI considered using the currently available `aes-256-gcm` cipher, which is supported by `node:crypto` today. This is a practical fallback, but it does not provide the same nonce-misuse resistance properties as AES-SIV or AES-GCM-SIV.\n\nI also considered relying on a third-party cryptography library or native addon, but that adds supply-chain risk, maintenance overhead, and deployment complexity compared to using the built-in `node:crypto` module.\n\nAnother alternative would be to implement stricter nonce management at the application/framework level. This helps reduce the risk, but it does not fully replace a misuse-resistant AEAD mode.\n\nTherefore, the preferred solution would be native, documented support in `node:crypto`, or at least clear documentation explaining why these OpenSSL-supported ciphers are not exposed.","author":{"url":"https://github.com/hylmarj","@type":"Person","name":"hylmarj"},"datePublished":"2026-05-17T23:06:32Z","url":"https://github.com/nodejs/node/issues/63393"}

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:459647ea-7bd3-95dd-5bac-d1ff81fe1244
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCCC2:1E27AA:915F9C:C2D5D5:6AED2C51
html-safe-nonce6c4bb8f120951e6d365d1de166b85728ef145a3e3be150356793980479858aaa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0MyOjFFMjdBQTo5MTVGOUM6QzJENUQ1OjZBRUQyQzUxIiwidmlzaXRvcl9pZCI6IjczMDgxODU2NTI1MTc3NDM2OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac895e3f8b0927f1c1d242d36cc1453873d33e24c7d495fbc31501807ecdc12120
hovercard-subject-tagissue:4465214400
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/63393/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9cb663779ea396c0cf4150a576629f924659a4a1a0863ebdfe63fad323d86761/nodejs/node/issues/63393
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9cb663779ea396c0cf4150a576629f924659a4a1a0863ebdfe63fad323d86761/nodejs/node/issues/63393
og:image:altWhat is the problem this feature will solve? I would like Node.js node:crypto to expose AES-SIV and AES-GCM-SIV ciphers through crypto.getCiphers(), crypto.getCipherInfo(), crypto.createCipheriv() ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehylmarj
hostnamegithub.com
expected-hostnamegithub.com
Nonee51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a
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
release59ebb7b901cc154ecc179a44f266fcf69f343b30
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/63393#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F63393
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%2F63393
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/63393
Reloadhttps://github.com/nodejs/node/issues/63393
Reloadhttps://github.com/nodejs/node/issues/63393
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues656 (656)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/63393
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/63393
#63411https://github.com/nodejs/node/pull/63411
crypto: support AES-*-SIV and AES-*-GCM-SIV in createCipheriv()https://github.com/nodejs/node/issues/63393#top
#63411https://github.com/nodejs/node/pull/63411
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
feature requestIssues requesting new Node.js features.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22feature%20request%22
https://github.com/hylmarj
hylmarjhttps://github.com/hylmarj
on May 17, 2026https://github.com/nodejs/node/issues/63393#issue-4465214400
hylmarjhttps://github.com/hylmarj
feature requestIssues requesting new Node.js features.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22feature%20request%22
on May 17, 2026https://github.com/nodejs/node/issues/63393#event-25634510034
github-project-automationhttps://github.com/apps/github-project-automation
Node.js feature requestshttps://github.com/orgs/nodejs/projects/4
on May 17, 2026https://github.com/nodejs/node/issues/63393#event-25634511637
github-project-automationhttps://github.com/apps/github-project-automation
Node.js feature requestshttps://github.com/orgs/nodejs/projects/4
on May 17, 2026https://github.com/nodejs/node/issues/63393
panvahttps://github.com/panva
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
on May 18, 2026https://github.com/nodejs/node/issues/63393#event-25659197492
panvahttps://github.com/panva
Node.js feature requestshttps://github.com/orgs/nodejs/projects/4
on May 18, 2026https://github.com/nodejs/node/issues/63393
panvahttps://github.com/panva
Node.js feature requestshttps://github.com/orgs/nodejs/projects/4
on May 18, 2026https://github.com/nodejs/node/issues/63393
panvahttps://github.com/panva
on May 18, 2026https://github.com/nodejs/node/issues/63393#event-25660016787
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/panva/node/commit/b5764bcf1e60aba21213e05168dd5947314cd3ac
https://docs.github.com/articles/closing-issues-via-commit-messages
b5764bchttps://github.com/panva/node/commit/b5764bcf1e60aba21213e05168dd5947314cd3ac
panvahttps://github.com/panva
on Jun 29, 2026https://github.com/nodejs/node/issues/63393#event-27318866694
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/panva/node/commit/7c3972243b7394554cc679c78dfa721def5f771c
https://docs.github.com/articles/closing-issues-via-commit-messages
7c39722https://github.com/panva/node/commit/7c3972243b7394554cc679c78dfa721def5f771c
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Aug 17, 2026https://github.com/nodejs/node/issues/63393#issuecomment-5310810016
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
on Aug 17, 2026https://github.com/nodejs/node/issues/63393#event-29537463635
https://github.com/hylmarj
hylmarjhttps://github.com/hylmarj
on Aug 17, 2026https://github.com/nodejs/node/issues/63393#issuecomment-5313275138
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
on Aug 18, 2026https://github.com/nodejs/node/issues/63393#event-29591417968
panvahttps://github.com/panva
on Aug 20, 2026https://github.com/nodejs/node/issues/63393#event-29734009893
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/panva/node/commit/33e22dc2ab0f7186684db9a3706fe5970bf4fe7f
https://docs.github.com/articles/closing-issues-via-commit-messages
33e22dchttps://github.com/panva/node/commit/33e22dc2ab0f7186684db9a3706fe5970bf4fe7f
nodejs-github-bothttps://github.com/nodejs-github-bot
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#63411https://github.com/nodejs/node/pull/63411
on Aug 22, 2026https://github.com/nodejs/node/issues/63393#event-29842796022
nodejs-github-bothttps://github.com/nodejs-github-bot
on Aug 22, 2026https://github.com/nodejs/node/issues/63393#event-29842796090
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/nodejs/node/commit/e573bd6b1274b9eda1588dfbdb5cd742b2661cff
https://docs.github.com/articles/closing-issues-via-commit-messages
e573bd6https://github.com/nodejs/node/commit/e573bd6b1274b9eda1588dfbdb5cd742b2661cff
aduh95https://github.com/aduh95
on Aug 25, 2026https://github.com/nodejs/node/issues/63393#event-30010187867
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/nodejs/node/commit/9ee76f306fc01e933cc11596621c0db3d1c0d972
https://docs.github.com/articles/closing-issues-via-commit-messages
9ee76f3https://github.com/nodejs/node/commit/9ee76f306fc01e933cc11596621c0db3d1c0d972
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/nodejs/node/commit/f0531f1c8727ddf2dd47fb10bd875a72f8dd2892
https://docs.github.com/articles/closing-issues-via-commit-messages
f0531f1https://github.com/nodejs/node/commit/f0531f1c8727ddf2dd47fb10bd875a72f8dd2892
panvahttps://github.com/panva
on Sep 19, 2026https://github.com/nodejs/node/issues/63393#event-31441205945
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/panva/node/commit/16d632a89c1133230940552b2ec5eca595a9b54b
https://docs.github.com/articles/closing-issues-via-commit-messages
16d632ahttps://github.com/panva/node/commit/16d632a89c1133230940552b2ec5eca595a9b54b
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/panva/node/commit/0af83bf12c9dc3bf0a6c1dbd810ba17cdc9cd77a
https://docs.github.com/articles/closing-issues-via-commit-messages
0af83bfhttps://github.com/panva/node/commit/0af83bf12c9dc3bf0a6c1dbd810ba17cdc9cd77a
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/panva/node/commit/d483f5fc255e95c755527c0e829ba8a726472c36
https://docs.github.com/articles/closing-issues-via-commit-messages
d483f5fhttps://github.com/panva/node/commit/d483f5fc255e95c755527c0e829ba8a726472c36
aduh95https://github.com/aduh95
on Sep 21, 2026https://github.com/nodejs/node/issues/63393#event-31519151597
crypto: enable SIV and GCM-SIV modes in Cipher/Decipher APIshttps://github.com/nodejs/node/commit/51aad5a80de7cbda78305e5c5ccb5327bd933692
51aad5ahttps://github.com/nodejs/node/commit/51aad5a80de7cbda78305e5c5ccb5327bd933692
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/63393
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/63393
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
feature requestIssues requesting new Node.js features.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22feature%20request%22
Node.js feature requestshttps://github.com/orgs/nodejs/projects/4
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.