Skip to content

bpo-40457: Support OpenSSL without TLS 1.0/1.1 - #19862

Merged
miss-islington merged 1 commit into
python:masterfrom
tiran:bpo40457
May 16, 2020
Merged

miss-islington merged 1 commit into
python:masterfrom
tiran:bpo40457

Conversation

@tiran

@tiran tiran commented May 2, 2020 •

Copy link
Copy Markdown
Member

OpenSSL can be build without support for TLS 1.0 and 1.1. The ssl module
now correctly adheres to OPENSSL_NO_TLS1 and OPENSSL_NO_TLS1_1 flags.

Also update multissltest to test with latest OpenSSL and LibreSSL
releases.

Signed-off-by: Christian Heimes christian@python.org

https://bugs.python.org/issue40457

Automerge-Triggered-By: @tiran

OpenSSL can be build without support for TLS 1.0 and 1.1. The ssl module
now correctly adheres to OPENSSL_NO_TLS1 and OPENSSL_NO_TLS1_1 flags.

Also update multissltest to test with latest OpenSSL and LibreSSL
releases.

Signed-off-by: Christian Heimes <christian@python.org>
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry @tiran, I had trouble checking out the 3.8 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 6e8cda91d92da72800d891b2fc2073ecbc134d98 3.8

@miss-islington miss-islington self-assigned this May 16, 2020
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 16, 2020
OpenSSL can be build without support for TLS 1.0 and 1.1. The ssl module
now correctly adheres to OPENSSL_NO_TLS1 and OPENSSL_NO_TLS1_1 flags.

Also update multissltest to test with latest OpenSSL and LibreSSL
releases.

Signed-off-by: Christian Heimes <christian@python.org>

Automerge-Triggered-By: @tiran
(cherry picked from commit 6e8cda9)

Co-authored-by: Christian Heimes <christian@python.org>
@bedevere-bot

Copy link
Copy Markdown

GH-20126 is a backport of this pull request to the 3.7 branch.

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-20127 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 16, 2020
OpenSSL can be build without support for TLS 1.0 and 1.1. The ssl module
now correctly adheres to OPENSSL_NO_TLS1 and OPENSSL_NO_TLS1_1 flags.

Also update multissltest to test with latest OpenSSL and LibreSSL
releases.

Signed-off-by: Christian Heimes <christian@python.org>

Automerge-Triggered-By: @tiran
(cherry picked from commit 6e8cda9)

Co-authored-by: Christian Heimes <christian@python.org>
miss-islington added a commit that referenced this pull request May 16, 2020
OpenSSL can be build without support for TLS 1.0 and 1.1. The ssl module
now correctly adheres to OPENSSL_NO_TLS1 and OPENSSL_NO_TLS1_1 flags.

Also update multissltest to test with latest OpenSSL and LibreSSL
releases.

Signed-off-by: Christian Heimes <christian@python.org>

Automerge-Triggered-By: @tiran
(cherry picked from commit 6e8cda9)

Co-authored-by: Christian Heimes <christian@python.org>
arturoescaip pushed a commit to arturoescaip/cpython that referenced this pull request May 24, 2020
OpenSSL can be build without support for TLS 1.0 and 1.1. The ssl module
now correctly adheres to OPENSSL_NO_TLS1 and OPENSSL_NO_TLS1_1 flags.

Also update multissltest to test with latest OpenSSL and LibreSSL
releases.

Signed-off-by: Christian Heimes <christian@python.org>

Automerge-Triggered-By: @tiran
mehw added a commit to mehw/cpython that referenced this pull request Nov 6, 2026
Compilation tested with OpenSSL 4.1.0 on Gentoo GNU/Linux (amd64).

Upstream commit references:

Remove an unneeded call into OpenSSL (pythonGH-6887)
python@55e53c3

bpo-40457: Support OpenSSL without TLS 1.0/1.1 (pythonGH-19862)
python@6e8cda9

bpo-43669: PEP 644: Require OpenSSL 1.1.1 or newer (pythonGH-23014)
python@39258d3

pythongh-146207: Add support for OpenSSL 4.0.0 alpha1 (python#146217)
python@3364e7e

pythongh-159387: Fix TLS 1.0–1.2 availability detection with OpenSSL 4.0 (pythonGH-159388)
python@e7acd6a

pythongh-141801: Use accessors for ASN1_STRING fields in libssl
python@c41fce0

Remove SSLv2 support
openssl/openssl@45f55f6

Removes fixed version TLS methods
openssl/openssl@9a46c4c

Describe X509 constification and ASN1_STRING changes
openssl/openssl@c0f82d9

Constify X509_NAME
openssl/openssl@b0f2107

Make ASN1_STRING opaque
openssl/openssl@46dbd7f

Make ERR_STATE opaque and remove related deprecated functions
openssl/openssl@5c14539

Closes: https://bugs.gentoo.org/985562
Signed-off-by: Matthew White <mehw.is.me@proton.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants