[Python-modules-team] Bug#515200: python-pycurl: Please build an alternative version of pycurl against OpenSSL
Dima Barsky
dima at debian.org
Sat Feb 14 18:08:54 UTC 2009
Package: python-pycurl
Version: 7.18.2-1
Severity: important
The current version of python-pycurl is built against libcurl3-gnutls, which
does not work with a number of web sites. Just one example:
import pycurl
c = pycurl.Curl()
c.setopt(c.URL, "https://www1.banking.first-direct.com/" )
c.perform()
this script fails with the error message:
pycurl.error: (35, 'gnutls_handshake() failed: A TLS packet with unexpected
length was received.')
It looks like a bug in the gnutls library, the same script works fine if you
rebuild python-pycurl against libcurl3 (which is using openssl).
I suggest adding another package named python-pycurl-openssl to give users a
choice.
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-pycurl depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcomerr2 1.41.3-1 common error description library
ii libcurl3-gnutls 7.18.2-8 Multi-protocol file transfer libra
ii libgnutls26 2.4.2-6 the GNU TLS library - runtime libr
ii libidn11 1.10-3 GNU libidn library, implementation
ii libkrb53 1.6.dfsg.4~beta1-6 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.11-1 OpenLDAP libraries
ii python 2.5.2-3 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
python-pycurl recommends no packages.
Versions of packages python-pycurl suggests:
pn libcurl4-gnutls-dev <none> (no description available)
pn python-pycurl-dbg <none> (no description available)
-- no debconf information
More information about the Python-modules-team
mailing list