diff options
author | wiz <wiz> | 2014-10-05 14:53:10 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-10-05 14:53:10 +0000 |
commit | 692a10ac49149be7d820614f3e00e809aad54ee1 (patch) | |
tree | 0067fb8fc33fc894da238ad11e7b0dede4a422bc /security | |
parent | 946d63e48a53f0419f4e7871cf752904de31d97c (diff) | |
download | pkgsrc-692a10ac49149be7d820614f3e00e809aad54ee1.tar.gz |
Update to 0.6:
0.6 - 2014-09-29
~~~~~~~~~~~~~~~~
* Added
:func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key` to
ease loading private keys, and
:func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key` to
support loading public keys.
* Removed the, deprecated in 0.4, support for the ``salt_length`` argument to
the :class:`~cryptography.hazmat.primitives.asymmetric.padding.MGF1`
constructor. The ``salt_length`` should be passed to
:class:`~cryptography.hazmat.primitives.asymmetric.padding.PSS` instead.
* Fix compilation on OS X Yosemite.
* Deprecated ``elliptic_curve_private_key_from_numbers`` and
``elliptic_curve_public_key_from_numbers`` in favor of
``load_elliptic_curve_private_numbers`` and
``load_elliptic_curve_public_numbers`` on
:class:`~cryptography.hazmat.backends.interfaces.EllipticCurveBackend`.
* Added
:class:`~cryptography.hazmat.primitives.interfaces.EllipticCurvePrivateKeyWithNumbers`
and
:class:`~cryptography.hazmat.primitives.interfaces.EllipticCurvePublicKeyWithNumbers`
support.
* Work around three GCM related bugs in CommonCrypto and OpenSSL.
* On the CommonCrypto backend adding AAD but not subsequently calling update
would return null tag bytes.
* One the CommonCrypto backend a call to update without an empty add AAD call
would return null ciphertext bytes.
* On the OpenSSL backend with certain versions adding AAD only would give
invalid tag bytes.
* Support loading EC private keys from PEM.
Diffstat (limited to 'security')
-rw-r--r-- | security/py-cryptography/Makefile | 4 | ||||
-rw-r--r-- | security/py-cryptography/PLIST | 8 | ||||
-rw-r--r-- | security/py-cryptography/distinfo | 8 |
3 files changed, 13 insertions, 7 deletions
diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile index 0961c8191aa..ca7b11a9ff5 100644 --- a/security/py-cryptography/Makefile +++ b/security/py-cryptography/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.10 2014/08/25 18:37:18 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2014/10/05 14:53:10 wiz Exp $ -DISTNAME= cryptography-0.5.4 +DISTNAME= cryptography-0.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= security python MASTER_SITES= https://pypi.python.org/packages/source/c/cryptography/ diff --git a/security/py-cryptography/PLIST b/security/py-cryptography/PLIST index 7a15bbbfc3c..4e3fc669675 100644 --- a/security/py-cryptography/PLIST +++ b/security/py-cryptography/PLIST @@ -1,7 +1,8 @@ -@comment $NetBSD: PLIST,v 1.4 2014/07/29 11:51:36 wiz Exp $ +@comment $NetBSD: PLIST,v 1.5 2014/10/05 14:53:10 wiz 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 @@ -77,6 +78,7 @@ ${PYSITELIB}/cryptography/hazmat/backends/openssl/rsa.pyo ${PYSITELIB}/cryptography/hazmat/bindings/__init__.py ${PYSITELIB}/cryptography/hazmat/bindings/__init__.pyc ${PYSITELIB}/cryptography/hazmat/bindings/__init__.pyo +${PYSITELIB}/cryptography/hazmat/bindings/__pycache__/cryptography.hazmat.bindings.openssl.x509_vfy.c ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/__init__.py ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/__init__.pyc ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/__init__.pyo @@ -218,6 +220,8 @@ ${PYSITELIB}/cryptography/hazmat/bindings/utils.pyo ${PYSITELIB}/cryptography/hazmat/primitives/__init__.py ${PYSITELIB}/cryptography/hazmat/primitives/__init__.pyc ${PYSITELIB}/cryptography/hazmat/primitives/__init__.pyo +${PYSITELIB}/cryptography/hazmat/primitives/__pycache__/checkpkcs7padding.c +${PYSITELIB}/cryptography/hazmat/primitives/__pycache__/constanttime.c ${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/__init__.py ${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/__init__.pyc ${PYSITELIB}/cryptography/hazmat/primitives/asymmetric/__init__.pyo @@ -275,6 +279,8 @@ ${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/src/constant_time.c +${PYSITELIB}/cryptography/hazmat/primitives/src/constant_time.h ${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 06158145bc5..3322f05e31d 100644 --- a/security/py-cryptography/distinfo +++ b/security/py-cryptography/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.8 2014/08/25 18:37:18 wiz Exp $ +$NetBSD: distinfo,v 1.9 2014/10/05 14:53:10 wiz Exp $ -SHA1 (cryptography-0.5.4.tar.gz) = 98a8d292738f8597d15e300bebd4dec59f5b9480 -RMD160 (cryptography-0.5.4.tar.gz) = 11f0ad679d0ad749665fececb3215b37e6a6d08d -Size (cryptography-0.5.4.tar.gz) = 320104 bytes +SHA1 (cryptography-0.6.tar.gz) = 26e357a3d22a408212e704d86450b76583de32d6 +RMD160 (cryptography-0.6.tar.gz) = 2b4df476f309fff99cf84e57fe58c8e348ca3760 +Size (cryptography-0.6.tar.gz) = 236091 bytes SHA1 (patch-cryptography_hazmat_bindings_utils.py) = 4f4f53262efac03ea2b93c1338fed00aef4dc9cc SHA1 (patch-cryptography_hazmat_primitives_constant__time.py) = 2af2bed42ba2d8a3eca3898abf17715066664f82 SHA1 (patch-cryptography_hazmat_primitives_padding.py) = f840dbde2109dee89632bf4bc5b893521971d640 |