Tue Jul 18 13:58:25 2017 UTC ()
2.0:

BACKWARDS INCOMPATIBLE: Support for Python 3.3 has been dropped.
We now ship manylinux1 wheels linked against OpenSSL 1.1.0f. These wheels will be automatically used with most Linux distributions if you are running the latest pip.
Deprecated the use of signer on :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`, :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey`, and :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey` in favor of sign.
Deprecated the use of verifier on :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey`, :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey`, and :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey` in favor of verify.
Added support for parsing :class:`~cryptography.x509.certificate_transparency.SignedCertificateTimestamp` objects from X.509 certificate extensions.
Added support for :class:`~cryptography.hazmat.primitives.ciphers.aead.ChaCha20Poly1305`.
Added support for :class:`~cryptography.hazmat.primitives.ciphers.aead.AESCCM`.
Added :class:`~cryptography.hazmat.primitives.ciphers.aead.AESGCM`, a "one shot" API for AES GCM encryption.
Added support for :doc:`/hazmat/primitives/asymmetric/x25519`.
Added support for serializing and deserializing Diffie-Hellman parameters with :func:`~cryptography.hazmat.primitives.serialization.load_pem_parameters`, :func:`~cryptography.hazmat.primitives.serialization.load_der_parameters`, and :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHParameters.parameter_bytes` .
The extensions attribute on :class:`~cryptography.x509.Certificate`, :class:`~cryptography.x509.CertificateSigningRequest`, :class:`~cryptography.x509.CertificateRevocationList`, and :class:`~cryptography.x509.RevokedCertificate` now caches the computed Extensions object. There should be no performance change, just a performance improvement for programs accessing the extensions attribute multiple times.


(adam)
diff -r1.56 -r1.57 pkgsrc/security/py-cryptography/Makefile
diff -r1.18 -r1.19 pkgsrc/security/py-cryptography/PLIST
diff -r1.42 -r1.43 pkgsrc/security/py-cryptography/distinfo

cvs diff -r1.56 -r1.57 pkgsrc/security/py-cryptography/Makefile (expand / switch to context diff)
--- pkgsrc/security/py-cryptography/Makefile 2017/06/19 21:03:19 1.56
+++ pkgsrc/security/py-cryptography/Makefile 2017/07/18 13:58:25 1.57
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2017/06/19 21:03:19 wiz Exp $
+# $NetBSD: Makefile,v 1.57 2017/07/18 13:58:25 adam Exp $
 
-DISTNAME=	cryptography-1.9
+DISTNAME=	cryptography-2.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	security python
 MASTER_SITES=	${MASTER_SITE_PYPI:=c/cryptography/}

cvs diff -r1.18 -r1.19 pkgsrc/security/py-cryptography/PLIST (expand / switch to context diff)
--- pkgsrc/security/py-cryptography/PLIST 2017/06/19 21:03:19 1.18
+++ pkgsrc/security/py-cryptography/PLIST 2017/07/18 13:58:25 1.19
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.18 2017/06/19 21:03:19 wiz Exp $
+@comment $NetBSD: PLIST,v 1.19 2017/07/18 13:58:25 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@@ -30,6 +29,9 @@
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/__init__.py
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/__init__.pyc
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/backends/openssl/aead.py
+${PYSITELIB}/cryptography/hazmat/backends/openssl/aead.pyc
+${PYSITELIB}/cryptography/hazmat/backends/openssl/aead.pyo
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/backend.py
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/backend.pyc
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/backend.pyo
@@ -66,6 +68,9 @@
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/utils.py
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/utils.pyc
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/utils.pyo
+${PYSITELIB}/cryptography/hazmat/backends/openssl/x25519.py
+${PYSITELIB}/cryptography/hazmat/backends/openssl/x25519.pyc
+${PYSITELIB}/cryptography/hazmat/backends/openssl/x25519.pyo
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/x509.py
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/x509.pyc
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/x509.pyo
@@ -111,9 +116,15 @@
 ${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/utils.py
 ${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/utils.pyc
 ${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/utils.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/x25519.py
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/x25519.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/x25519.pyo
 ${PYSITELIB}/cryptography/hazmat/primitives/ciphers/__init__.py
 ${PYSITELIB}/cryptography/hazmat/primitives/ciphers/__init__.pyc
 ${PYSITELIB}/cryptography/hazmat/primitives/ciphers/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/aead.py
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/aead.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/ciphers/aead.pyo
 ${PYSITELIB}/cryptography/hazmat/primitives/ciphers/algorithms.py
 ${PYSITELIB}/cryptography/hazmat/primitives/ciphers/algorithms.pyc
 ${PYSITELIB}/cryptography/hazmat/primitives/ciphers/algorithms.pyo

cvs diff -r1.42 -r1.43 pkgsrc/security/py-cryptography/distinfo (expand / switch to context diff)
--- pkgsrc/security/py-cryptography/distinfo 2017/06/19 21:03:19 1.42
+++ pkgsrc/security/py-cryptography/distinfo 2017/07/18 13:58:25 1.43
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.42 2017/06/19 21:03:19 wiz Exp $
+$NetBSD: distinfo,v 1.43 2017/07/18 13:58:25 adam Exp $
 
-SHA1 (cryptography-1.9.tar.gz) = a997853b98d454e4b9bc404390ce576fb5c2aeed
+SHA1 (cryptography-2.0.tar.gz) = 898bd0aa266b15fcce2f7e837afe910aaaaac489
-RMD160 (cryptography-1.9.tar.gz) = c38ba5a2ec9afdeb32a7cab59a9519a732904d2d
+RMD160 (cryptography-2.0.tar.gz) = 8d1440e85e611c31e175e0546acd7d7eb4b16231
-SHA512 (cryptography-1.9.tar.gz) = 815e9c09366935f8603a3e6e74c28ce79175596d00dbcd19d3792505237bd1cf953a4f401c2b97e4beaa7f2bbdcf9d7f95c4753d001a07fa816830af97cdd24e
+SHA512 (cryptography-2.0.tar.gz) = a5a0a687e6d31adbf25510da085fa34790ca76668c2b12dbadc0eae0ef8c035bc6269982b7704ea770bcc569c1e55fb06bc8a81975f3456fb2d1a70c3589a303
-Size (cryptography-1.9.tar.gz) = 409664 bytes
+Size (cryptography-2.0.tar.gz) = 432215 bytes