FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-103242: Migrate SSLContext.set_ecdh_curve not to use deprecated APIs by corona10 · Pull Request #103378 · python/cpython · GitHub

Repository navigation

gh-103242: Migrate SSLContext.set_ecdh_curve not to use deprecated APIs - #103378

Merged
gpshead merged 1 commit into
python:mainfrom
corona10:gh-103242
Apr 8, 2023
Merged

gpshead merged 1 commit into
python:mainfrom
corona10:gh-103242

Conversation

corona10 commented Apr 8, 2023 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

corona10 commented Apr 8, 2023

Copy link
Copy Markdown
Member Author
(.oss) corona10@CPython-devel:~/cpython$ ./python -m test test_ssl -R 3:3
0:00:00 load avg: 0.04 Run tests sequentially
0:00:00 load avg: 0.04 [1/1] test_ssl
beginning 6 repetitions
123456
......
test_ssl passed in 1 min 14 sec

== Tests result: SUCCESS ==

1 test OK.

Total duration: 1 min 14 sec
Tests result: SUCCESS

gpshead self-assigned this Apr 8, 2023

gpshead left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I had to do a pile of searching and reading of the OpenSSL docs to understand that this is the correct modern way to do this. Thanks for the cleanup. I think there are compiler defines that can be set to still use the old deprecated APIs, but we shouldn't. That might be a viable strategy for anyone attempting to build 3.10 or earlier against an openssl recent enough to hide them by default though.

gpshead added the needs backport to 3.11 only security fixes label Apr 8, 2023
gpshead merged commit 3516704 into python:main Apr 8, 2023

Copy link
Copy Markdown
Contributor

Thanks @corona10 for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

Copy link
Copy Markdown

GH-103382 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 8, 2023
…ted APIs (pythonGH-103378)

Migrate `SSLContext.set_ecdh_curve()` not to use deprecated OpenSSL APIs.
(cherry picked from commit 3516704)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
bedevere-bot removed the needs backport to 3.11 only security fixes label Apr 8, 2023
miss-islington added a commit that referenced this pull request Apr 8, 2023
…Is (GH-103378)

Migrate `SSLContext.set_ecdh_curve()` not to use deprecated OpenSSL APIs.
(cherry picked from commit 3516704)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
…ted APIs (python#103378)

Migrate `SSLContext.set_ecdh_curve()` not to use deprecated OpenSSL APIs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL