Outdated ssl documentation wrt changes in OpenSSL 4
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Documentation
Hey. It was reported to us in Fedora that ssl.PROTOCOL_TLSv1_2 no longer available in Python. We figured out that this is related to changes in OpenSSL 4 -- https://github.com/python/cpython/commit/3364e7e62fa24d0e19133fb0f90b1c24ef1110c5
@vstinner said:
there are still references to ssl.PROTOCOL_TLSv1_2 and other removed protocols in Lib/ssl.py. Well, don't trust the documentation on this point, the doc is outdated :-)
This is also true for pydoc.
I am redirecting this here for tracking purposes to update the ssl documentation wrt changes in OpenSSL 4.
Linked PRs
- gh-152714
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the references to ssl.PROTOCOL_TLSv1_2 and other removed protocols in Lib/ssl.py, then inspect the SSL documentation and pydoc output mentioned in the issue. Compare them with the OpenSSL 4 changes and check linked PR gh-152714; done means the outdated protocol references are updated or removed consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100