pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security py-cryptography[_vectors]: updated to 2.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c50149683ee7
branches:  trunk
changeset: 328558:c50149683ee7
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 23 12:21:04 2019 +0000

description:
py-cryptography[_vectors]: updated to 2.5

2.5:
* **BACKWARDS INCOMPATIBLE:** :term:U-label strings were deprecated in
  version 2.1, but this version removes the default idna dependency as
  well. If you still need this deprecated path please install cryptography
  with the idna extra: pip install cryptography[idna].
* **BACKWARDS INCOMPATIBLE:** The minimum supported PyPy version is now 5.4.
* Numerous classes and functions have been updated to allow :term:bytes-like
  types for keying material and passwords, including symmetric algorithms, AEAD
  ciphers, KDFs, loading asymmetric keys, and one time password classes.
* Updated Windows, macOS, and manylinux1 wheels to be compiled with
  OpenSSL 1.1.1a.
* Added support for :class:~cryptography.hazmat.primitives.hashes.SHA512_224
  and :class:~cryptography.hazmat.primitives.hashes.SHA512_256 when using
  OpenSSL 1.1.1.
* Added support for :class:~cryptography.hazmat.primitives.hashes.SHA3_224,
  :class:~cryptography.hazmat.primitives.hashes.SHA3_256,
  :class:~cryptography.hazmat.primitives.hashes.SHA3_384, and
  :class:~cryptography.hazmat.primitives.hashes.SHA3_512 when using OpenSSL
  1.1.1.
* Added support for :doc:/hazmat/primitives/asymmetric/x448 when using
  OpenSSL 1.1.1.
* Added support for :class:~cryptography.hazmat.primitives.hashes.SHAKE128
  and :class:~cryptography.hazmat.primitives.hashes.SHAKE256 when using
  OpenSSL 1.1.1.
* Added initial support for parsing PKCS12 files with
  :func:~cryptography.hazmat.primitives.serialization.pkcs12.load_key_and_certificates.
* Added support for :class:~cryptography.x509.IssuingDistributionPoint.
* Added rfc4514_string() method to
  :meth:x509.Name <cryptography.x509.Name.rfc4514_string>,
  :meth:x509.RelativeDistinguishedName
  <cryptography.x509.RelativeDistinguishedName.rfc4514_string>, and
  :meth:x509.NameAttribute <cryptography.x509.NameAttribute.rfc4514_string>
  to format the name or component an :rfc:4514 Distinguished Name string.
* Added
  :meth:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.from_encoded_point,
  which immediately checks if the point is on the curve and supports compressed
  points. Deprecated the previous method
  :meth:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers.from_encoded_point.
* Added :attr:~cryptography.x509.ocsp.OCSPResponse.signature_hash_algorithm
  to OCSPResponse.
* Updated :doc:/hazmat/primitives/asymmetric/x25519 support to allow
  additional serialization methods. Calling
  :meth:~cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey.public_bytes
  with no arguments has been deprecated.
* Added support for encoding compressed and uncompressed points via
  :meth:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.public_bytes. Deprecated the previous method
  :meth:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers.encode_point.

diffstat:

 security/py-cryptography/Makefile         |   4 ++--
 security/py-cryptography/PLIST            |  23 +++++++++++++++++++----
 security/py-cryptography/distinfo         |  10 +++++-----
 security/py-cryptography_vectors/Makefile |   4 ++--
 security/py-cryptography_vectors/PLIST    |  18 +++++++++++++++++-
 security/py-cryptography_vectors/distinfo |  10 +++++-----
 6 files changed, 50 insertions(+), 19 deletions(-)

diffs (158 lines):

diff -r 1ff5b41983d2 -r c50149683ee7 security/py-cryptography/Makefile
--- a/security/py-cryptography/Makefile Wed Jan 23 12:04:18 2019 +0000
+++ b/security/py-cryptography/Makefile Wed Jan 23 12:21:04 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.70 2018/11/21 10:38:38 adam Exp $
+# $NetBSD: Makefile,v 1.71 2019/01/23 12:21:04 adam Exp $
 
