PyCA cryptography 2.6
Alex Gaynor
alex.gaynor at gmail.com
Wed Feb 27 09:09:09 EST 2019
PyCA cryptography 2.5 has been released to PyPI. cryptography includes both
high level recipes and low level interfaces to common cryptographic
algorithms such as symmetric ciphers, asymmetric algorithms, message
digests, X509, key derivation functions, and much more. We support Python
2.7, Python 3.4+, and PyPy.
Changelog (https://cryptography.io/en/latest/changelog/#v2-6):
- *BACKWARDS INCOMPATIBLE:* Removed
cryptography.hazmat.primitives.asymmetric.utils.encode_rfc6979_signature
and
cryptography.hazmat.primitives.asymmetric.utils.decode_rfc6979_signature,
which had been deprecated for nearly 4 years. Use encode_dss_signature()
<https://cryptography.io/en/latest/hazmat/primitives/asymmetric/utils/#cryptography.hazmat.primitives.asymmetric.utils.encode_dss_signature>
and decode_dss_signature()
<https://cryptography.io/en/latest/hazmat/primitives/asymmetric/utils/#cryptography.hazmat.primitives.asymmetric.utils.decode_dss_signature>
instead.
- *BACKWARDS INCOMPATIBLE*: Removed cryptography.x509.Certificate.serial,
which had been deprecated for nearly 3 years. Use serial_number
<https://cryptography.io/en/latest/x509/reference/#cryptography.x509.Certificate.serial_number>
instead.
- Updated Windows, macOS, and manylinux1 wheels to be compiled with
OpenSSL 1.1.1b.
- Added support for Ed448 signing
<https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ed448/> when
using OpenSSL 1.1.1b or newer.
- Added support for Ed25519 signing
<https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ed25519/>
when
using OpenSSL 1.1.1b or newer.
- load_ssh_public_key()
<https://cryptography.io/en/latest/hazmat/primitives/asymmetric/serialization/#cryptography.hazmat.primitives.serialization.load_ssh_public_key>
can
now load ed25519 public keys.
- Add support for easily mapping an object identifier to its elliptic
curve class viaget_curve_for_oid()
<https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ec/#cryptography.hazmat.primitives.asymmetric.ec.get_curve_for_oid>
.
- Add support for OpenSSL when compiled with the no-engine (
OPENSSL_NO_ENGINE) flag.
Alex
--
All that is necessary for evil to succeed is for good people to do nothing.
More information about the Python-announce-list
mailing list