Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help

The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet...

The System and Arch are optional added filters, for example System could be "redhat", "redhat-7.2", "mandrake" or "gnome", Arch could be "i386" or "src", etc. depending on your system.

System Arch

RPM resource python2-backports.ssl_match_hostname

The Secure Sockets layer is only actually *secure* if you check the hostname in the certificate returned by the server to which you are connecting, and verify that it matches to hostname that you are trying to reach. But the matching logic, defined in `RFC2818`_, can be a bit tricky to implement on your own. So the ``ssl`` package in the Standard Library of Python 3.2 and greater now includes a ``match_hostname()`` function for performing this check instead of requiring every application to implement the check separately. This backport brings ``match_hostname()`` to users of earlier versions of Python. Simply make this distribution a dependency of your package, and then use it like this:: from backports.ssl_match_hostname import match_hostname, CertificateError ... sslsock = ssl.wrap_socket(sock, ssl_version=ssl.PROTOCOL_SSLv3, cert_reqs=ssl.CERT_REQUIRED, ca_certs=...) try: match_hostname(sslsock.getpeercert(), hostname) except CertificateError, ce: ...

Found 2 sites for python2-backports.ssl_match_hostname

Found 6 RPM for python2-backports.ssl_match_hostname

PackageSummaryDistributionDownload
python2-backports.ssl_match_hostname-3.7.0.1-2.noarch.htmlThe ssl.match_hostname() function from Python 3.7 for Python 2OpenMandriva Cooker for x86_64python2-backports.ssl_match_hostname-3.7.0.1-2.noarch.rpm
python2-backports.ssl_match_hostname-3.7.0.1-2.noarch.htmlThe ssl.match_hostname() function from Python 3.7 for Python 2OpenMandriva Cooker for aarch64python2-backports.ssl_match_hostname-3.7.0.1-2.noarch.rpm
python2-backports.ssl_match_hostname-3.7.0.1-2.noarch.htmlThe ssl.match_hostname() function from Python 3.7 for Python 2OpenMandriva 5.0 for x86_64python2-backports.ssl_match_hostname-3.7.0.1-2.noarch.rpm
python2-backports.ssl_match_hostname-3.7.0.1-2.noarch.htmlThe ssl.match_hostname() function from Python 3.7 for Python 2OpenMandriva 5.0 for aarch64python2-backports.ssl_match_hostname-3.7.0.1-2.noarch.rpm
python2-backports.ssl_match_hostname-3.5.0.1-2.26.noarch.htmlThe ssl.match_hostname() function from Python 3.5OpenSuSE Leap 15.3 for noarchpython2-backports.ssl_match_hostname-3.5.0.1-2.26.noarch.rpm
python2-backports.ssl_match_hostname-3.5.0.1-lp152.3.2.noarch.htmlThe ssl.match_hostname() function from Python 3.5OpenSuSE Leap 15.2 for noarchpython2-backports.ssl_match_hostname-3.5.0.1-lp152.3.2.noarch.rpm

Generated by rpm2html 1.6

Fabrice Bellet