diff options
author | wiz <wiz@pkgsrc.org> | 2015-05-28 07:11:08 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-05-28 07:11:08 +0000 |
commit | 54fcc13f78c0812efd5b942e0d825ba241655eda (patch) | |
tree | d997278a4fa71d678f372a51faba7ed187efcc05 /security/py-cryptography | |
parent | 83f408c957fe3950c385f036d37b657019539778 (diff) | |
download | pkgsrc-54fcc13f78c0812efd5b942e0d825ba241655eda.tar.gz |
Update to 0.9:
0.9 - 2015-05-13
~~~~~~~~~~~~~~~~
* Removed support for Python 3.2. This version of Python is rarely used
and caused support headaches. Users affected by this should upgrade to 3.3+.
* Deprecated support for Python 2.6. At the time there is no time table for
actually dropping support, however we strongly encourage all users to upgrade
their Python, as Python 2.6 no longer receives support from the Python core
team.
* Add support for the
:class:`~cryptography.hazmat.primitives.asymmetric.ec.SECP256K1` elliptic
curve.
* Fixed compilation when using an OpenSSL which was compiled with the
``no-comp`` (``OPENSSL_NO_COMP``) option.
* Support :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER`
serialization of public keys using the ``public_bytes`` method of
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization`,
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerialization`,
and
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization`.
* Support :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER`
serialization of private keys using the ``private_bytes`` method of
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization`,
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization`,
and
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization`.
* Add support for parsing X.509 certificate signing requests (CSRs) with
:func:`~cryptography.x509.load_pem_x509_csr` and
:func:`~cryptography.x509.load_der_x509_csr`.
* Moved ``cryptography.exceptions.InvalidToken`` to
:class:`cryptography.hazmat.primitives.twofactor.InvalidToken` and deprecated
the old location. This was moved to minimize confusion between this exception
and :class:`cryptography.fernet.InvalidToken`.
* Added support for X.509 extensions in :class:`~cryptography.x509.Certificate`
objects. The following extensions are supported as of this release:
* :class:`~cryptography.x509.BasicConstraints`
* :class:`~cryptography.x509.AuthorityKeyIdentifier`
* :class:`~cryptography.x509.SubjectKeyIdentifier`
* :class:`~cryptography.x509.KeyUsage`
* :class:`~cryptography.x509.SubjectAlternativeName`
* :class:`~cryptography.x509.ExtendedKeyUsage`
* :class:`~cryptography.x509.CRLDistributionPoints`
* :class:`~cryptography.x509.AuthorityInformationAccess`
* :class:`~cryptography.x509.CertificatePolicies`
Note that unsupported extensions with the critical flag raise
:class:`~cryptography.x509.UnsupportedExtension` while unsupported extensions
set to non-critical are silently ignored. Read the
:doc:`X.509 documentation</x509>` for more information.
Diffstat (limited to 'security/py-cryptography')
-rw-r--r-- | security/py-cryptography/Makefile | 5 | ||||
-rw-r--r-- | security/py-cryptography/PLIST | 7 | ||||
-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 74e49a42993..133062375b5 100644 --- a/security/py-cryptography/Makefile +++ b/security/py-cryptography/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.22 2015/04/14 11:40:31 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2015/05/28 07:11:08 wiz Exp $ -DISTNAME= cryptography-0.8.2 +DISTNAME= cryptography-0.9 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= security python MASTER_SITES= https://pypi.python.org/packages/source/c/cryptography/ @@ -13,6 +13,7 @@ LICENSE= apache-2.0 OR modified-bsd DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1 DEPENDS+= ${PYPKGPREFIX}-cffi>=0.8:../../devel/py-cffi DEPENDS+= ${PYPKGPREFIX}-cparser>=2.10:../../devel/py-cparser +DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six # actually, TEST_DEPENDS BUILD_DEPENDS+= ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601 diff --git a/security/py-cryptography/PLIST b/security/py-cryptography/PLIST index be090eef6f0..c1af7372618 100644 --- a/security/py-cryptography/PLIST +++ b/security/py-cryptography/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2015/03/15 21:10:16 wiz Exp $ +@comment $NetBSD: PLIST,v 1.9 2015/05/28 07:11:08 wiz Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -107,6 +107,9 @@ ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_hmac.pyo ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_key_derivation.py ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_key_derivation.pyc ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_key_derivation.pyo +${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_symmetric_key_wrap.py +${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_symmetric_key_wrap.pyc +${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/common_symmetric_key_wrap.pyo ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/secimport.py ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/secimport.pyc ${PYSITELIB}/cryptography/hazmat/bindings/commoncrypto/secimport.pyo @@ -206,6 +209,8 @@ ${PYSITELIB}/cryptography/hazmat/bindings/openssl/rand.pyo ${PYSITELIB}/cryptography/hazmat/bindings/openssl/rsa.py ${PYSITELIB}/cryptography/hazmat/bindings/openssl/rsa.pyc ${PYSITELIB}/cryptography/hazmat/bindings/openssl/rsa.pyo +${PYSITELIB}/cryptography/hazmat/bindings/openssl/src/osrandom_engine.c +${PYSITELIB}/cryptography/hazmat/bindings/openssl/src/osrandom_engine.h ${PYSITELIB}/cryptography/hazmat/bindings/openssl/ssl.py ${PYSITELIB}/cryptography/hazmat/bindings/openssl/ssl.pyc ${PYSITELIB}/cryptography/hazmat/bindings/openssl/ssl.pyo diff --git a/security/py-cryptography/distinfo b/security/py-cryptography/distinfo index f8c2994cca0..f46e54d418c 100644 --- a/security/py-cryptography/distinfo +++ b/security/py-cryptography/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.15 2015/04/12 14:42:30 wiz Exp $ +$NetBSD: distinfo,v 1.16 2015/05/28 07:11:08 wiz Exp $ -SHA1 (cryptography-0.8.2.tar.gz) = b04c2172d34caa40143f620afe414563f5c98c9a -RMD160 (cryptography-0.8.2.tar.gz) = 7d90dab70ec9aceea7039aee3b97e7ec1071a8c4 -Size (cryptography-0.8.2.tar.gz) = 268288 bytes +SHA1 (cryptography-0.9.tar.gz) = f11db888d32a25d74ef960e47bed8119c0afd1b8 +RMD160 (cryptography-0.9.tar.gz) = 0d370927c1ad5682763d0127c3119608cc0b2882 +Size (cryptography-0.9.tar.gz) = 302794 bytes SHA1 (patch-src_cryptography_hazmat_bindings_utils.py) = 1dbe88db3f1af4dd1b5836d9f353223d532d79bb SHA1 (patch-src_cryptography_hazmat_primitives_constant__time.py) = dae1d27d76589a0f1f4236e4b8a311bb44c43185 SHA1 (patch-src_cryptography_hazmat_primitives_padding.py) = 26320f2a5c8a756476e4e61a136adf79a2d3d3d1 |