pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security 2.0:
details: https://anonhg.NetBSD.org/pkgsrc/rev/52e6f1cae0dc
branches: trunk
changeset: 365479:52e6f1cae0dc
user: adam <adam%pkgsrc.org@localhost>
date: Tue Jul 18 13:52:13 2017 +0000
description:
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.
diffstat:
security/py-cryptography/Makefile | 4 ++--
security/py-cryptography/PLIST | 15 +++++++++++++--
security/py-cryptography/distinfo | 10 +++++-----
security/py-cryptography_vectors/Makefile | 26 +++-----------------------
security/py-cryptography_vectors/PLIST | 25 ++++++++++++++++++++++++-
security/py-cryptography_vectors/distinfo | 10 +++++-----
6 files changed, 52 insertions(+), 38 deletions(-)
diffs (192 lines):
diff -r ab1593e0abc6 -r 52e6f1cae0dc security/py-cryptography/Makefile
--- a/security/py-cryptography/Makefile Tue Jul 18 13:44:36 2017 +0000
+++ b/security/py-cryptography/Makefile Tue Jul 18 13:52:13 2017 +0000
@@ -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/}
diff -r ab1593e0abc6 -r 52e6f1cae0dc security/py-cryptography/PLIST
--- a/security/py-cryptography/PLIST Tue Jul 18 13:44:36 2017 +0000
+++ b/security/py-cryptography/PLIST Tue Jul 18 13:52:13 2017 +0000
@@ -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
diff -r ab1593e0abc6 -r 52e6f1cae0dc security/py-cryptography/distinfo
--- a/security/py-cryptography/distinfo Tue Jul 18 13:44:36 2017 +0000
+++ b/security/py-cryptography/distinfo Tue Jul 18 13:52:13 2017 +0000
@@ -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
-RMD160 (cryptography-1.9.tar.gz) = c38ba5a2ec9afdeb32a7cab59a9519a732904d2d
-SHA512 (cryptography-1.9.tar.gz) = 815e9c09366935f8603a3e6e74c28ce79175596d00dbcd19d3792505237bd1cf953a4f401c2b97e4beaa7f2bbdcf9d7f95c4753d001a07fa816830af97cdd24e
-Size (cryptography-1.9.tar.gz) = 409664 bytes
+SHA1 (cryptography-2.0.tar.gz) = 898bd0aa266b15fcce2f7e837afe910aaaaac489
+RMD160 (cryptography-2.0.tar.gz) = 8d1440e85e611c31e175e0546acd7d7eb4b16231
+SHA512 (cryptography-2.0.tar.gz) = a5a0a687e6d31adbf25510da085fa34790ca76668c2b12dbadc0eae0ef8c035bc6269982b7704ea770bcc569c1e55fb06bc8a81975f3456fb2d1a70c3589a303
+Size (cryptography-2.0.tar.gz) = 432215 bytes
diff -r ab1593e0abc6 -r 52e6f1cae0dc security/py-cryptography_vectors/Makefile
--- a/security/py-cryptography_vectors/Makefile Tue Jul 18 13:44:36 2017 +0000
+++ b/security/py-cryptography_vectors/Makefile Tue Jul 18 13:52:13 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2017/05/31 08:50:45 adam Exp $
+# $NetBSD: Makefile,v 1.5 2017/07/18 13:52:13 adam Exp $
-DISTNAME= cryptography_vectors-1.9
+DISTNAME= cryptography_vectors-2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cryptography_vectors/}
@@ -10,27 +10,7 @@
COMMENT= Cryptographic test vectors
LICENSE= apache-2.0 OR modified-bsd
-#DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
-#DEPENDS+= ${PYPKGPREFIX}-cffi>=1.8.2:../../devel/py-cffi
-#DEPENDS+= ${PYPKGPREFIX}-cparser>=2.10:../../devel/py-cparser
-#DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
-#DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-## actually, TEST_DEPENDS
-#BUILD_DEPENDS+= ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601
-#BUILD_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
-#BUILD_DEPENDS+= ${PYPKGPREFIX}-requests>=0.8:../../devel/py-requests
-#BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=0.8:../../devel/py-test
-#
-#.include "../../lang/python/pyversion.mk"
-#
-#.if ${PYPKGPREFIX} == "py27"
-#DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
-#DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
-#.endif
-
-#do-test:
-# cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
-#.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ab1593e0abc6 -r 52e6f1cae0dc security/py-cryptography_vectors/PLIST
--- a/security/py-cryptography_vectors/PLIST Tue Jul 18 13:44:36 2017 +0000
+++ b/security/py-cryptography_vectors/PLIST Tue Jul 18 13:52:13 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/05/31 08:50:45 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/07/18 13:52:13 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -60,6 +60,7 @@
${PYSITELIB}/cryptography_vectors/asymmetric/DH/dhpub.pem
${PYSITELIB}/cryptography_vectors/asymmetric/DH/dhpub_rfc5114_2.der
${PYSITELIB}/cryptography_vectors/asymmetric/DH/dhpub_rfc5114_2.pem
+${PYSITELIB}/cryptography_vectors/asymmetric/DH/rfc3526.txt
${PYSITELIB}/cryptography_vectors/asymmetric/DH/vec.txt
${PYSITELIB}/cryptography_vectors/asymmetric/DSA/FIPS_186-2/KeyPair.rsp
${PYSITELIB}/cryptography_vectors/asymmetric/DSA/FIPS_186-2/PQGGen.rsp
@@ -182,6 +183,7 @@
${PYSITELIB}/cryptography_vectors/asymmetric/Traditional_OpenSSL_Serialization/key2.pem
${PYSITELIB}/cryptography_vectors/asymmetric/Traditional_OpenSSL_Serialization/testrsa-encrypted.pem
${PYSITELIB}/cryptography_vectors/asymmetric/Traditional_OpenSSL_Serialization/testrsa.pem
+${PYSITELIB}/cryptography_vectors/asymmetric/X25519/rfc7748.txt
${PYSITELIB}/cryptography_vectors/asymmetric/public/PKCS1/dsa.pub.pem
${PYSITELIB}/cryptography_vectors/asymmetric/public/PKCS1/rsa.pub.der
${PYSITELIB}/cryptography_vectors/asymmetric/public/PKCS1/rsa.pub.pem
@@ -288,6 +290,25 @@
${PYSITELIB}/cryptography_vectors/ciphers/AES/CBC/CBCVarTxt128.rsp
${PYSITELIB}/cryptography_vectors/ciphers/AES/CBC/CBCVarTxt192.rsp
${PYSITELIB}/cryptography_vectors/ciphers/AES/CBC/CBCVarTxt256.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/DVPT128.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/DVPT128.txt
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/DVPT192.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/DVPT192.txt
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/DVPT256.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/DVPT256.txt
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/Readme.txt
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VADT128.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VADT192.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VADT256.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VNT128.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VNT192.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VNT256.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VPT128.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VPT192.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VPT256.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VTT128.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VTT192.rsp
+${PYSITELIB}/cryptography_vectors/ciphers/AES/CCM/VTT256.rsp
${PYSITELIB}/cryptography_vectors/ciphers/AES/CFB/CFB128GFSbox128.rsp
${PYSITELIB}/cryptography_vectors/ciphers/AES/CFB/CFB128GFSbox192.rsp
${PYSITELIB}/cryptography_vectors/ciphers/AES/CFB/CFB128GFSbox256.rsp
@@ -399,6 +420,8 @@
${PYSITELIB}/cryptography_vectors/ciphers/Camellia/camellia-cbc.txt
${PYSITELIB}/cryptography_vectors/ciphers/Camellia/camellia-cfb.txt
${PYSITELIB}/cryptography_vectors/ciphers/Camellia/camellia-ofb.txt
+${PYSITELIB}/cryptography_vectors/ciphers/ChaCha20Poly1305/boringssl.txt
+${PYSITELIB}/cryptography_vectors/ciphers/ChaCha20Poly1305/openssl.txt
${PYSITELIB}/cryptography_vectors/ciphers/IDEA/idea-cbc.txt
${PYSITELIB}/cryptography_vectors/ciphers/IDEA/idea-cfb.txt
${PYSITELIB}/cryptography_vectors/ciphers/IDEA/idea-ecb.txt
diff -r ab1593e0abc6 -r 52e6f1cae0dc security/py-cryptography_vectors/distinfo
--- a/security/py-cryptography_vectors/distinfo Tue Jul 18 13:44:36 2017 +0000
+++ b/security/py-cryptography_vectors/distinfo Tue Jul 18 13:52:13 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/05/31 08:50:45 adam Exp $
+$NetBSD: distinfo,v 1.5 2017/07/18 13:52:13 adam Exp $
-SHA1 (cryptography_vectors-1.9.tar.gz) = e3786c751d9a1b83af34defcdf29850e01c469c8
-RMD160 (cryptography_vectors-1.9.tar.gz) = 5bb616607eab8e94722d2fa2c3fbe8232d55d43b
-SHA512 (cryptography_vectors-1.9.tar.gz) = 3c37dc39496b66539f54bf377b4653b59abaa81fc9fbd68e2d337acbfe9c7fd80801b37ddddc2f7698356b22fb9bcd9f8a41ff95ee405b208c267c0fcba56ead
-Size (cryptography_vectors-1.9.tar.gz) = 26653563 bytes
+SHA1 (cryptography_vectors-2.0.tar.gz) = 5928ba8955c595328057bff2a728c3c0961ad57b
+RMD160 (cryptography_vectors-2.0.tar.gz) = 2f89a5d346ed3c7784cdbdc030cf84e34a16fde1
+SHA512 (cryptography_vectors-2.0.tar.gz) = 827c5b56322fc2000c51d9a0542e147e2e011cf7a92e9e27660a32da3582ec71bcd5f166c3e920c01baa348706c8c3edbcab387c0427ace27a7d5f2746f3a4c5
+Size (cryptography_vectors-2.0.tar.gz) = 27243593 bytes
Home |
Main Index |
Thread Index |
Old Index