./security/py-backports.ssl_match_hostname, Python SSL support module for Python 2

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.5.0.1, Package name: py27-backports.ssl_match_hostname-3.5.0.1, Maintainer: pkgsrc-users

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.


Required to run:
[lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 0567c136707a5f53b95aa793b79cc8d5c61d8e22
RMD160: 3e7112fd62bcef2bb526b7c60e782aa75ee5daac
Filesize: 5.474 KB

Version history: (Expand)


CVS history: (Expand)


   2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.
   2016-07-09 15:04:18 by Thomas Klausner | Files touched by this commit (599)
Log message:
Remove python33: adapt all packages that refer to it.
   2016-06-01 14:36:40 by Thomas Klausner | Files touched by this commit (3)
Log message:
Fix MASTER_SITES.
   2015-12-30 16:02:06 by Leonardo Taccari | Files touched by this commit (3) | Package updated
Log message:
Update security/py-backports.ssl_match_hostname to 3.5.0.1.

pkgsrc changes:
* Switch to distutils.mk in order to avoid installation error in the install
  phase (``error: option --single-version-externally-managed not recognized''
  ref. to setup.py). No functional changes intended.
* Use MASTER_SITE_PYPI instead of hard-coding the entire pypi.python.org URL.

Changes:
* It was updated in python-3.5 to handle IPAddresses in ServerAltName fields
  (something that backports.ssl_match_hostname will do if you also install the
  ipaddress library from pypi).
   2015-12-05 22:26:09 by Adam Ciarcinski | Files touched by this commit (578)
Log message:
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
   2015-11-04 02:18:12 by Alistair G. Crooks | Files touched by this commit (434)
Log message:
Add SHA512 digests for distfiles for security category

Problems found locating distfiles:
	Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz
	Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz
	Package libidea: missing distfile libidea-0.8.2b.tar.gz
	Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2
	Package uvscan: missing distfile vlp4510e.tar.Z

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-05-09 09:37:28 by Thomas Klausner | Files touched by this commit (553)
Log message:
Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
   2014-01-27 20:53:30 by Thomas Klausner | Files touched by this commit (4)
Log message:
Import py27-backports.ssl_match_hostname-3.4.0.2 as
security/py-backports.ssl_match_hostname.

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.