软件包:python-backports.ssl-match-hostname(3.5.0.1-1)
python-backports.ssl-match-hostname 的相关链接
Debian 的资源:
下载源码包 backports.ssl-match-hostname:
- [backports.ssl-match-hostname_3.5.0.1-1.dsc]
- [backports.ssl-match-hostname_3.5.0.1.orig.tar.gz]
- [backports.ssl-match-hostname_3.5.0.1-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [bitbucket.org]
相似软件包:
Backport of the Python 3.5 SSL hostname checking function
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 package contains a backport of the ssl.match_hostname function for Python 2.4 and above.