René's URL Explorer Experiment


Title: ext-openssl is inconsistent in cipher algorithm accepted in functions vs the ones returned by openssl_get_cipher_methods · Issue #19994 · php/php-src · GitHub

Open Graph Title: ext-openssl is inconsistent in cipher algorithm accepted in functions vs the ones returned by openssl_get_cipher_methods · Issue #19994 · php/php-src

X Title: ext-openssl is inconsistent in cipher algorithm accepted in functions vs the ones returned by openssl_get_cipher_methods · Issue #19994 · php/php-src

Description: Description The following code:

Open Graph Description: Description The following code:

X Description: Description The following code: <?php $ciphers = openssl_get_cipher_methods(); foreach ($ciphers as $cipher) { echo $cipher.': '; echo openssl_cipher_iv_length($cipher); echo "\n&qu...

Opengraph URL: https://github.com/php/php-src/issues/19994

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ext-openssl is inconsistent in cipher algorithm accepted in functions vs the ones returned by openssl_get_cipher_methods","articleBody":"### Description\n\nThe following code:\n\n```php\n\u003c?php\n\n$ciphers = openssl_get_cipher_methods();\n\nforeach ($ciphers as $cipher) {\n    echo $cipher.': ';\n    echo openssl_cipher_iv_length($cipher);\n    echo \"\\n\";\n}\n```\n\nResulted in this output:\n```\naes-128-cbc: 16\naes-128-cbc-cts: PHP Warning:  openssl_cipher_iv_length(): Unknown cipher algorithm in /home/stof/src/Incenteev/Incenteev/build/tmp.php on line 15\nPHP Stack trace:\nPHP   1. {main}() /home/stof/src/Incenteev/Incenteev/build/tmp.php:0\nPHP   2. openssl_cipher_iv_length($cipher_algo = 'aes-128-cbc-cts') /home/stof/src/Incenteev/Incenteev/build/tmp.php:7\n\naes-128-cbc-hmac-sha1: 16\naes-128-cbc-hmac-sha256: 16\naes-128-ccm: 12\naes-128-cfb: 16\naes-128-cfb1: 16\naes-128-cfb8: 16\naes-128-ctr: 16\naes-128-ecb: 0\naes-128-gcm: 12\naes-128-ocb: 12\naes-128-ofb: 16\naes-128-siv: PHP Warning:  openssl_cipher_iv_length(): Unknown cipher algorithm in /home/stof/src/Incenteev/Incenteev/build/tmp.php on line 15\nPHP Stack trace:\nPHP   1. {main}() /home/stof/src/Incenteev/Incenteev/build/tmp.php:0\nPHP   2. openssl_cipher_iv_length($cipher_algo = 'aes-128-siv') /home/stof/src/Incenteev/Incenteev/build/tmp.php:7\n\n[REDACTED: more algorithms]\n```\n\nBut I expected this output instead: no warnings about unknown algorithms, as I'm using the list of known algorithms as input.\n\n### PHP Version\n\n```plain\nPHP 8.3.25 (cli) (built: Aug 29 2025 12:01:53) (NTS)\nCopyright (c) The PHP Group\nZend Engine v4.3.25, Copyright (c) Zend Technologies\n    with Zend OPcache v8.3.25, Copyright (c), by Zend Technologies\n    with Xdebug v3.4.5, Copyright (c) 2002-2025, by Derick Rethans\n    with blackfire v1.92.44~linux-x64-non_zts83, https://blackfire.io, by Blackfire\n\nIn case this is relevant, I'm using OpenSSL 3.0.13\n```\n\n### Operating System\n\nUbuntu 24.04","author":{"url":"https://github.com/stof","@type":"Person","name":"stof"},"datePublished":"2025-09-29T15:58:45Z","url":"https://github.com/php/php-src/issues/19994"}

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:f552695f-e72f-bda3-6285-0278bd83c285
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC7A0:842EC:98F8F1:CDC7F0:6B00EA5B
html-safe-nonceadf25489968905edcff76f25b6cf5733fb148db4a881792d363545d50aa986f2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0EwOjg0MkVDOjk4RjhGMTpDREM3RjA6NkIwMEVBNUIiLCJ2aXNpdG9yX2lkIjoiODg5MTI5NTExNDQ2NzUzNTQ1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbf4462eb073d9f4bcdc7c46fc95e9a17ec12242b195485e057bcd208a67951d4
hovercard-subject-tagissue:3465644824
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/php/php-src/19994/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f702df3f069a9ad0eb8f92cd22e71aba8f7c1c52f7ff707351096f4b4a1845d4/php/php-src/issues/19994
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f702df3f069a9ad0eb8f92cd22e71aba8f7c1c52f7ff707351096f4b4a1845d4/php/php-src/issues/19994
og:image:altDescription The following code:
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestof
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
go-importgithub.com/php/php-src git https://github.com/php/php-src.git
octolytics-dimension-user_id25158
octolytics-dimension-user_loginphp
octolytics-dimension-repository_id1903522
octolytics-dimension-repository_nwophp/php-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1903522
octolytics-dimension-repository_network_root_nwophp/php-src
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/php/php-src/issues/19994#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp%2Fphp-src%2Fissues%2F19994
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%2Fphp%2Fphp-src%2Fissues%2F19994
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=php%2Fphp-src
Reloadhttps://github.com/php/php-src/issues/19994
Reloadhttps://github.com/php/php-src/issues/19994
Reloadhttps://github.com/php/php-src/issues/19994
phphttps://github.com/php
php-srchttps://github.com/php/php-src
Codehttps://github.com/php/php-src
Issues1k (1k)https://github.com/php/php-src/issues
Pull requests1.3k (1.3k)https://github.com/php/php-src/pulls
Actionshttps://github.com/php/php-src/actions
Security and quality83 (83)https://github.com/php/php-src/security
Insightshttps://github.com/php/php-src/insights
https://github.com/php/php-src
New issuehttps://github.com/login?return_to=https://github.com/php/php-src/issues/19994
New issuehttps://github.com/login?return_to=https://github.com/php/php-src/issues/19994
ext-openssl is inconsistent in cipher algorithm accepted in functions vs the ones returned by openssl_get_cipher_methodshttps://github.com/php/php-src/issues/19994#top
https://github.com/bukka
Bughttps://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Bug%22
Extension: opensslhttps://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Extension%3A%20openssl%22
https://github.com/stof
stofhttps://github.com/stof
on Sep 29, 2025https://github.com/php/php-src/issues/19994#issue-3465644824
stofhttps://github.com/stof
Bughttps://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Bug%22
Status: Needs Triagehttps://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Triage%22
on Sep 29, 2025https://github.com/php/php-src/issues/19994#event-19988048735
iluuu1994https://github.com/iluuu1994
Extension: opensslhttps://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Extension%3A%20openssl%22
on Sep 29, 2025https://github.com/php/php-src/issues/19994#event-19989557808
iluuu1994https://github.com/iluuu1994
bukkahttps://github.com/bukka
on Sep 29, 2025https://github.com/php/php-src/issues/19994#event-19989558834
bukkahttps://github.com/bukka
on Oct 14, 2025https://github.com/php/php-src/issues/19994#event-20273009511
Fix phpGH-19994: openssl_get_cipher_methods inconsistent with fetched…https://github.com/bukka/php-src/commit/e69422446f51ea871d94e1f4f3339a33bf768451
phpGH-19994https://github.com/php/php-src/issues/19994
https://docs.github.com/articles/closing-issues-via-commit-messages
e694224https://github.com/bukka/php-src/commit/e69422446f51ea871d94e1f4f3339a33bf768451
bukkahttps://github.com/bukka
Status: Needs Triagehttps://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Triage%22
on Oct 14, 2025https://github.com/php/php-src/issues/19994#event-20273042757
https://github.com/bukka
bukkahttps://github.com/bukka
on Oct 14, 2025https://github.com/php/php-src/issues/19994#issuecomment-3402436489
2f5ef4dhttps://github.com/php/php-src/commit/2f5ef4d2b729227f5847dd36faba94ee430cd096
#20167https://github.com/php/php-src/pull/20167
bukkahttps://github.com/bukka
on Oct 14, 2025https://github.com/php/php-src/issues/19994#event-20275502977
Fix GH-19994: openssl_get_cipher_methods inconsistent with fetched me…https://github.com/php/php-src/commit/2e4dca57dc7256387ecb09b136f83283b8728af0
GH-19994https://github.com/php/php-src/issues/19994
https://docs.github.com/articles/closing-issues-via-commit-messages
2e4dca5https://github.com/php/php-src/commit/2e4dca57dc7256387ecb09b136f83283b8728af0
Update NEWS with info about OpenSSL GH-19994 fixhttps://github.com/php/php-src/commit/f60134a3c96d2d373eaa6d9ada466adf503aae8d
GH-19994https://github.com/php/php-src/issues/19994
https://docs.github.com/articles/closing-issues-via-commit-messages
f60134ahttps://github.com/php/php-src/commit/f60134a3c96d2d373eaa6d9ada466adf503aae8d
bukkahttps://github.com/bukka
completedhttps://github.com/php/php-src/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
2e4dca5https://github.com/php/php-src/commit/2e4dca57dc7256387ecb09b136f83283b8728af0
on Oct 14, 2025https://github.com/php/php-src/issues/19994#event-20275603122
bukkahttps://github.com/bukka
on Oct 14, 2025https://github.com/php/php-src/issues/19994#event-20275603251
Merge branch 'PHP-8.5'https://github.com/php/php-src/commit/869c45819e3f6e8a834b39cc9aded5593f321a10
869c458https://github.com/php/php-src/commit/869c45819e3f6e8a834b39cc9aded5593f321a10
phpstan-bothttps://github.com/phpstan-bot
on Feb 17, 2026https://github.com/php/php-src/issues/19994#event-22840807751
Filter unsupported OpenSSL cipher methods on PHP 8.0-8.4https://github.com/phpstan/phpstan-src/commit/07a0a8eb3ffd20ba8e1af06e53027903c1bbb660
07a0a8ehttps://github.com/phpstan/phpstan-src/commit/07a0a8eb3ffd20ba8e1af06e53027903c1bbb660
VincentLanglethttps://github.com/VincentLanglet
on Feb 17, 2026https://github.com/php/php-src/issues/19994#event-22866755859
Filter unsupported OpenSSL cipher methods on PHP 8.0-8.4https://github.com/VincentLanglet/phpstan-src/commit/6f114e8718cdf47936905a2042cc13e0ef0068da
6f114e8https://github.com/VincentLanglet/phpstan-src/commit/6f114e8718cdf47936905a2042cc13e0ef0068da
SanderMullerhttps://github.com/SanderMuller
on Sep 4, 2026https://github.com/php/php-src/issues/19994#event-30544314987
Keep the openssl cipher probe's warnings inside the probehttps://github.com/SanderMuller/phpstan-src/commit/6f5de63635b00dac2af28954fea132b47d9e37b1
6f5de63https://github.com/SanderMuller/phpstan-src/commit/6f5de63635b00dac2af28954fea132b47d9e37b1
Keep the openssl cipher probe's warnings inside the probehttps://github.com/SanderMuller/phpstan-src/commit/61b22da916daf774ddba7dfa551e32b42d346987
61b22dahttps://github.com/SanderMuller/phpstan-src/commit/61b22da916daf774ddba7dfa551e32b42d346987
Keep the openssl cipher probe's warnings inside the probehttps://github.com/SanderMuller/phpstan-src/commit/262d732578ff563cfbfe411f98ba6652e8580419
262d732https://github.com/SanderMuller/phpstan-src/commit/262d732578ff563cfbfe411f98ba6652e8580419
SanderMullerhttps://github.com/SanderMuller
on Sep 22, 2026https://github.com/php/php-src/issues/19994#event-31625445672
Keep the openssl cipher probe's warnings inside the probehttps://github.com/SanderMuller/phpstan-src/commit/7cbe28b8d03a9217de2c3ca0b5ec87d2c40f9a74
7cbe28bhttps://github.com/SanderMuller/phpstan-src/commit/7cbe28b8d03a9217de2c3ca0b5ec87d2c40f9a74
Keep the openssl cipher probe's warnings inside the probehttps://github.com/SanderMuller/phpstan-src/commit/4f31b80b6998598a1d559119297a135ca0995ddd
4f31b80https://github.com/SanderMuller/phpstan-src/commit/4f31b80b6998598a1d559119297a135ca0995ddd
SanderMullerhttps://github.com/SanderMuller
on Oct 5, 2026https://github.com/php/php-src/issues/19994#event-32523327856
Keep the openssl cipher probe's warnings inside the probehttps://github.com/SanderMuller/phpstan-src/commit/ef6394a305165aa178771428f3a00bda4e6a825a
ef6394ahttps://github.com/SanderMuller/phpstan-src/commit/ef6394a305165aa178771428f3a00bda4e6a825a
Sign up for freehttps://github.com/signup?return_to=https://github.com/php/php-src/issues/19994
Sign in to commenthttps://github.com/login?return_to=https://github.com/php/php-src/issues/19994
bukkahttps://github.com/bukka
Bughttps://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Bug%22
Extension: opensslhttps://github.com/php/php-src/issues?q=state%3Aopen%20label%3A%22Extension%3A%20openssl%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.