-DISTNAME=      cryptography-2.4.2
+DISTNAME=      cryptography-2.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cryptography/}
diff -r 1ff5b41983d2 -r c50149683ee7 security/py-cryptography/PLIST
--- a/security/py-cryptography/PLIST    Wed Jan 23 12:04:18 2019 +0000
+++ b/security/py-cryptography/PLIST    Wed Jan 23 12:21:04 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2018/11/13 11:23:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.22 2019/01/23 12:21:04 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -77,6 +77,9 @@
 ${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/x448.py
+${PYSITELIB}/cryptography/hazmat/backends/openssl/x448.pyc
+${PYSITELIB}/cryptography/hazmat/backends/openssl/x448.pyo
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/x509.py
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/x509.pyc
 ${PYSITELIB}/cryptography/hazmat/backends/openssl/x509.pyo
@@ -125,6 +128,9 @@
 ${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/asymmetric/x448.py
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/x448.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/x448.pyo
 ${PYSITELIB}/cryptography/hazmat/primitives/ciphers/__init__.py
 ${PYSITELIB}/cryptography/hazmat/primitives/ciphers/__init__.pyc
 ${PYSITELIB}/cryptography/hazmat/primitives/ciphers/__init__.pyo
@@ -182,9 +188,18 @@
 ${PYSITELIB}/cryptography/hazmat/primitives/padding.py
 ${PYSITELIB}/cryptography/hazmat/primitives/padding.pyc
 ${PYSITELIB}/cryptography/hazmat/primitives/padding.pyo
-${PYSITELIB}/cryptography/hazmat/primitives/serialization.py
-${PYSITELIB}/cryptography/hazmat/primitives/serialization.pyc
-${PYSITELIB}/cryptography/hazmat/primitives/serialization.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/__init__.py
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/__init__.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/__init__.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/base.py
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/base.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/base.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/pkcs12.py
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/pkcs12.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/pkcs12.pyo
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/ssh.py
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/ssh.pyc
+${PYSITELIB}/cryptography/hazmat/primitives/serialization/ssh.pyo
 ${PYSITELIB}/cryptography/hazmat/primitives/twofactor/__init__.py
 ${PYSITELIB}/cryptography/hazmat/primitives/twofactor/__init__.pyc
 ${PYSITELIB}/cryptography/hazmat/primitives/twofactor/__init__.pyo
diff -r 1ff5b41983d2 -r c50149683ee7 security/py-cryptography/distinfo
--- a/security/py-cryptography/distinfo Wed Jan 23 12:04:18 2019 +0000
+++ b/security/py-cryptography/distinfo Wed Jan 23 12:21:04 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.56 2018/11/21 10:38:38 adam Exp $
+$NetBSD: distinfo,v 1.57 2019/01/23 12:21:04 adam Exp $
 
-SHA1 (cryptography-2.4.2.tar.gz) = dbebf76a5e10eeb3c251bd1a243e0d1dacfda765
-RMD160 (cryptography-2.4.2.tar.gz) = 214468121ab8b90b15cd961eacb0d2567a017af5
-SHA512 (cryptography-2.4.2.tar.gz) = 800735fa86e9ad0f8517328d47e55dc79a2b86d8c7539ee2921c526085782d8dad5559bbee84f7effb42275503fa9a984b099a688c530c92f5672c423c0f1a28
-Size (cryptography-2.4.2.tar.gz) = 468645 bytes
+SHA1 (cryptography-2.5.tar.gz) = 2ea575820db5aa6a2d6691b514692433bcdec5d9
+RMD160 (cryptography-2.5.tar.gz) = a3d143d2a9623345ff50ce2f37eb3e982264cebc
+SHA512 (cryptography-2.5.tar.gz) = 5e8f8818fcaa8143526006b027107b8afbdc925d40c846701e65b2c7ee02235b7e0918246515520ef2030b1c87bb157d0d403c28ad68c31459d677af7e2d0b3f
+Size (cryptography-2.5.tar.gz) = 487694 bytes
diff -r 1ff5b41983d2 -r c50149683ee7 security/py-cryptography_vectors/Makefile
--- a/security/py-cryptography_vectors/Makefile Wed Jan 23 12:04:18 2019 +0000
+++ b/security/py-cryptography_vectors/Makefile Wed Jan 23 12:21:04 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2018/11/21 10:38:38 adam Exp $
+# $NetBSD: Makefile,v 1.19 2019/01/23 12:21:04 adam Exp $
 
-DISTNAME=      cryptography_vectors-2.4.2
+DISTNAME=      cryptography_vectors-2.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cryptography_vectors/}
diff -r 1ff5b41983d2 -r c50149683ee7 security/py-cryptography_vectors/PLIST
--- a/security/py-cryptography_vectors/PLIST    Wed Jan 23 12:04:18 2019 +0000
+++ b/security/py-cryptography_vectors/PLIST    Wed Jan 23 12:21:04 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2018/11/13 11:23:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2019/01/23 12:21:04 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -79,6 +79,7 @@
 ${PYSITELIB}/cryptography_vectors/asymmetric/DSA/FIPS_186-3/SigGen.rsp
 ${PYSITELIB}/cryptography_vectors/asymmetric/DSA/FIPS_186-3/SigGen.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/DSA/FIPS_186-3/SigVer.rsp
+${PYSITELIB}/cryptography_vectors/asymmetric/EC/compressed_points.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/ECDH/KASValidityTest_ECCStaticUnified_KDFConcat_NOKC_init.fax
 ${PYSITELIB}/cryptography_vectors/asymmetric/ECDH/KASValidityTest_ECCStaticUnified_KDFConcat_NOKC_resp.fax
 ${PYSITELIB}/cryptography_vectors/asymmetric/ECDH/KASValidityTest_ECCStaticUnified_NOKC_ZZOnly_init.fax
@@ -98,6 +99,7 @@
 ${PYSITELIB}/cryptography_vectors/asymmetric/ECDSA/FIPS_186-3/SigVer.rsp
 ${PYSITELIB}/cryptography_vectors/asymmetric/ECDSA/SECP256K1/SigGen.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/Ed25519/sign.input
+${PYSITELIB}/cryptography_vectors/asymmetric/Ed448/rfc8032.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/PEM_Serialization/README.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/PEM_Serialization/dsa_private_key.pem
 ${PYSITELIB}/cryptography_vectors/asymmetric/PEM_Serialization/dsa_public_key.pem
@@ -187,6 +189,19 @@
 ${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/X25519/x25519-pkcs8-enc.der
+${PYSITELIB}/cryptography_vectors/asymmetric/X25519/x25519-pkcs8-enc.pem
+${PYSITELIB}/cryptography_vectors/asymmetric/X25519/x25519-pkcs8.der
+${PYSITELIB}/cryptography_vectors/asymmetric/X25519/x25519-pkcs8.pem
+${PYSITELIB}/cryptography_vectors/asymmetric/X25519/x25519-pub.der
+${PYSITELIB}/cryptography_vectors/asymmetric/X25519/x25519-pub.pem
+${PYSITELIB}/cryptography_vectors/asymmetric/X448/rfc7748.txt
+${PYSITELIB}/cryptography_vectors/asymmetric/X448/x448-pkcs8-enc.der
+${PYSITELIB}/cryptography_vectors/asymmetric/X448/x448-pkcs8-enc.pem
+${PYSITELIB}/cryptography_vectors/asymmetric/X448/x448-pkcs8.der
+${PYSITELIB}/cryptography_vectors/asymmetric/X448/x448-pkcs8.pem
+${PYSITELIB}/cryptography_vectors/asymmetric/X448/x448-pub.der
+${PYSITELIB}/cryptography_vectors/asymmetric/X448/x448-pub.pem
 ${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
@@ -2182,6 +2197,7 @@
 ${PYSITELIB}/cryptography_vectors/x509/ocsp/req-multi-sha1.der
 ${PYSITELIB}/cryptography_vectors/x509/ocsp/req-sha1.der
 ${PYSITELIB}/cryptography_vectors/x509/ocsp/resp-delegate-unknown-cert.der
+${PYSITELIB}/cryptography_vectors/x509/ocsp/resp-invalid-signature-oid.der
 ${PYSITELIB}/cryptography_vectors/x509/ocsp/resp-responder-key-hash.der
 ${PYSITELIB}/cryptography_vectors/x509/ocsp/resp-revoked-no-next-update.der
 ${PYSITELIB}/cryptography_vectors/x509/ocsp/resp-revoked-reason.der
diff -r 1ff5b41983d2 -r c50149683ee7 security/py-cryptography_vectors/distinfo
--- a/security/py-cryptography_vectors/distinfo Wed Jan 23 12:04:18 2019 +0000
+++ b/security/py-cryptography_vectors/distinfo Wed Jan 23 12:21:04 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2018/11/21 10:38:38 adam Exp $
+$NetBSD: distinfo,v 1.19 2019/01/23 12:21:04 adam Exp $
 
-SHA1 (cryptography_vectors-2.4.2.tar.gz) = 5f9c573989fc631165f2b1c98808a3ce9f3969ea
-RMD160 (cryptography_vectors-2.4.2.tar.gz) = 35d58a9e48666d2e685f95862d98621275eb8cca
-SHA512 (cryptography_vectors-2.4.2.tar.gz) = cddd46916b6e5c9101589e6aaeaae0da61eabce9df21a196e09ed0c12bfa7da6e3afcddbb75c657f3370b2a3bc67ca862b22d6c7750301a867b6b03cb9bc83a3
-Size (cryptography_vectors-2.4.2.tar.gz) = 35087269 bytes
+SHA1 (cryptography_vectors-2.5.tar.gz) = 5c72aa89b38fac689f7f6482e3efdd4cf3779ea2
+RMD160 (cryptography_vectors-2.5.tar.gz) = 6ce8637cd87d38acacab9526045daa4cc9a1d871
+SHA512 (cryptography_vectors-2.5.tar.gz) = cdd066c597731eb782a3288ddd83ab97b13097360399e8368c7c7c8ba16ff3e6269405885c2ad81aeb0f79d8ff84395aa00639b3453576ac0b57d37d8d36dbf7
+Size (cryptography_vectors-2.5.tar.gz) = 35094063 bytes



Home | Main Index | Thread Index | Old Index