./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.7.0.1, Package name: py27-backports.ssl_match_hostname-3.7.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] [devel/py-backports]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: b832201f353ad35215fd5132857ac9bbb55b77c1
RMD160: 14e41e297c9560077ea2b5fcfc632345024aa7ea
Filesize: 5.588 KB

Version history: (Expand)


CVS history: (Expand)


   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
   2019-11-28 14:47:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-backports.ssl_match_hostname: updated to 3.7.0.1

3.7.0.1:
Match Python 3.7
   2019-11-04 22:13:04 by Roland Illig | Files touched by this commit (118)
Log message:
security: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   2019-09-02 15:20:22 by Adam Ciarcinski | Files touched by this commit (415)
Log message:
Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for \ 
future Python 3.8
   2019-04-26 15:14:25 by Maya Rashish | Files touched by this commit (473)
Log message:
Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.
   2018-07-03 07:03:44 by Adam Ciarcinski | Files touched by this commit (495)
Log message:
extend PYTHON_VERSIONS_ for Python 3.7
   2017-11-23 16:05:03 by Andreas Gustafsson | Files touched by this commit (1)
Log message:
Fix files in .destdir but not in PLIST, modelled after
devel/py-backports.functools_lru_cache.
   2017-11-22 12:00:24 by Mark Davies | Files touched by this commit (2)
Log message:
py-backports.ssl_match_hostname: depend on py-backports