SSL issue with new enforced VERIFY_X509_STRICT context flag in Python 3.13

Open
#145 1 comment 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
security, tooling

Research direction

Start with install-poetry.py and the Python 3.13 SSL changes linked in the issue. Reproduce the failure with a certificate that lacks a critical basic constraints extension, then determine the intended installer behavior and how it should be tested. Done means the Python 3.13 installation path handles the reported certificate case without weakening validation unexpectedly.

Written by the indexing model from the issue text.

Description

Our corporate proxy doesn't enforce the basic constraints extension as critical for his root certificate.
This causes an issue with the new SSL default flag in python 3.13.

It is possible to disable it. See: https://docs.python.org/3/whatsnew/3.13.html#ssl
It worked without issue when I modified install-poetry.py

What's your opinion on this given that even some certs from certifi have this issue in the latest version ?
We could also add an argument I guess.

Dominant language
Python
Stars
255
Forks
65
Avg merge
2h 48m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-poetry/install.python-poetry.org

All issues in python-poetry/install.python-poetry.org

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.