Path to this page:
Subject: CVS commit: pkgsrc/security/py-cryptography
From: Thomas Klausner
Date: 2015-03-15 22:10:16
Message id: 20150315211016.315CF98@cvs.netbsd.org
Log Message:
Update to 0.8:
0.8 - 2015-03-08
~~~~~~~~~~~~~~~~
* :func:`~cryptography.hazmat.primitives.serialization.load_ssh_public_key` can
now load elliptic curve public keys.
* Added
:attr:`~cryptography.x509.Certificate.signature_hash_algorithm` support to
:class:`~cryptography.x509.Certificate`.
* Added
:func:`~cryptography.hazmat.primitives.asymmetric.rsa.rsa_recover_prime_factors`
* :class:`~cryptography.hazmat.primitives.kdf.KeyDerivationFunction` was moved
from :mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.kdf`.
* Added support for parsing X.509 names. See the
:doc:`X.509 documentation</x509>` for more information.
* Added
:func:`~cryptography.hazmat.primitives.serialization.load_der_private_key` to
support loading of DER encoded private keys and
:func:`~cryptography.hazmat.primitives.serialization.load_der_public_key` to
support loading DER encoded public keys.
* Fixed building against LibreSSL, a compile-time substitute for OpenSSL.
* FreeBSD 9.2 was removed from the continuous integration system.
* Updated Windows wheels to be compiled against OpenSSL 1.0.2.
* :func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key`
and :func:`~cryptography.hazmat.primitives.serialization.load_der_public_key`
now support PKCS1 RSA public keys (in addition to the previous support for
SubjectPublicKeyInfo format for RSA, EC, and DSA).
* Added
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWit \
hSerialization`
and deprecated
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWit \
hNumbers`.
* Added
\
:meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWith \
Serialization.private_bytes`
to
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWit \
hSerialization`.
* Added
\
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerializ \
ation`
and deprecated
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithNumbers`.
* Added
\
:meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerializa \
tion.private_bytes`
to
\
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerializ \
ation`.
* Added
\
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerializ \
ation`
and deprecated
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithNumbers`.
* Added
\
:meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerializa \
tion.private_bytes`
to
\
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerializ \
ation`.
* Added
\
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerializa \
tion`
and deprecated
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithNumbers`.
* Added
\
:meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerializat \
ion.public_bytes`
to
\
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerializa \
tion`.
* Added
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWith \
Serialization`
and deprecated
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWith \
Numbers`.
* Added
\
:meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithS \
erialization.public_bytes`
to
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWith \
Serialization`.
* Added
\
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerializa \
tion`
and deprecated
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithNumbers`.
* Added
\
:meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerializat \
ion.public_bytes`
to
\
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerializa \
tion`.
* :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` and
:class:`~cryptography.hazmat.primitives.hashes.HashContext` were moved from
:mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.hashes`.
* :class:`~cryptography.hazmat.primitives.ciphers.CipherContext`,
:class:`~cryptography.hazmat.primitives.ciphers.AEADCipherContext`,
:class:`~cryptography.hazmat.primitives.ciphers.AEADEncryptionContext`,
:class:`~cryptography.hazmat.primitives.ciphers.CipherAlgorithm`, and
:class:`~cryptography.hazmat.primitives.ciphers.BlockCipherAlgorithm`
were moved from :mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.ciphers`.
* :class:`~cryptography.hazmat.primitives.ciphers.modes.Mode`,
\
:class:`~cryptography.hazmat.primitives.ciphers.modes.ModeWithInitializationVect \
or`,
:class:`~cryptography.hazmat.primitives.ciphers.modes.ModeWithNonce`, and
:class:`~cryptography.hazmat.primitives.ciphers.modes.ModeWithAuthenticationTag`
were moved from :mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.ciphers.modes`.
* :class:`~cryptography.hazmat.primitives.padding.PaddingContext` was moved
from :mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.padding`.
*
:class:`~cryptography.hazmat.primitives.asymmetric.padding.AsymmetricPadding`
was moved from :mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.asymmetric.padding`.
*
:class:`~cryptography.hazmat.primitives.asymmetric.AsymmetricSignatureContext`
and
:class:`~cryptography.hazmat.primitives.asymmetric.AsymmetricVerificationContext`
were moved from :mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.asymmetric`.
* :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAParameters`,
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAParametersWithNumbers`,
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey`,
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithNumbers`,
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` and
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithNumbers`
were moved from :mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.asymmetric.dsa`
* :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurve`,
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurveSignatureAlgo \
rithm`,
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey`,
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWit \
hNumbers`,
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey`,
and
\
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWith \
Numbers`
were moved from :mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.asymmetric.ec`.
* :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`,
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithNumbers`,
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` and
:class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithNumbers`
were moved from :mod:`~cryptography.hazmat.primitives.interfaces` to
:mod:`~cryptography.hazmat.primitives.asymmetric.rsa`.
Files: