Bug 1260407

Summary: No TLS1.1 or TLS1.2 support in pycurl
Product: Red Hat Enterprise Linux 7 Reporter: Filip Krska <fkrska>
Component: python-pycurlAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Branislav Náter <bnater>
Severity: medium Docs Contact: Robert Krátký <rkratky>
Priority: medium    
Version: 7.2CC: bnater, isenfeld, jbastian, kdudka, ovasik, qe-baseos-apps, rkratky
Target Milestone: rcKeywords: EasyFix, FutureFeature, Patch, Reproducer
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: python-pycurl-7.19.0-19.el7 Doc Type: Release Note
Doc Text:
*pycurl* now provides options to require TLSv1.1 or 1.2 With this update, *pycurl* has been enhanced to support options that make it possible to require the use of the 1.1 or 1.2 versions of the TLS protocol, which improves the security of communication.
Story Points: ---
Clone Of: 1260406
: 1260408 (view as bug list) Environment:
Last Closed: 2016-11-03 23:05:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1260408    
Bug Blocks: 1313485, 1260406, 1289025, 1295829    

Description Filip Krska 2015-09-06 13:46:18 UTC
RHEL 7 version doesn't support the TLS1.1 and TLS1.2 options as well

+++ This bug was initially created as a clone of Bug #1260406 +++

Description of problem:

pycurl doesn't support the TLS1.1 and TLS1.2 options introduced in curl-7.19.7-43

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. create test script:

# cat /tmp/pycurl_TLS.py
import pycurl
from StringIO import StringIO

buffer = StringIO()

c.setopt(c.URL, "https://www.redhat.com")


body = buffer.getvalue()


# python /tmp/pycurl_TLS.py

Actual results:

Traceback (most recent call last):
  File "/tmp/pycurl_TLS.py", line 9, in <module>
    c.setopt(c.SSLVERSION, c.SSLVERSION_TLSv1_2)
AttributeError: SSLVERSION_TLSv1_2

Expected results:


Additional info:

Easyfix patch attached.

needed to propagate to upstream

Comment 1 Kamil Dudka 2015-09-07 08:27:03 UTC
upstream commit:


Comment 9 errata-xmlrpc 2016-11-03 23:05:10 UTC
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.