< Home - < Back

python-backports-ssl_match_hostname


Information about the package, python-backports-ssl_match_hostname, which is shipped with common Linux distributions. The python-backports-ssl_match_hostname package is designed for, The ssl.match_hostname() function from Python 3.


Package Name:

python-backports-ssl_match_hostname

Summary:

The ssl.match_hostname() function from Python 3

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.

Architecture:

noarch

Version:

3.4.0.2

Release:

5.el6

Size:

12 k

Repository:

base

From Repository:

Licence:

Python



Handy Yum Commands for python-backports-ssl_match_hostname


Control the python-backports-ssl_match_hostname package with the following handy commands outlined below.


Command

Description of Command

yum install python-backports-ssl_match_hostname

This command will install python-backports-ssl_match_hostname on the server.

yum remove python-backports-ssl_match_hostname

This command will un-install python-backports-ssl_match_hostname on the server. When you run this command, you will be asked if you are sure that you want to remove python-backports-ssl_match_hostname, so you have to manually confirm that you want to do this.

yum -y remove python-backports-ssl_match_hostname

This command will un-install python-backports-ssl_match_hostname on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-backports-ssl_match_hostname when using the -y flag.

yum update python-backports-ssl_match_hostname

This command will update python-backports-ssl_match_hostname to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-backports-ssl_match_hostname, so you have to manually confirm that you want to do this.

yum -y update python-backports-ssl_match_hostname

This command will update python-backports-ssl_match_hostname to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-backports-ssl_match_hostname when using the -y flag.

yum info python-backports-ssl_match_hostname

This command will show you core information about the python-backports-ssl_match_hostname package.

yum deplist python-backports-ssl_match_hostname

This command will show you the dependencies for python-backports-ssl_match_hostname. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-backports-ssl_match_hostname

This command will check if there is an update waiting on python-backports-ssl_match_hostname. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.