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 Changes 1.9:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62abd0871a0e
branches:  trunk
changeset: 363053:62abd0871a0e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 31 08:50:45 2017 +0000

description:
Changes 1.9:

BACKWARDS INCOMPATIBLE: Elliptic Curve signature verification no longer returns True on success. This brings it in line with the interface's documentation, and our intent. The correct way to use 
:meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.verify` has always been to check whether or not :class:`~cryptography.exceptions.InvalidSignature` was raised.
BACKWARDS INCOMPATIBLE: Dropped support for macOS 10.7 and 10.8.
BACKWARDS INCOMPATIBLE: The minimum supported PyPy version is now 5.3.
Python 3.3 support has been deprecated, and will be removed in the next cryptography release.
Add support for providing tag during :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` finalization via 
:meth:`~cryptography.hazmat.primitives.ciphers.AEADDecryptionContext.finalize_with_tag`.
Fixed an issue preventing cryptography from compiling against LibreSSL 2.5.x.
Added :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.key_size` and :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey.key_size` as convenience 
methods for determining the bit size of a secret scalar for the curve.
Accessing an unrecognized extension marked critical on an X.509 object will no longer raise an UnsupportedExtension exception, instead an :class:`~cryptography.x509.UnrecognizedExtension` object will 
be returned. This behavior was based on a poor reading of the RFC, unknown critical extensions only need to be rejected on certificate verification.
The CommonCrypto backend has been removed.
MultiBackend has been removed.
Whirlpool and RIPEMD160 have been deprecated.

diffstat:

 security/py-cryptography_vectors/Makefile |   6 +++---
 security/py-cryptography_vectors/PLIST    |   4 +++-
 security/py-cryptography_vectors/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 9 deletions(-)

diffs (52 lines):

diff -r 1bd4ba4308d9 -r 62abd0871a0e security/py-cryptography_vectors/Makefile
--- a/security/py-cryptography_vectors/Makefile Wed May 31 08:36:33 2017 +0000
+++ b/security/py-cryptography_vectors/Makefile Wed May 31 08:50:45 2017 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.3 2017/05/26 09:00:37 adam Exp $
+# $NetBSD: Makefile,v 1.4 2017/05/31 08:50:45 adam Exp $
 
-DISTNAME=      cryptography_vectors-1.8.2
+DISTNAME=      cryptography_vectors-1.9
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cryptography_vectors/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://pypi.python.org/pypi/cryptography-vectors/
+HOMEPAGE=      https://github.com/pyca/cryptography/
 COMMENT=       Cryptographic test vectors
 LICENSE=       apache-2.0 OR modified-bsd
 
diff -r 1bd4ba4308d9 -r 62abd0871a0e security/py-cryptography_vectors/PLIST
--- a/security/py-cryptography_vectors/PLIST    Wed May 31 08:36:33 2017 +0000
+++ b/security/py-cryptography_vectors/PLIST    Wed May 31 08:50:45 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/03/13 09:28:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/05/31 08:50:45 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -2027,6 +2027,8 @@
 ${PYSITELIB}/cryptography_vectors/x509/PKITS_data/smime/SignedValidpre2000UTCnotBeforeDateTest3.eml
 ${PYSITELIB}/cryptography_vectors/x509/PKITS_data/smime/SignedinhibitAnyPolicyTest3.eml
 ${PYSITELIB}/cryptography_vectors/x509/alternate-rsa-sha1-oid.pem
+${PYSITELIB}/cryptography_vectors/x509/badssl-sct.pem
+${PYSITELIB}/cryptography_vectors/x509/bigoid.pem
 ${PYSITELIB}/cryptography_vectors/x509/cryptography.io.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/aia_ca_issuers.pem
 ${PYSITELIB}/cryptography_vectors/x509/custom/aia_ocsp.pem
diff -r 1bd4ba4308d9 -r 62abd0871a0e security/py-cryptography_vectors/distinfo
--- a/security/py-cryptography_vectors/distinfo Wed May 31 08:36:33 2017 +0000
+++ b/security/py-cryptography_vectors/distinfo Wed May 31 08:50:45 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2017/05/26 09:00:37 adam Exp $
+$NetBSD: distinfo,v 1.4 2017/05/31 08:50:45 adam Exp $
 
-SHA1 (cryptography_vectors-1.8.2.tar.gz) = daa1e9e8ad9dd933916be716e341efde251d959a
-RMD160 (cryptography_vectors-1.8.2.tar.gz) = cca56d913c3ea05c0a3d099a87a993283b351c1f
-SHA512 (cryptography_vectors-1.8.2.tar.gz) = 33887fe29f52f3b8610a418419458a6092a3d35425c168f825f2ec74707c91f170cb019037924e59ebb0207722f54256e626d5b591f764ab9cef72dd70abddba
-Size (cryptography_vectors-1.8.2.tar.gz) = 26653796 bytes
+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



Home | Main Index | Thread Index | Old Index