security/py-backports.ssl_match_hostname - The NetBSD Packages Collection

Python SSL support module for Python 2

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 the backport of this functionality to Python 2.

Build dependencies

devel/py-setuptools44 pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/py-backports lang/python27 lang/python27

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0aarch64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0aarch64ebpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0aarch64ebpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0alphapy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0alphapy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0earmv4py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0earmv4py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0earmv6hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0earmv6hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0earmv6hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0earmv7hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0earmv7hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0earmv7hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0i386py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0i386py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0powerpcpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0powerpcpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0powerpcpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0sh3elpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0sparc64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0sparc64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0sparcpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0sparcpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0x86_64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 10.0x86_64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0aarch64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0aarch64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0alphapy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0earmv6hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0earmv6hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0earmv6hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0earmv7hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0earmv7hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0earmv7hfpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0i386py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0i386py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0m68kpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0powerpcpy27-backports.ssl_match_hostname-3.7.0.1.tgz
NetBSD 9.0powerpcpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0powerpcpy27-backports.ssl_match_hostname-3.7.0.1.tgz
NetBSD 9.0powerpcpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0powerpcpy27-backports.ssl_match_hostname-3.7.0.1.tgz
NetBSD 9.0powerpcpy27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0sparc64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0sparc64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0x86_64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.0x86_64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz
NetBSD 9.3x86_64py27-backports.ssl_match_hostname-3.7.0.1nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.