pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-cryptography Updated py-cryptography to 1.6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de0a8a14c9a3
branches:  trunk
changeset: 355317:de0a8a14c9a3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 28 13:15:51 2016 +0000

description:
Updated py-cryptography to 1.6.

1.6 - 2016-11-22
~~~~~~~~~~~~~~~~

* Deprecated support for OpenSSL 1.0.0. Support will be removed in
  ``cryptography`` 1.7.
* Replaced the Python-based OpenSSL locking callbacks with a C version to fix
  a potential deadlock that could occur if a garbage collection cycle occurred
  while inside the lock.
* Added support for :class:`~cryptography.hazmat.primitives.hashes.BLAKE2b` and
  :class:`~cryptography.hazmat.primitives.hashes.BLAKE2s` when using OpenSSL
  1.1.0.
* Added
  :attr:`~cryptography.x509.Certificate.signature_algorithm_oid` support to
  :class:`~cryptography.x509.Certificate`.
* Added
  :attr:`~cryptography.x509.CertificateSigningRequest.signature_algorithm_oid`
  support to :class:`~cryptography.x509.CertificateSigningRequest`.
* Added
  :attr:`~cryptography.x509.CertificateRevocationList.signature_algorithm_oid`
  support to :class:`~cryptography.x509.CertificateRevocationList`.
* Added support for :class:`~cryptography.hazmat.primitives.kdf.scrypt.Scrypt`
  when using OpenSSL 1.1.0.
* Added a workaround to improve compatibility with Python application bundling
  tools like ``PyInstaller`` and ``cx_freeze``.
* Added support for generating a
  :meth:`~cryptography.x509.random_serial_number`.
* Added support for encoding ``IPv4Network`` and ``IPv6Network`` in X.509
  certificates for use with :class:`~cryptography.x509.NameConstraints`.
* Added :meth:`~cryptography.x509.Name.public_bytes` to
  :class:`~cryptography.x509.Name`.
* Added :class:`~cryptography.x509.RelativeDistinguishedName`
* :class:`~cryptography.x509.DistributionPoint` now accepts
  :class:`~cryptography.x509.RelativeDistinguishedName` for
  :attr:`~cryptography.x509.DistributionPoint.relative_name`.
  Deprecated use of :class:`~cryptography.x509.Name` as
  :attr:`~cryptography.x509.DistributionPoint.relative_name`.
* :class:`~cryptography.x509.Name` now accepts an iterable of
  :class:`~cryptography.x509.RelativeDistinguishedName`.  RDNs can
  be accessed via the :attr:`~cryptography.x509.Name.rdns`
  attribute.  When constructed with an iterable of
  :class:`~cryptography.x509.NameAttribute`, each attribute becomes
  a single-valued RDN.
* Added
  :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`.
* Added support for signing and verifying RSA, DSA, and ECDSA signatures with
  :class:`~cryptography.hazmat.primitives.asymmetric.utils.Prehashed`
  digests.

diffstat:

 security/py-cryptography/Makefile |   4 ++--
 security/py-cryptography/PLIST    |   5 ++++-
 security/py-cryptography/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 19b6ea414fdb -r de0a8a14c9a3 security/py-cryptography/Makefile
--- a/security/py-cryptography/Makefile Mon Nov 28 13:08:50 2016 +0000
+++ b/security/py-cryptography/Makefile Mon Nov 28 13:15:51 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.47 2016/11/07 10:48:13 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2016/11/28 13:15:51 wiz Exp $
 
-DISTNAME=      cryptography-1.5.3
+DISTNAME=      cryptography-1.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cryptography/}
diff -r 19b6ea414fdb -r de0a8a14c9a3 security/py-cryptography/PLIST
--- a/security/py-cryptography/PLIST    Mon Nov 28 13:08:50 2016 +0000
+++ b/security/py-cryptography/PLIST    Mon Nov 28 13:15:51 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2016/09/12 18:34:31 wiz Exp $
+@comment $NetBSD: PLIST,v 1.16 2016/11/28 13:15:51 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -174,6 +174,9 @@
 ${PYSITELIB}/cryptography/hazmat/primitives/kdf/pbkdf2.py
 ${PYSITELIB}/cryptography/hazmat/primitives/kdf/pbkdf2.pyc
 ${PYSITELIB}/cryptography/hazmat/primitives/kdf/pbkdf2.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/scrypt.py
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/scrypt.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/kdf/scrypt.pyo
 ${PYSITELIB}/cryptography/hazmat/primitives/kdf/x963kdf.py
 ${PYSITELIB}/cryptography/hazmat/primitives/kdf/x963kdf.pyc
 ${PYSITELIB}/cryptography/hazmat/primitives/kdf/x963kdf.pyo
diff -r 19b6ea414fdb -r de0a8a14c9a3 security/py-cryptography/distinfo
--- a/security/py-cryptography/distinfo Mon Nov 28 13:08:50 2016 +0000
+++ b/security/py-cryptography/distinfo Mon Nov 28 13:15:51 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.35 2016/11/07 10:48:13 wiz Exp $
+$NetBSD: distinfo,v 1.36 2016/11/28 13:15:51 wiz Exp $
 
-SHA1 (cryptography-1.5.3.tar.gz) = 8e9c28362e049abf34a41932c04a9cb280bbad3c
-RMD160 (cryptography-1.5.3.tar.gz) = 74f671739dbdd81d88a443abc7041e9c28fdc526
-SHA512 (cryptography-1.5.3.tar.gz) = 0985d22a77821c2b3e78887e17d4046873bf19ff167561e228cfea4cabc02e6ac894b2c72638b7c3414ae5aeb51d1b8bbd67e255ef3dc2043cfcc8ee67bb412f
-Size (cryptography-1.5.3.tar.gz) = 400889 bytes
+SHA1 (cryptography-1.6.tar.gz) = da131a13f595daa9fa739baffb3fb05760a58fe9
+RMD160 (cryptography-1.6.tar.gz) = 835a2fc36598ef2d2a2aa6c32824e5e81dba7699
+SHA512 (cryptography-1.6.tar.gz) = d88ee2e81414964be461c8401c01f94d03ac7870242d3e90b401ec4b46eab3023a7950425792d50992c15459c6e5789dd859b15adf6e081d672682038d1447ea
+Size (cryptography-1.6.tar.gz) = 410073 bytes



Home | Main Index | Thread Index | Old Index