René's URL Explorer Experiment


Title: gh-116333: Relax error string text expectations in SSL-related tests by WillChilds-Klein · Pull Request #116334 · python/cpython · GitHub

Open Graph Title: gh-116333: Relax error string text expectations in SSL-related tests by WillChilds-Klein · Pull Request #116334 · python/cpython

X Title: gh-116333: Relax error string text expectations in SSL-related tests by WillChilds-Klein · Pull Request #116334 · python/cpython

Description: Description As suggested here, this change relaxes the OpenSSL error string text expectations in a number of tests. This was specifically done in support of more easily building CPython AWS-LC, but because AWS-LC is a fork of BoringSSL, it should increase compatibility with that library as well. In addition to the error string relaxations, we also add some guards around the tls-unique channel binding being used with TLSv1.3, as that feature (described in RFC 6929) is not defined for TLSv1.3. Call-outs I've omitted a NEWS entry as this PR does not change anything for end users, and does not fully provide out-of-the box support for AWS-LC on its own. Testing CPython CI local testing with AWS-LC (additional patch required) some tests still fail in local testing, but this is expected due to AWS-LC's present lack of support for TLSv1.3 post-handshake authentication local testing with system ssl system info $ openssl version && uname -r && cat /etc/*release OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) 6.2.0-1014-aws DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS" PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy Issue: gh-116333

Open Graph Description: Description As suggested here, this change relaxes the OpenSSL error string text expectations in a number of tests. This was specifically done in support of more easily building CPython AWS-LC, but...

X Description: Description As suggested here, this change relaxes the OpenSSL error string text expectations in a number of tests. This was specifically done in support of more easily building CPython AWS-LC, but...

Opengraph URL: https://github.com/python/cpython/pull/116334

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:149f2b74-6d7e-12ea-3eed-1b80546c4750
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD784:2780A3:1E1329C:293E89B:696AB0CC
html-safe-nonce4f2858b105234fcc7a54b22e21cdc7d0fbf41e08aac0b962795a27a7f4a213de
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzg0OjI3ODBBMzoxRTEzMjlDOjI5M0U4OUI6Njk2QUIwQ0MiLCJ2aXNpdG9yX2lkIjoiMjQwODk2MzQ2MjA2NzMwMjYwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccae8b6280694b8f58e3ff8634f301ce3fafd05c05386c1825e6ffa251cd995c2
hovercard-subject-tagpull_request:1755648206
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/116334/files
twitter:imagehttps://avatars.githubusercontent.com/u/3589880?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3589880?s=400&v=4
og:image:altDescription As suggested here, this change relaxes the OpenSSL error string text expectations in a number of tests. This was specifically done in support of more easily building CPython AWS-LC, but...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release41f276818bd204c4a30a0281fb3c576298d9474c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/116334/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F116334%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F116334%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/116334/files
Reloadhttps://github.com/python/cpython/pull/116334/files
Reloadhttps://github.com/python/cpython/pull/116334/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/116334/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/116334/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
WillChilds-Klein:relax-ssl-err-strshttps://github.com/WillChilds-Klein/cpython/tree/relax-ssl-err-strs
Conversation 22 https://github.com/python/cpython/pull/116334
Commits 5 https://github.com/python/cpython/pull/116334/commits
Checks 0 https://github.com/python/cpython/pull/116334/checks
Files changed 4 https://github.com/python/cpython/pull/116334/files
gh-116333: Relax error string text expectations in SSL-related tests https://github.com/python/cpython/pull/116334/files#top
Show all changes 5 commits https://github.com/python/cpython/pull/116334/files
0f8d4e1 Relax error string text expectations in SSL-related tests WillChilds-Klein Mar 4, 2024 https://github.com/python/cpython/pull/116334/commits/0f8d4e1f4c54f786ec7608bb93a368ec5062a5b0
50c41e6 Remove test comment mentions of BoringSSL WillChilds-Klein Mar 5, 2024 https://github.com/python/cpython/pull/116334/commits/50c41e652da19208fa63217b28905fa7fcb44f5c
9082a74 Use multi-line string instead of string building WillChilds-Klein Mar 5, 2024 https://github.com/python/cpython/pull/116334/commits/9082a743757fba36c7ee26dc10eab791e14503eb
4452f6e NEWS entry. gpshead Mar 21, 2024 https://github.com/python/cpython/pull/116334/commits/4452f6ef909abc9402645b0187cafbac4ac209c1
ff9553d Merge branch 'main' into relax-ssl-err-strs gpshead Mar 21, 2024 https://github.com/python/cpython/pull/116334/commits/ff9553d6b75556e2343c43a8b42c8a8303a62348
Clear filters https://github.com/python/cpython/pull/116334/files
Please reload this pagehttps://github.com/python/cpython/pull/116334/files
Please reload this pagehttps://github.com/python/cpython/pull/116334/files
test_events.py https://github.com/python/cpython/pull/116334/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
test_imaplib.py https://github.com/python/cpython/pull/116334/files#diff-f5b46078e10c828dda10aa193e6ef335e75ac250561e9341444431524a5fde6d
test_ssl.py https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
2024-03-21-11-32-29.gh-issue-116333.F-9Ram.rst https://github.com/python/cpython/pull/116334/files#diff-3caff88bd1838b81c959ea6bc9c0b3b73c7728a19fa727786341840293b07b4f
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L370
Lib/test/test_asyncio/test_events.pyhttps://github.com/python/cpython/pull/116334/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
View file https://github.com/WillChilds-Klein/cpython/blob/ff9553d6b75556e2343c43a8b42c8a8303a62348/Lib/test/test_asyncio/test_events.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/116334/{{ revealButtonHref }}
https://github.com/python/cpython/pull/116334/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
https://github.com/python/cpython/pull/116334/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L442
Lib/test/test_imaplib.pyhttps://github.com/python/cpython/pull/116334/files#diff-f5b46078e10c828dda10aa193e6ef335e75ac250561e9341444431524a5fde6d
View file https://github.com/WillChilds-Klein/cpython/blob/ff9553d6b75556e2343c43a8b42c8a8303a62348/Lib/test/test_imaplib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/116334/{{ revealButtonHref }}
https://github.com/python/cpython/pull/116334/files#diff-f5b46078e10c828dda10aa193e6ef335e75ac250561e9341444431524a5fde6d
https://github.com/python/cpython/pull/116334/files#diff-f5b46078e10c828dda10aa193e6ef335e75ac250561e9341444431524a5fde6d
https://github.com/python/cpython/pull/116334/files#diff-f5b46078e10c828dda10aa193e6ef335e75ac250561e9341444431524a5fde6d
https://github.com/python/cpython/pull/116334/files#diff-f5b46078e10c828dda10aa193e6ef335e75ac250561e9341444431524a5fde6d
https://github.com/python/cpython/pull/116334/files#diff-f5b46078e10c828dda10aa193e6ef335e75ac250561e9341444431524a5fde6d
https://github.com/python/cpython/pull/116334/files#diff-f5b46078e10c828dda10aa193e6ef335e75ac250561e9341444431524a5fde6d
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L387
Lib/test/test_ssl.pyhttps://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
View file https://github.com/WillChilds-Klein/cpython/blob/ff9553d6b75556e2343c43a8b42c8a8303a62348/Lib/test/test_ssl.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/116334/{{ revealButtonHref }}
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/116334/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
Misc/NEWS.d/next/Tests/2024-03-21-11-32-29.gh-issue-116333.F-9Ram.rsthttps://github.com/python/cpython/pull/116334/files#diff-3caff88bd1838b81c959ea6bc9c0b3b73c7728a19fa727786341840293b07b4f
View file https://github.com/WillChilds-Klein/cpython/blob/ff9553d6b75556e2343c43a8b42c8a8303a62348/Misc/NEWS.d/next/Tests/2024-03-21-11-32-29.gh-issue-116333.F-9Ram.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/116334/{{ revealButtonHref }}
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.