Bug 1726743
Summary: | python-requests / urllib3: Enable post-handshake authentication for TLS 1.3 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Christian Heimes <cheimes> |
Component: | python-urllib3 | Assignee: | Lumír Balhar <lbalhar> |
Status: | CLOSED ERRATA | QA Contact: | Anna Khaitovich <akhaitov> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.1 | CC: | akhaitov, cheimes, cstratak, lbalhar, pviktori, torsava |
Target Milestone: | rc | Keywords: | Reproducer |
Target Release: | 8.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-urllib3-1.24.2-3.el8 | Doc Type: | Release Note |
Doc Text: |
python-urllib3 now enables post handshake authentication for TLS 1.3 connections. This feature allows for conditional client cert authentication with TLS 1.3
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-28 16:44:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1725721, 1761380 | ||
Bug Blocks: | 1760850 |
Description
Christian Heimes
2019-07-03 15:36:16 UTC
Can you get the PR merged upstream? Christian, can you get the upstream PR merged? Upstream CI was failing for my PR. I have rebased my PR and added an additional test case. Let's see if that good enough for upstream. The fix has landed in upstream commit https://github.com/urllib3/urllib3/commit/6a626be4ff623c25270e20db9002705bf4504e4e The upstream patch includes a test in test_ssl.py. I think that the upstream patch can be easily backported. I'm gonna take a look at that. Commit (my fork, rhel-8.1.0 branch): https://src.osci.redhat.com/fork/lbalhar/rpms/python-urllib3/c/93afaf1e8139d2b8d3c7a2e67838cc501bab2857?branch=rhel-8.1.0 Scratch build: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=23218840 The patch contains also a test and bug #1671353 contains also some info about testing this so I think that no new tests are needed. I also had to update RECENT_DATE variable in src/urllib3/connection.py because there is a test for that. I did it in %prep section via sed so it's easily doable again in the future. Patch is waiting for rhel-8.2.0 branch but it's already ready for a review. PR for RHEL 8.2: https://src.osci.redhat.com/rpms/python-urllib3/pull-request/7 Test is backported as well - function `test_create_urllib3_context_pha` in `test/test_ssl.py`. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1793 |