summaryrefslogtreecommitdiff
path: root/security/py-cryptography
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-01-23 12:21:04 +0000
committeradam <adam@pkgsrc.org>2019-01-23 12:21:04 +0000
commit2bf2b7d22eceea9048e9ba6de44b6b93a5c95a87 (patch)
tree1db6686b1f6830974d30bb1159d124c6bc4ea4a4 /security/py-cryptography
parent0da75febb8d55e12e61b559dfd79db5c76b4d1db (diff)
downloadpkgsrc-2bf2b7d22eceea9048e9ba6de44b6b93a5c95a87.tar.gz
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 (limited to 'security/py-cryptography')
-rw-r--r--security/py-cryptography/Makefile4
-rw-r--r--security/py-cryptography/PLIST23
-rw-r--r--security/py-cryptography/distinfo10
3 files changed, 26 insertions, 11 deletions
diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile
index 1f6af17e9e2..e6dcb90ec2e 100644
--- a/security/py-cryptography/Makefile
+++ b/security/py-cryptography/Makefile
@@ -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 --git a/security/py-cryptography/PLIST b/security/py-cryptography/PLIST
index 219264246ef..778aa061e6f 100644
--- a/security/py-cryptography/PLIST
+++ b/security/py-cryptography/PLIST
@@ -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/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/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/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/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/mac.pyo
${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 --git a/security/py-cryptography/distinfo b/security/py-cryptography/distinfo
index 3f9ff732139..68598545854 100644
--- a/security/py-cryptography/distinfo
+++ b/security/py-cryptography/distinfo
@@ -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