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

Fix use_ssl: True on Python 3.10 by pquentin · Pull Request #1496 · elastic/rally · GitHub

Repository navigation

Fix use_ssl: True on Python 3.10 - #1496

Merged
pquentin merged 6 commits into
elastic:masterfrom
pquentin:use-ssl-310
Jun 1, 2022
Merged

pquentin merged 6 commits into
elastic:masterfrom
pquentin:use-ssl-310

Conversation

Copy link
Copy Markdown
Member

Rally is a client, so its purpose is to authenticate servers. This means
that we should use ssl.Purpose.SERVER_AUTH instead of CLIENT_AUTH, with
or without client certs. This is super confusing, see
python/cpython#73996. Anyway, in 3.10 making this mistake isn't possible
anymore due python/cpython#26646.

To make sure this does not break in the future, we also add tests for
the IP and client certs cases.

pquentin added 5 commits May 20, 2022 16:02
Rally is a client, so its purpose is to authenticate servers. We
also add tests for the IP and client certs cases to make sure this
change does not break them.
pquentin added the bug Something's wrong label May 20, 2022
pquentin added this to the 2.5.0 milestone May 20, 2022
pquentin self-assigned this May 20, 2022

inqueue 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

LGTM, thanks!

pquentin merged commit 6bd1b6c into elastic:master Jun 1, 2022
pquentin deleted the use-ssl-310 branch June 1, 2022 07:20
pquentin changed the title Fix use_ssl: True on Python 3.10 (second try) Fix use_ssl: True on Python 3.10 Jun 23, 2022
pquentin added the highlight A substantial improvement that is worth mentioning separately in release notes label Jun 23, 2022
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

bug Something's wrong highlight A substantial improvement that is worth mentioning separately in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL