Path to this page:
Subject: CVS commit: pkgsrc/security/py-cryptography
From: Thomas Klausner
Date: 2015-05-28 09:11:08
Message id: 20150528071108.2BD5F98@cvs.netbsd.org
Log Message:
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.RSAPublicKeyWithSerializa \
tion`,
\
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerializa \
tion`,
and
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWith \
Serialization`.
* Support :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER`
serialization of private keys using the ``private_bytes`` method of
\
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerializ \
ation`,
\
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerializ \
ation`,
and
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWit \
hSerialization`.
* 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.
Files: