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]: update to 2.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b816532d3d6a
branches:  trunk
changeset: 370128:b816532d3d6a
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Oct 12 08:28:40 2017 +0000

description:
py-cryptography[_vectors]: update to 2.1.1

2.1:
FINAL DEPRECATION Python 2.6 support is deprecated, and will be removed in the next release of cryptography.
BACKWARDS INCOMPATIBLE: Whirlpool, RIPEMD160, and UnsupportedExtension have been removed in accordance with our :doc:`/api-stability` policy.
BACKWARDS INCOMPATIBLE: :attr:`~cryptography.x509.DNSName.value`, :attr:`~cryptography.x509.RFC822Name.value`, and :attr:`~cryptography.x509.UniformResourceIdentifier.value` will now return an 
:term:`A-label` string when parsing a certificate containing an internationalized domain name (IDN) or if the caller passed a :term:`U-label` to the constructor. See below for additional deprecations 
related to this change.
Installing cryptography now requires pip 6 or newer.
Deprecated passing :term:`U-label` strings to the :class:`~cryptography.x509.DNSName`, :class:`~cryptography.x509.UniformResourceIdentifier`, and :class:`~cryptography.x509.RFC822Name` constructors. 
Instead, users should pass values as :term:`A-label` strings with idna encoding if necessary. This change will not affect anyone who is not processing internationalized domains.
Added support for :class:`~cryptography.hazmat.primitives.ciphers.algorithms.ChaCha20`. In most cases users should choose :class:`~cryptography.hazmat.primitives.ciphers.aead.ChaCha20Poly1305` rather 
than using this unauthenticated form.
Added :meth:`~cryptography.x509.CertificateRevocationList.is_signature_valid` to :class:`~cryptography.x509.CertificateRevocationList`.
Support :class:`~cryptography.hazmat.primitives.hashes.BLAKE2b` and :class:`~cryptography.hazmat.primitives.hashes.BLAKE2s` with :class:`~cryptography.hazmat.primitives.hmac.HMAC`.
Added support for :class:`~cryptography.hazmat.primitives.ciphers.modes.XTS` mode for AES.
Added support for using labels with :class:`~cryptography.hazmat.primitives.asymmetric.padding.OAEP` when using OpenSSL 1.0.2 or greater.
Improved compatibility with NSS when issuing certificates from an issuer that has a subject with non-UTF8String string types.
Add support for the :class:`~cryptography.x509.DeltaCRLIndicator` extension.
Add support for the :class:`~cryptography.x509.TLSFeature` extension. This is commonly used for enabling OCSP Must-Staple in certificates.
Add support for the :class:`~cryptography.x509.FreshestCRL` extension.

diffstat:

 security/py-cryptography/Makefile         |   4 ++--
 security/py-cryptography/PLIST            |   5 +----
 security/py-cryptography/distinfo         |  10 +++++-----
 security/py-cryptography_vectors/Makefile |   4 ++--
 security/py-cryptography_vectors/PLIST    |  13 ++++++++++++-
 security/py-cryptography_vectors/distinfo |  10 +++++-----
 6 files changed, 27 insertions(+), 19 deletions(-)

diffs (141 lines):

diff -r 41854c2b4589 -r b816532d3d6a security/py-cryptography/Makefile
--- a/security/py-cryptography/Makefile Thu Oct 12 08:06:47 2017 +0000
+++ b/security/py-cryptography/Makefile Thu Oct 12 08:28:40 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2017/08/04 05:31:11 adam Exp $
+# $NetBSD: Makefile,v 1.60 2017/10/12 08:28:40 adam Exp $
 
-DISTNAME=      cryptography-2.0.3
+DISTNAME=      cryptography-2.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cryptography/}
diff -r 41854c2b4589 -r b816532d3d6a security/py-cryptography/PLIST
--- a/security/py-cryptography/PLIST    Thu Oct 12 08:06:47 2017 +0000
+++ b/security/py-cryptography/PLIST    Thu Oct 12 08:28:40 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2017/07/18 13:58:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.20 2017/10/12 08:28:40 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -146,9 +146,6 @@
 ${PYSITELIB}/cryptography/hazmat/primitives/hmac.py
 ${PYSITELIB}/cryptography/hazmat/primitives/hmac.pyc
 ${PYSITELIB}/cryptography/hazmat/primitives/hmac.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
diff -r 41854c2b4589 -r b816532d3d6a security/py-cryptography/distinfo
--- a/security/py-cryptography/distinfo Thu Oct 12 08:06:47 2017 +0000
+++ b/security/py-cryptography/distinfo Thu Oct 12 08:28:40 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.45 2017/08/04 05:31:11 adam Exp $
+$NetBSD: distinfo,v 1.46 2017/10/12 08:28:40 adam Exp $
 
-SHA1 (cryptography-2.0.3.tar.gz) = 918c788a03142e5058e23c3711fc3e6618f38a61
-RMD160 (cryptography-2.0.3.tar.gz) = 81589b290b8af9fe461b93baee04345a13fa866c
-SHA512 (cryptography-2.0.3.tar.gz) = fa569c4f5a994e2bd90810649fdf48115bfd5ff46790c849991e8f7a7c8b5435402f92453e4365426ee645623b3bb509c9bb781657c4b4e81e3a36b58ba5461c
-Size (cryptography-2.0.3.tar.gz) = 427544 bytes
+SHA1 (cryptography-2.1.1.tar.gz) = 1eba5ae017443f0e49264dda44f0421cce56ac92
+RMD160 (cryptography-2.1.1.tar.gz) = 3da88a7d1dc467f48be67de71f91ff4233e4306b
+SHA512 (cryptography-2.1.1.tar.gz) = d021f7af1cb4c6430049d2213405b7bea84bc0bde9e9f92c99c87dd835b2f28eb28024d65090756d2cc72b63510f25d71c55e473ce00e1d24736c15037998adb
+Size (cryptography-2.1.1.tar.gz) = 441477 bytes
diff -r 41854c2b4589 -r b816532d3d6a security/py-cryptography_vectors/Makefile
--- a/security/py-cryptography_vectors/Makefile Thu Oct 12 08:06:47 2017 +0000
+++ b/security/py-cryptography_vectors/Makefile Thu Oct 12 08:28:40 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2017/08/04 05:31:11 adam Exp $
+# $NetBSD: Makefile,v 1.8 2017/10/12 08:28:40 adam Exp $
 
-DISTNAME=      cryptography_vectors-2.0.3
+DISTNAME=      cryptography_vectors-2.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cryptography_vectors/}
diff -r 41854c2b4589 -r b816532d3d6a security/py-cryptography_vectors/PLIST
--- a/security/py-cryptography_vectors/PLIST    Thu Oct 12 08:06:47 2017 +0000
+++ b/security/py-cryptography_vectors/PLIST    Thu Oct 12 08:28:40 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/07/18 13:52:13 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/10/12 08:28:40 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -169,6 +169,7 @@
 ${PYSITELIB}/cryptography_vectors/asymmetric/RSA/oaep-custom/oaep-sha512-sha256.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/RSA/oaep-custom/oaep-sha512-sha384.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/RSA/oaep-custom/oaep-sha512-sha512.txt
+${PYSITELIB}/cryptography_vectors/asymmetric/RSA/oaep-label.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/RSA/pkcs-1v2-1d2-vec/oaep-int.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/RSA/pkcs-1v2-1d2-vec/oaep-vect.txt
 ${PYSITELIB}/cryptography_vectors/asymmetric/RSA/pkcs-1v2-1d2-vec/pss-int.txt
@@ -420,6 +421,7 @@
 ${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/ChaCha20/rfc7539.txt
 ${PYSITELIB}/cryptography_vectors/ciphers/ChaCha20Poly1305/boringssl.txt
 ${PYSITELIB}/cryptography_vectors/ciphers/ChaCha20Poly1305/openssl.txt
 ${PYSITELIB}/cryptography_vectors/ciphers/IDEA/idea-cbc.txt
@@ -2073,6 +2075,7 @@
 ${PYSITELIB}/cryptography_vectors/x509/custom/cp_user_notice_with_explicit_text.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/cp_user_notice_with_notice_reference.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/crl_all_reasons.pem
+${PYSITELIB}/cryptography_vectors/x509/custom/crl_delta_crl_indicator.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/crl_dup_entry_ext.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/crl_empty.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/crl_ian_aia_aki.pem
@@ -2082,9 +2085,11 @@
 ${PYSITELIB}/cryptography_vectors/x509/custom/dsa_selfsigned_ca.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/ec_no_named_curve.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/extended_key_usage.pem
+${PYSITELIB}/cryptography_vectors/x509/custom/freshestcrl.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/ian_uri.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/inhibit_any_policy_5.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/inhibit_any_policy_negative.pem
+${PYSITELIB}/cryptography_vectors/x509/custom/invalid_signature.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/invalid_version.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/nc_excluded.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/nc_invalid_ip_netmask.pem
@@ -2118,9 +2123,11 @@
 ${PYSITELIB}/cryptography_vectors/x509/custom/unsupported_subject_name.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/unsupported_subject_public_key_info.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/utf8_common_name.pem
+${PYSITELIB}/cryptography_vectors/x509/custom/valid_signature.pem
 ${PYSITELIB}/cryptography_vectors/x509/department-of-state-root.pem
 ${PYSITELIB}/cryptography_vectors/x509/e-trust.ru.der
 ${PYSITELIB}/cryptography_vectors/x509/ecdsa_root.pem
+${PYSITELIB}/cryptography_vectors/x509/ocsp/req-sha1.der
 ${PYSITELIB}/cryptography_vectors/x509/rapidssl_sha256_ca_g3.pem
 ${PYSITELIB}/cryptography_vectors/x509/requests/basic_constraints.pem
 ${PYSITELIB}/cryptography_vectors/x509/requests/dsa_sha1.der
@@ -2141,6 +2148,10 @@
 ${PYSITELIB}/cryptography_vectors/x509/requests/unsupported_extension_critical.pem
 ${PYSITELIB}/cryptography_vectors/x509/san_edipartyname.der
 ${PYSITELIB}/cryptography_vectors/x509/san_x400address.der
+${PYSITELIB}/cryptography_vectors/x509/tls-feature-ocsp-staple.pem
+${PYSITELIB}/cryptography_vectors/x509/unique_identifier.pem
+${PYSITELIB}/cryptography_vectors/x509/utf8-dnsname.pem
 ${PYSITELIB}/cryptography_vectors/x509/v1_cert.pem
 ${PYSITELIB}/cryptography_vectors/x509/verisign_md2_root.pem
 ${PYSITELIB}/cryptography_vectors/x509/wildcard_san.pem
+${PYSITELIB}/cryptography_vectors/x509/wosign-bc-invalid.pem
diff -r 41854c2b4589 -r b816532d3d6a security/py-cryptography_vectors/distinfo
--- a/security/py-cryptography_vectors/distinfo Thu Oct 12 08:06:47 2017 +0000
+++ b/security/py-cryptography_vectors/distinfo Thu Oct 12 08:28:40 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2017/08/04 05:31:11 adam Exp $
+$NetBSD: distinfo,v 1.8 2017/10/12 08:28:40 adam Exp $
 
-SHA1 (cryptography_vectors-2.0.3.tar.gz) = 548839f125aa5baf88639658c1299ebc05d5cc52
-RMD160 (cryptography_vectors-2.0.3.tar.gz) = 435292467bfdc7827edf61f7adebfad5138d71e0
-SHA512 (cryptography_vectors-2.0.3.tar.gz) = a944ca7781d47e6e81d69c32a717a19c2f461412e38f4d2b93cb02309bacdf01d766f7227a20b520faae2db20cf3dca194ed3c34363dcc70866d9ef6200f65cc
-Size (cryptography_vectors-2.0.3.tar.gz) = 27011810 bytes
+SHA1 (cryptography_vectors-2.1.1.tar.gz) = 5ab491addeb90fe391e85eb178a8706037293df1
+RMD160 (cryptography_vectors-2.1.1.tar.gz) = 3cffec598d7545ac9dcd70a5e4be06f995d9a2bf
+SHA512 (cryptography_vectors-2.1.1.tar.gz) = fa32a52a3e187d62c3a8eb4262795d0a9762fe8bb5d8464bc9bca7b1a56c6e19a3a14bfd0b2f56f4a048a8cb4dd05e105a90925dd4ee0697a76de3577faf88a3
+Size (cryptography_vectors-2.1.1.tar.gz) = 27255936 bytes



Home | Main Index | Thread Index | Old Index