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.9.
details: https://anonhg.NetBSD.org/pkgsrc/rev/16b24e2d2fdd
branches: trunk
changeset: 363994:16b24e2d2fdd
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Jun 19 21:03:19 2017 +0000
description:
Updated py-cryptography to 1.9.
1.9 - 2017-05-29
~~~~~~~~~~~~~~~~
* **BACKWARDS INCOMPATIBLE:** Elliptic Curve signature verification no longer
returns ``True`` on success. This brings it in line with the interface's
documentation, and our intent. The correct way to use
:meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.verify`
has always been to check whether or not
:class:`~cryptography.exceptions.InvalidSignature` was raised.
* **BACKWARDS INCOMPATIBLE:** Dropped support for macOS 10.7 and 10.8.
* **BACKWARDS INCOMPATIBLE:** The minimum supported PyPy version is now 5.3.
* Python 3.3 support has been deprecated, and will be removed in the next
``cryptography`` release.
* Add support for providing ``tag`` during
:class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` finalization via
:meth:`~cryptography.hazmat.primitives.ciphers.AEADDecryptionContext.finalize_with_tag`.
* Fixed an issue preventing ``cryptography`` from compiling against
LibreSSL 2.5.x.
* Added
:meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.key_size`
and
:meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey.key_size`
as convenience methods for determining the bit size of a secret scalar for
the curve.
* Accessing an unrecognized extension marked critical on an X.509 object will
no longer raise an ``UnsupportedExtension`` exception, instead an
:class:`~cryptography.x509.UnrecognizedExtension` object will be returned.
This behavior was based on a poor reading of the RFC, unknown critical
extensions only need to be rejected on certificate verification.
* The CommonCrypto backend has been removed.
* MultiBackend has been removed.
* ``Whirlpool`` and ``RIPEMD160`` have been deprecated.
diffstat:
security/py-cryptography/Makefile | 4 ++--
security/py-cryptography/PLIST | 38 ++++++++++----------------------------
security/py-cryptography/distinfo | 10 +++++-----
3 files changed, 17 insertions(+), 35 deletions(-)
diffs (110 lines):
diff -r 1d806e5b9fff -r 16b24e2d2fdd security/py-cryptography/Makefile
--- a/security/py-cryptography/Makefile Mon Jun 19 20:52:46 2017 +0000
+++ b/security/py-cryptography/Makefile Mon Jun 19 21:03:19 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2017/05/29 13:22:31 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2017/06/19 21:03:19 wiz Exp $
-DISTNAME= cryptography-1.8.2
+DISTNAME= cryptography-1.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cryptography/}
diff -r 1d806e5b9fff -r 16b24e2d2fdd security/py-cryptography/PLIST
--- a/security/py-cryptography/PLIST Mon Jun 19 20:52:46 2017 +0000
+++ b/security/py-cryptography/PLIST Mon Jun 19 21:03:19 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2016/12/19 08:57:51 wiz Exp $
+@comment $NetBSD: PLIST,v 1.18 2017/06/19 21:03:19 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -24,27 +24,9 @@
${PYSITELIB}/cryptography/hazmat/backends/__init__.py
${PYSITELIB}/cryptography/hazmat/backends/__init__.pyc
${PYSITELIB}/cryptography/hazmat/backends/__init__.pyo
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/__init__.py
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/__init__.pyc
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/__init__.pyo
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/backend.py
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/backend.pyc
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/backend.pyo
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/ciphers.py
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/ciphers.pyc
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/ciphers.pyo
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/hashes.py
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/hashes.pyc
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/hashes.pyo
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/hmac.py
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/hmac.pyc
-${PYSITELIB}/cryptography/hazmat/backends/commoncrypto/hmac.pyo
${PYSITELIB}/cryptography/hazmat/backends/interfaces.py
${PYSITELIB}/cryptography/hazmat/backends/interfaces.pyc
${PYSITELIB}/cryptography/hazmat/backends/interfaces.pyo
-${PYSITELIB}/cryptography/hazmat/backends/multibackend.py
-${PYSITELIB}/cryptography/hazmat/backends/multibackend.pyc
-${PYSITELIB}/cryptography/hazmat/backends/multibackend.pyo
${PYSITELIB}/cryptography/hazmat/backends/openssl/__init__.py
${PYSITELIB}/cryptography/hazmat/backends/openssl/__init__.pyc
${PYSITELIB}/cryptography/hazmat/backends/openssl/__init__.pyo
@@ -96,12 +78,6 @@
${PLIST.py3x}${PYSITELIB}/cryptography/hazmat/bindings/_constant_time.abi3.so
${PLIST.py3x}${PYSITELIB}/cryptography/hazmat/bindings/_openssl.abi3.so
${PLIST.py3x}${PYSITELIB}/cryptography/hazmat/bindings/_padding.abi3.so
-${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/__init__.py
-${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/__init__.pyc
-${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/__init__.pyo
-${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/binding.py
-${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/binding.pyc
-${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/binding.pyo
${PYSITELIB}/cryptography/hazmat/bindings/openssl/__init__.py
${PYSITELIB}/cryptography/hazmat/bindings/openssl/__init__.pyc
${PYSITELIB}/cryptography/hazmat/bindings/openssl/__init__.pyo
@@ -159,9 +135,9 @@
${PYSITELIB}/cryptography/hazmat/primitives/hmac.py
${PYSITELIB}/cryptography/hazmat/primitives/hmac.pyc
${PYSITELIB}/cryptography/hazmat/primitives/hmac.pyo
-${PYSITELIB}/cryptography/hazmat/primitives/interfaces/__init__.py
-${PYSITELIB}/cryptography/hazmat/primitives/interfaces/__init__.pyc
-${PYSITELIB}/cryptography/hazmat/primitives/interfaces/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/interfaces.py
+${PYSITELIB}/cryptography/hazmat/primitives/interfaces.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/interfaces.pyo
${PYSITELIB}/cryptography/hazmat/primitives/kdf/__init__.py
${PYSITELIB}/cryptography/hazmat/primitives/kdf/__init__.pyc
${PYSITELIB}/cryptography/hazmat/primitives/kdf/__init__.pyo
@@ -186,6 +162,9 @@
${PYSITELIB}/cryptography/hazmat/primitives/keywrap.py
${PYSITELIB}/cryptography/hazmat/primitives/keywrap.pyc
${PYSITELIB}/cryptography/hazmat/primitives/keywrap.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/mac.py
+${PYSITELIB}/cryptography/hazmat/primitives/mac.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/mac.pyo
${PYSITELIB}/cryptography/hazmat/primitives/padding.py
${PYSITELIB}/cryptography/hazmat/primitives/padding.pyc
${PYSITELIB}/cryptography/hazmat/primitives/padding.pyo
@@ -213,6 +192,9 @@
${PYSITELIB}/cryptography/x509/base.py
${PYSITELIB}/cryptography/x509/base.pyc
${PYSITELIB}/cryptography/x509/base.pyo
+${PYSITELIB}/cryptography/x509/certificate_transparency.py
+${PYSITELIB}/cryptography/x509/certificate_transparency.pyc
+${PYSITELIB}/cryptography/x509/certificate_transparency.pyo
${PYSITELIB}/cryptography/x509/extensions.py
${PYSITELIB}/cryptography/x509/extensions.pyc
${PYSITELIB}/cryptography/x509/extensions.pyo
diff -r 1d806e5b9fff -r 16b24e2d2fdd security/py-cryptography/distinfo
--- a/security/py-cryptography/distinfo Mon Jun 19 20:52:46 2017 +0000
+++ b/security/py-cryptography/distinfo Mon Jun 19 21:03:19 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.41 2017/05/29 12:07:01 wiz Exp $
+$NetBSD: distinfo,v 1.42 2017/06/19 21:03:19 wiz Exp $
-SHA1 (cryptography-1.8.2.tar.gz) = 130c444c41bc4de6bae604d9e43d384ab87cf696
-RMD160 (cryptography-1.8.2.tar.gz) = 78c0adc7c07f4c9932fbafef4fab7726741ee1af
-SHA512 (cryptography-1.8.2.tar.gz) = d9b60979411fa1dca62e947fb1f8627f339d6321eecdda10e4f3617fa0d8c512e6357dbabf599ba538031ad77a82b942da1e1a6bc226a99c06198ecf25fb8fd5
-Size (cryptography-1.8.2.tar.gz) = 423774 bytes
+SHA1 (cryptography-1.9.tar.gz) = a997853b98d454e4b9bc404390ce576fb5c2aeed
+RMD160 (cryptography-1.9.tar.gz) = c38ba5a2ec9afdeb32a7cab59a9519a732904d2d
+SHA512 (cryptography-1.9.tar.gz) = 815e9c09366935f8603a3e6e74c28ce79175596d00dbcd19d3792505237bd1cf953a4f401c2b97e4beaa7f2bbdcf9d7f95c4753d001a07fa816830af97cdd24e
+Size (cryptography-1.9.tar.gz) = 409664 bytes
Home |
Main Index |
Thread Index |
Old Index