Bug 1260408 - No TLS1.1 or TLS1.2 support in pycurl
Summary: No TLS1.1 or TLS1.2 support in pycurl
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pycurl
Version: 23
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1260407
TreeView+ depends on / blocked
 
Reported: 2015-09-06 13:52 UTC by Filip Krska
Modified: 2015-10-03 21:53 UTC (History)
2 users (show)

Fixed In Version: 7.19.5.1-3.fc23 python-pycurl-7.19.5.1-2.fc22 python-pycurl-7.19.3.1-6.fc21
Doc Type: Enhancement
Doc Text:
Clone Of: 1260407
Environment:
Last Closed: 2015-09-21 10:50:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Filip Krska 2015-09-06 13:52:18 UTC
python-pycurl-7.19.5.1-2 doesn't support the TLS1.1 and TLS1.2 options as well

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

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):

python-pycurl-7.19.0-8.el6

How reproducible:

always

Steps to Reproduce:
1. create test script:

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

buffer = StringIO()

c=pycurl.Curl()
c.setopt(c.URL, "https://www.redhat.com")
c.setopt(c.SSLVERSION, c.SSLVERSION_TLSv1_2)


c.perform()
c.close()

body = buffer.getvalue()
print(body)

2.

# 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:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
...

Additional info:

Easyfix patch attached.

needed to propagate to upstream

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

https://github.com/pycurl/pycurl/commit/83ccaa22

Comment 2 Kamil Dudka 2015-09-07 10:53:47 UTC
fixed in python-pycurl-7.19.5.1-3.fc24

Comment 3 Fedora Update System 2015-09-07 11:19:40 UTC
python-pycurl-7.19.5.1-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15260

Comment 4 Fedora Update System 2015-09-07 11:19:41 UTC
python-pycurl-7.19.3.1-6.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15261

Comment 5 Fedora Update System 2015-09-07 11:19:45 UTC
python-pycurl-7.19.5.1-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15262

Comment 6 Fedora Update System 2015-09-07 18:19:26 UTC
python-pycurl-7.19.5.1-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update python-pycurl'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15260

Comment 7 Fedora Update System 2015-09-07 18:20:26 UTC
python-pycurl-7.19.5.1-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update python-pycurl'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15262

Comment 8 Fedora Update System 2015-09-07 23:50:35 UTC
python-pycurl-7.19.3.1-6.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update python-pycurl'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15261

Comment 9 Fedora Update System 2015-09-21 10:50:28 UTC
python-pycurl-7.19.5.1-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-10-01 18:51:34 UTC
python-pycurl-7.19.5.1-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-10-03 21:53:24 UTC
python-pycurl-7.19.3.1-6.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.