René's URL Explorer Experiment


Title: crypto.createCipher should not work with AES-CTR · Issue #13801 · nodejs/node · GitHub

Open Graph Title: crypto.createCipher should not work with AES-CTR · Issue #13801 · nodejs/node

X Title: crypto.createCipher should not work with AES-CTR · Issue #13801 · nodejs/node

Description: Node should not allow calls to crypto.createCipher to succeed when the AES mode selected is CTR. AES-CTR is fundamentally broken when an initialization vector is used twice, and crypto.createCipher will always generate the same initializ...

Open Graph Description: Node should not allow calls to crypto.createCipher to succeed when the AES mode selected is CTR. AES-CTR is fundamentally broken when an initialization vector is used twice, and crypto.createCipher...

X Description: Node should not allow calls to crypto.createCipher to succeed when the AES mode selected is CTR. AES-CTR is fundamentally broken when an initialization vector is used twice, and crypto.createCipher...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"crypto.createCipher should not work with AES-CTR","articleBody":"Node should not allow calls to `crypto.createCipher` to succeed when the AES mode selected is CTR. AES-CTR is fundamentally broken when an initialization vector is used twice, and `crypto.createCipher` will always generate the same initialization vector for the same key, so `crypto.createCipheriv` needs to be used.\r\n\r\nIn the short term, there should probably be a warning about this in the [function's documentation](https://nodejs.org/api/crypto.html#crypto_crypto_createcipher_algorithm_password).\r\n\r\nPosted because of https://github.com/HainaLi/horcrux_password_manager/issues/1.","author":{"url":"https://github.com/iangcarroll","@type":"Person","name":"iangcarroll"},"datePublished":"2017-06-19T18:49:39Z","url":"https://github.com/nodejs/node/issues/13801"}

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:982e3d4e-6659-8017-780b-0da6172395cd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDDD2:3684D6:2AC615:36B2FD:6B035300
html-safe-nonce8fd8b6965347463517b0eefb1d14f416e624629ff3614fc119715889d6c3fb12
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREQyOjM2ODRENjoyQUM2MTU6MzZCMkZEOjZCMDM1MzAwIiwidmlzaXRvcl9pZCI6IjI5NDUxMDg2MDE5MzA0NzAxNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac02f0b8babc6fcb0e85612ee5408bd561d0cba8e5f19bed4a142f30dc7a045637
hovercard-subject-tagissue:236985462
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/13801/issue_layout
twitter:imagehttps://opengraph.githubassets.com/86a02297b6115a1e482e3cea9b59f323a39303b58e0da2f88818745b6171ced6/nodejs/node/issues/13801
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/86a02297b6115a1e482e3cea9b59f323a39303b58e0da2f88818745b6171ced6/nodejs/node/issues/13801
og:image:altNode should not allow calls to crypto.createCipher to succeed when the AES mode selected is CTR. AES-CTR is fundamentally broken when an initialization vector is used twice, and crypto.createCipher...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameiangcarroll
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/13801#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F13801
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%2F13801
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/13801
Reloadhttps://github.com/nodejs/node/issues/13801
Reloadhttps://github.com/nodejs/node/issues/13801
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues637 (637)https://github.com/nodejs/node/issues
Pull requests667 (667)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/insights
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/13801
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/13801
crypto.createCipher should not work with AES-CTRhttps://github.com/nodejs/node/issues/13801#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/iangcarroll
iangcarrollhttps://github.com/iangcarroll
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issue-236985462
function's documentationhttps://nodejs.org/api/crypto.html#crypto_crypto_createcipher_algorithm_password
HainaLi/horcrux_password_manager#1https://github.com/HainaLi/horcrux_password_manager/issues/1
Nexthttps://github.com/nodejs/node/issues/13801?timeline_page=1
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309532877
tniessenhttps://github.com/tniessen
cryptoIssues and PRs related to the crypto subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22crypto%22
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#event-1129687660
https://github.com/iangcarroll
iangcarrollhttps://github.com/iangcarroll
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309547480
This searchhttps://github.com/search?q=createCipher+aes+ctr&type=Code&utf8=%E2%9C%93
https://github.com/HabitRPG/habitica/blob/release/website/server/libs/encryption.jshttps://github.com/HabitRPG/habitica/blob/release/website/server/libs/encryption.js
https://github.com/Microsoft/BotBuilder-Samples/blob/master/Node/demo-ContosoFlowers/bot/utils.js#L14https://github.com/Microsoft/BotBuilder-Samples/blob/master/Node/demo-ContosoFlowers/bot/utils.js#L14
http://lollyrock.com/articles/nodejs-encryption/http://lollyrock.com/articles/nodejs-encryption/
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309562830
@shigekihttps://github.com/shigeki
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309565188
@tniessenhttps://github.com/tniessen
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309570799
https://github.com/iangcarroll
iangcarrollhttps://github.com/iangcarroll
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309574584
https://github.com/indutny
indutnyhttps://github.com/indutny
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309576802
@bnoordhuishttps://github.com/bnoordhuis
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309579106
@indutnyhttps://github.com/indutny
https://github.com/indutny
indutnyhttps://github.com/indutny
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309580256
@tniessenhttps://github.com/tniessen
https://github.com/cbarcenas
cbarcenashttps://github.com/cbarcenas
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309581151
this dangerous key/IV derivation logic.https://github.com/nodejs/node/blob/109e84bda7386481249144a40506edd3960f855b/src/node_crypto.cc#L3342-L3352
https://github.com/tniessen
tniessenhttps://github.com/tniessen
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309583061
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Jun 19, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309593880
https://github.com/stouset
stousethttps://github.com/stouset
on Jun 20, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309613311
@tniessenhttps://github.com/tniessen
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Jun 20, 2017https://github.com/nodejs/node/issues/13801#issuecomment-309706892
@stousethttps://github.com/stouset
https://github.com/ss23
ss23https://github.com/ss23
on Aug 9, 2017https://github.com/nodejs/node/issues/13801#issuecomment-321366666
https://github.com/iangcarroll
iangcarrollhttps://github.com/iangcarroll
on Aug 9, 2017https://github.com/nodejs/node/issues/13801#issuecomment-321368584
@ss23https://github.com/ss23
#13941https://github.com/nodejs/node/pull/13941
shigekihttps://github.com/shigeki
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
9dfb2d1https://github.com/nodejs/node/commit/9dfb2d14cb315ed841658195347095aa879dae8b
on Aug 22, 2017https://github.com/nodejs/node/issues/13801#event-1215829479
addaleaxhttps://github.com/addaleax
on Aug 25, 2017https://github.com/nodejs/node/issues/13801#event-1221647465
crypto: warn if counter mode used in createCipherhttps://github.com/addaleax/ayo/commit/fb868e44c8f3ebf12262da6eadb2d4ff11ad271c
fb868e4https://github.com/addaleax/ayo/commit/fb868e44c8f3ebf12262da6eadb2d4ff11ad271c
crypto: warn if counter mode used in createCipherhttps://github.com/ayojs/ayo/commit/5d9d56a2ec38ae156530ead38e6dd6c5df618fef
5d9d56ahttps://github.com/ayojs/ayo/commit/5d9d56a2ec38ae156530ead38e6dd6c5df618fef
MylesBorinshttps://github.com/MylesBorins
on Sep 10, 2017https://github.com/nodejs/node/issues/13801#event-1242217920
crypto: warn if counter mode used in createCipherhttps://github.com/nodejs/node/commit/f20134b58c46da01e5f3cfcb2200d4088ca50bd2
f20134bhttps://github.com/nodejs/node/commit/f20134b58c46da01e5f3cfcb2200d4088ca50bd2
crypto: warn if counter mode used in createCipherhttps://github.com/nodejs/node/commit/f49cf33fd98c87168ba0f70a56eb166219dd6d38
f49cf33https://github.com/nodejs/node/commit/f49cf33fd98c87168ba0f70a56eb166219dd6d38
crypto: warn if counter mode used in createCipherhttps://github.com/nodejs/node/commit/b5dd0e891ca48b0cbc71e4dfd4fd2e113bdbb21d
b5dd0e8https://github.com/nodejs/node/commit/b5dd0e891ca48b0cbc71e4dfd4fd2e113bdbb21d
crypto: warn if counter mode used in createCipherhttps://github.com/nodejs/node/commit/41bf40e209d0a8575e52205d95b2fe45164ddb0c
41bf40ehttps://github.com/nodejs/node/commit/41bf40e209d0a8575e52205d95b2fe45164ddb0c
bnoordhuishttps://github.com/bnoordhuis
on Oct 29, 2017https://github.com/nodejs/node/issues/13801#event-1315481281
crypto: warn if counter mode used in createCipherhttps://github.com/bnoordhuis/io.js/commit/16c08c5baee61b803aaa8c9f63891f5a439b6315
16c08c5https://github.com/bnoordhuis/io.js/commit/16c08c5baee61b803aaa8c9f63891f5a439b6315
MylesBorinshttps://github.com/MylesBorins
on Nov 14, 2017https://github.com/nodejs/node/issues/13801#event-1341558444
crypto: warn if counter mode used in createCipherhttps://github.com/nodejs/node/commit/11256f7b20ae345d8b562103e8792d48d0fdafe9
11256f7https://github.com/nodejs/node/commit/11256f7b20ae345d8b562103e8792d48d0fdafe9
MylesBorinshttps://github.com/MylesBorins
on Nov 21, 2017https://github.com/nodejs/node/issues/13801#event-1353084395
crypto: warn if counter mode used in createCipherhttps://github.com/nodejs/node/commit/eed1b1f171064e3b475658cda24519ab7ad840dc
eed1b1fhttps://github.com/nodejs/node/commit/eed1b1f171064e3b475658cda24519ab7ad840dc
crypto: warn if counter mode used in createCipherhttps://github.com/nodejs/node/commit/7115079c4f1d155895d0294f8af1ff03c2f41622
7115079https://github.com/nodejs/node/commit/7115079c4f1d155895d0294f8af1ff03c2f41622
mickael-kerjeanhttps://github.com/mickael-kerjean
on Mar 1, 2018https://github.com/nodejs/node/issues/13801#event-1499688508
bugfix (encryption): crypto was giving warning while using aes-256-ct…https://github.com/mickael-kerjean/filestash/commit/e258599a0483fe8e416a4a18af245cad7879dd76
e258599https://github.com/mickael-kerjean/filestash/commit/e258599a0483fe8e416a4a18af245cad7879dd76
sjarmakhttps://github.com/sjarmak
on Jul 27, 2026https://github.com/nodejs/node/issues/13801#event-28560639935
crypto: warn if counter mode used in createCipherhttps://github.com/sg-evals/nodejs-node/commit/9dfb2d14cb315ed841658195347095aa879dae8b
9dfb2d1https://github.com/sg-evals/nodejs-node/commit/9dfb2d14cb315ed841658195347095aa879dae8b
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/13801
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/13801
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.