python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch.rpm

STEP 1: Have you installed this repository?

If not, run this installation script command:

curl -s https://packagecloud.io/install/repositories/trifacta/dependencies/script.rpm.sh | sudo bash
copy
curl -s https://packagecloud.io/install/repositories/trifacta/dependencies/script.rpm.sh | sudo bash

STEP 2: Install the package
sudo yum install python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch

The ssl.match_hostname() function from Python 3

Full description:
  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 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.
The actual code inside comes verbatim from Python 3.2.

Checksums

MD5 8e8007a8f38d0ef8923b8595abcfb404
SHA1 cf9e7e88a35e318ff17cb5d42dce2363c3796870
SHA256 a7950c44bc4e00a37a83c9bd69aa26c74591fe80e359b7b6fbd684d8e33b8f57
SHA512 f2eb28d31ef9f5175dc18d8749dd2f27218c6d64eed9b0c72f1e3af5d7c5cbd44756177e6961681140196a5204189e38ec085a18b931f95c12cc012616f0ef92

Requires

  • python(abi) = 2.7-
  • python-backports

Provides

  • python-backports-ssl_match_hostname = 3.4.0.2-4.el7

Files

  • /usr/share/doc/python-backports-ssl_match_hostname-3.4.0.2/README.txt
  • /usr/share/doc/python-backports-ssl_match_hostname-3.4.0.2/LICENSE.txt
  • /usr/lib/python2.7/site-packages/backports/ssl_match_hostname/__init__.pyo
  • /usr/lib/python2.7/site-packages/backports/ssl_match_hostname/__init__.pyc
  • /usr/lib/python2.7/site-packages/backports/ssl_match_hostname/__init__.py
  • /usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.4.0.2-py2.7.egg-info/top_level.txt
  • /usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.4.0.2-py2.7.egg-info/SOURCES.txt
  • /usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.4.0.2-py2.7.egg-info/PKG-INFO
  • /usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.4.0.2-py2.7.egg-info/dependency_links.txt

Uploaded

almost 8 years ago

Package Size

11.9 KB

Installed Size

13.9 KB

Downloads

12

wget

wget --content-disposition "https://packagecloud.io/trifacta/dependencies/packages/el/7/python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch.rpm/download.rpm?distro_version_id=140"

Homepage

https://bitbucket.org/brandon/backports.ssl_match_hostname

License

Python