Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python-backports.ssl_match_hostname | Distribution: OpenMandriva Lx |
Version: 3.7.0.1 | Vendor: OpenMandriva |
Release: 2 | Build date: Sat Apr 9 17:19:32 2022 |
Group: Unspecified | Build host: c64-6.openmandriva.org |
Size: 11545 | Source RPM: python-backports.ssl_match_hostname-3.7.0.1-2.src.rpm |
Packager: angrypenguin <angrypenguinpoland@gmail.com> | |
Url: https://pypi.org/project/backports.ssl_match_hostname/ | |
Summary: The ssl.match_hostname() function from Python 3.7 |
The ssl.match_hostname() function from Python 3.7 ================================================= 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::
PSF
/usr/lib/python3.11/site-packages/backports.ssl_match_hostname-3.7.0.1-py3.11.egg-info /usr/lib/python3.11/site-packages/backports/__init__.py /usr/lib/python3.11/site-packages/backports/ssl_match_hostname/__init__.py
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Jan 31 23:03:28 2025