René's URL Explorer Experiment


Title: AES-256-CBC-HMAC-SHA256 and similar ciphers are not recognized as authenticated ciphers · Issue #43040 · nodejs/node · GitHub

Open Graph Title: AES-256-CBC-HMAC-SHA256 and similar ciphers are not recognized as authenticated ciphers · Issue #43040 · nodejs/node

X Title: AES-256-CBC-HMAC-SHA256 and similar ciphers are not recognized as authenticated ciphers · Issue #43040 · nodejs/node

Description: Version 18.1.0 Platform Microsoft Windows NT 10.0.19044.0 x64 Subsystem crypto What steps will reproduce the bug? Run the following code: import crypto from 'crypto'; let cipher = crypto.createCipheriv('AES-256-CBC-HMAC-SHA256', crypto.r...

Open Graph Description: Version 18.1.0 Platform Microsoft Windows NT 10.0.19044.0 x64 Subsystem crypto What steps will reproduce the bug? Run the following code: import crypto from 'crypto'; let cipher = crypto.createCiph...

X Description: Version 18.1.0 Platform Microsoft Windows NT 10.0.19044.0 x64 Subsystem crypto What steps will reproduce the bug? Run the following code: import crypto from 'crypto'; let cipher = crypto.cr...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AES-256-CBC-HMAC-SHA256 and similar ciphers are not recognized as authenticated ciphers","articleBody":"### Version\n\n18.1.0\n\n### Platform\n\nMicrosoft Windows NT 10.0.19044.0 x64\n\n### Subsystem\n\ncrypto\n\n### What steps will reproduce the bug?\n\nRun the following code:\r\n\r\n```js\r\nimport crypto from 'crypto';\r\n\r\nlet cipher = crypto.createCipheriv('AES-256-CBC-HMAC-SHA256', crypto.randomBytes(32), crypto.randomBytes(16));\r\nlet encrypted = cipher.update('My beautiful data', 'utf8', 'hex');\r\nencrypted += cipher.final('hex');\r\n```\n\n### How often does it reproduce? Is there a required condition?\n\nThis only reproduces when using:\r\n- aes-128-cbc-hmac-sha1\r\n- aes-128-cbc-hmac-sha256\r\n- aes-256-cbc-hmac-sha1\r\n- aes-256-cbc-hmac-sha256\n\n### What is the expected behavior?\n\nOn Node 17.1.0:\r\n```\r\nd8d390a8554e2ca579a1946447c8144509495f521458996db711dd6c9595080d\r\n```\n\n### What do you see instead?\n\n```\r\nnode:internal/crypto/cipher:180\r\n  const ret = this[kHandle].update(data, inputEncoding);\r\n                            ^\r\n\r\nError: Trying to add data in unsupported state\r\n    at Cipheriv.update (node:internal/crypto/cipher:180:29)\r\n    at file:///C:/Users/myuser/Documents/GitHub/something/test/playground.js:22:24\r\n    at ModuleJob.run (node:internal/modules/esm/module_job:198:25)\r\n    at async Promise.all (index 0)\r\n    at async ESMLoader.import (node:internal/modules/esm/loader:409:24)\r\n    at async loadESM (node:internal/process/esm_loader:85:5)\r\n    at async handleMainPromise (node:internal/modules/run_main:61:12)\r\n```\n\n### Additional information\n\nIt seems to work on LTS and above (tested until 17.1.0), but not on V18.","author":{"url":"https://github.com/seirdotexe","@type":"Person","name":"seirdotexe"},"datePublished":"2022-05-10T16:41:39Z","url":"https://github.com/nodejs/node/issues/43040"}

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:f4d673ca-4e36-4958-8632-4769e01b9bb8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDC12:E530F:7C05D9:A4B6A8:6AED262C
html-safe-noncef3c75705163d975a6330225dc244ad8f1e20a07697fe33eb5938135fb76d9ca5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzEyOkU1MzBGOjdDMDVEOTpBNEI2QTg6NkFFRDI2MkMiLCJ2aXNpdG9yX2lkIjoiNzIzODI2NjEwNjA4NDY2NDg3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac64629dfd21fa70ed1496082ad9fee26b86d327f3effd26d0f70c84b8143a310c
hovercard-subject-tagissue:1231424706
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/43040/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7bd2e1f48e931f3c99c2c4ee6f76faf63982ca1b7b40a55bc6b23b6e936e2f3d/nodejs/node/issues/43040
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7bd2e1f48e931f3c99c2c4ee6f76faf63982ca1b7b40a55bc6b23b6e936e2f3d/nodejs/node/issues/43040
og:image:altVersion 18.1.0 Platform Microsoft Windows NT 10.0.19044.0 x64 Subsystem crypto What steps will reproduce the bug? Run the following code: import crypto from 'crypto'; let cipher = crypto.createCiph...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameseirdotexe
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/43040#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F43040
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%2F43040
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/43040
Reloadhttps://github.com/nodejs/node/issues/43040
Reloadhttps://github.com/nodejs/node/issues/43040
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/43040
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/43040
AES-256-CBC-HMAC-SHA256 and similar ciphers are not recognized as authenticated ciphershttps://github.com/nodejs/node/issues/43040#top
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
opensslIssues and PRs related to the OpenSSL dependency.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22openssl%22
https://github.com/seirdotexe
seirdotexehttps://github.com/seirdotexe
on May 10, 2022https://github.com/nodejs/node/issues/43040#issue-1231424706
Nexthttps://github.com/nodejs/node/issues/43040?timeline_page=1
himself65https://github.com/himself65
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
on May 10, 2022https://github.com/nodejs/node/issues/43040#event-6583722350
tniessenhttps://github.com/tniessen
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
on May 10, 2022https://github.com/nodejs/node/issues/43040#event-6585406176
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on May 10, 2022https://github.com/nodejs/node/issues/43040#issuecomment-1122931411
https://github.com/seirdotexe
seirdotexehttps://github.com/seirdotexe
on May 10, 2022https://github.com/nodejs/node/issues/43040#issuecomment-1122935164
tniessenhttps://github.com/tniessen
opensslIssues and PRs related to the OpenSSL dependency.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22openssl%22
on May 10, 2022https://github.com/nodejs/node/issues/43040#event-6585457623
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on May 10, 2022https://github.com/nodejs/node/issues/43040#issuecomment-1122936488
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on May 10, 2022https://github.com/nodejs/node/issues/43040#issuecomment-1122949076
tniessenhttps://github.com/tniessen
on May 10, 2022https://github.com/nodejs/node/issues/43040#event-6585514444
tniessenhttps://github.com/tniessen
on May 10, 2022https://github.com/nodejs/node/issues/43040#event-6585538928
tniessenhttps://github.com/tniessen
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
on May 10, 2022https://github.com/nodejs/node/issues/43040#event-6585540238
https://github.com/seirdotexe
seirdotexehttps://github.com/seirdotexe
on May 12, 2022https://github.com/nodejs/node/issues/43040#issuecomment-1125163669
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on May 12, 2022https://github.com/nodejs/node/issues/43040#issuecomment-1125434985
https://github.com/seirdotexe
seirdotexehttps://github.com/seirdotexe
on May 12, 2022https://github.com/nodejs/node/issues/43040#issuecomment-1125436395
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on May 13, 2022https://github.com/nodejs/node/issues/43040#issuecomment-1126534247
@seirdotexehttps://github.com/seirdotexe
nodejs-github-bothttps://github.com/nodejs-github-bot
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
025e88fhttps://github.com/nodejs/node/commit/025e88f981fde833920756b22a031305d260e175
on Aug 25, 2026https://github.com/nodejs/node/issues/43040#event-30011107975
nodejs-github-bothttps://github.com/nodejs-github-bot
on Aug 25, 2026https://github.com/nodejs/node/issues/43040#event-30011109311
crypto: discover ciphers from OpenSSL providershttps://github.com/nodejs/node/commit/e7a69c499242d270df50a29d2bef5642aff03c13
e7a69c4https://github.com/nodejs/node/commit/e7a69c499242d270df50a29d2bef5642aff03c13
pullhttps://github.com/apps/pull
on Aug 25, 2026https://github.com/nodejs/node/issues/43040#event-30011696020
crypto: discover hashes from OpenSSL providershttps://github.com/alexanderregnier/node/commit/025e88f981fde833920756b22a031305d260e175
025e88fhttps://github.com/alexanderregnier/node/commit/025e88f981fde833920756b22a031305d260e175
aduh95https://github.com/aduh95
on Aug 29, 2026https://github.com/nodejs/node/issues/43040#event-30207780096
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/43040#event-31161498450
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/43040#event-31441206104
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/43040#event-31519152191
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
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/43040
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/43040
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
opensslIssues and PRs related to the OpenSSL dependency.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22openssl%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.