PyCA cryptography 0.9 released

2015-05-14 Thread Paul Kehrer
On behalf of all the contributors I am pleased to announce the release of 
PyCA/cryptography (https://github.com/pyca/cryptography) 0.9!

Changelog:

* 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 SECP256K1 elliptic curve.
* Fixed compilation when using an OpenSSL which was compiled with the no-comp 
(OPENSSL_NO_COMP) option.
* Support DER serialization of public keys using the public_bytes method of 
RSAPublicKeyWithSerialization, DSAPublicKeyWithSerialization, and 
EllipticCurvePublicKeyWithSerialization.
* Support DER serialization of private keys using the private_bytes method of 
RSAPrivateKeyWithSerialization, DSAPrivateKeyWithSerialization, and 
EllipticCurvePrivateKeyWithSerialization.
* Add support for parsing X.509 certificate signing requests (CSRs) with 
load_pem_x509_csr() and load_der_x509_csr().
* Moved cryptography.exceptions.InvalidToken to 
cryptography.hazmat.primitives.twofactor.InvalidToken and deprecated the old 
location. This was moved to minimize confusion between this exception and 
cryptography.fernet.InvalidToken.
* Added support for X.509 extensions in Certificate objects. The following 
extensions are supported as of this release:
- BasicConstraints
- AuthorityKeyIdentifier
- SubjectKeyIdentifier
- KeyUsage
- SubjectAlternativeName
- ExtendedKeyUsage
- CRLDistributionPoints
- AuthorityInformationAccess
- CertificatePolicies

Note that unsupported extensions with the critical flag raise 
UnsupportedExtension while unsupported extensions set to non-critical are 
silently ignored. Read the X.509 documentation for more information.

You can also view a more attractive version of the changelog here: 
https://cryptography.io/en/latest/changelog/

Master will be reopening for development of the tenth release shortly.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.0 released

2015-08-12 Thread Paul Kehrer
On behalf of all the contributors I am pleased to announce the release of 
PyCA/cryptography (https://github.com/pyca/cryptography) 1.0! cryptography is a 
package which provides cryptographic recipes and primitives to Python 
developers. Our goal is for it to be your cryptographic standard library. We 
support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/):

* Switched to the new cffi set_source out-of-line API mode for compilation. 
This results in significantly faster imports and lowered memory consumption. 
Due to this change we no longer support PyPy releases older than 2.6 nor do we 
support any released version of PyPy3 (until a version supporting cffi 1.0 
comes out).
* Fix parsing of OpenSSH public keys that have spaces in comments.
* Support serialization of certificate signing requests using the public_bytes 
method of CertificateSigningRequest.
* Support serialization of certificates using the public_bytes method of 
Certificate.
* Add get_provisioning_uri method to HOTP and TOTP for generating provisioning 
URIs.
* Add ConcatKDFHash and ConcatKDFHMAC.
* Raise a TypeError when passing objects that are not text as the value to 
NameAttribute.
* Add support for OtherName as a general name type.
* Added new X.509 extension support in Certificate. The following new 
extensions are now supported:
    * OCSPNoCheck
    * InhibitAnyPolicy
    * IssuerAlternativeName
    * NameConstraints
* Extension support was added to CertificateSigningRequest.
* Add support for creating signed certificates with CertificateBuilder. This 
includes support for the following extensions:
    * BasicConstraints
    * SubjectAlternativeName
    * KeyUsage
    * ExtendedKeyUsage
    * SubjectKeyIdentifier
    * AuthorityKeyIdentifier
    * AuthorityInformationAccess
    * CRLDistributionPoints
    * InhibitAnyPolicy
    * IssuerAlternativeName
    * OCSPNoCheck
* Add support for creating certificate signing requests with 
CertificateSigningRequestBuilder. This includes support for the same extensions 
supported in the CertificateBuilder.

...and numerous other small improvements!

This release is the result of 670 commits from 213 different pull requests. 
These pull requests were created by 23 different contributors.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.1 released

2015-10-30 Thread Paul Kehrer
On behalf of all our contributors I am pleased to announce the release of 
PyCA/cryptography (https://github.com/pyca/cryptography) 1.1! cryptography is a 
package which provides cryptographic recipes and primitives to Python 
developers. Our goal is for it to be your "cryptographic standard library". We 
support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/):

* Added support for Elliptic Curve Diffie-Hellman with ECDH.
* Added X963KDF.
* Added support for parsing certificate revocation lists (CRLs) using 
load_pem_x509_crl() and load_der_x509_crl().
* Add support for AES key wrapping with aes_key_wrap() and aes_key_unwrap().
* Added a __hash__ method to Name.
* Add support for encoding and decoding elliptic curve points to a byte string 
form using encode_point() and from_encoded_point().
* Added get_extension_for_class().
* CertificatePolicies are now supported in the CertificateBuilder.
* countryName is now encoded as a PrintableString when creating subject and 
issuer distinguished names with the Certificate and CSR builder classes.

...and other small improvements as always.


-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.0.1 released

2015-09-06 Thread Paul Kehrer
PyCA cryptography (https://github.com/pyca/cryptography) 1.0.1 has been 
released! cryptography is a package which provides cryptographic recipes and 
primitives to Python developers. Our goal is for it to be your "cryptographic 
standard library". We support Python 2.6-2.7, Python 3.3+, and PyPy 2.6+.

Changelog (https://cryptography.io/en/latest/changelog/)

* We now ship OS X wheels that statically link OpenSSL by default. When 
installing a wheel on OS X 10.10+ (and using a Python compiled against the 
10.10 SDK) users will no longer need to compile.
* Set the default string mask to UTF-8 in the OpenSSL backend to resolve 
character encoding issues with older versions of OpenSSL.
* Several new OpenSSL bindings have been added to support a future pyOpenSSL 
release.
* Raise an error during install on PyPy < 2.6. 1.0+ requires PyPy 2.6+.

Thanks to all the contributors who helped on this release, especially around 
infrastructure to support the new wheels.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.1.2 released

2015-12-11 Thread Paul Kehrer
PyCA/cryptography (https://github.com/pyca/cryptography) 1.1.2 has been 
released. cryptography is a package which provides cryptographic recipes and 
primitives to Python developers. Our goal is for it to be your "cryptographic 
standard library". We support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog:

* Fixed a SIGBUS crash with the OS X wheels caused by redefinition of a method.
* Fixed a runtime error "undefined symbol EC_GFp_nistp224_method" that occurred 
with some OpenSSL installations.
* Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2e.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA/cryptography 1.2 released

2016-01-09 Thread Paul Kehrer
On behalf of all our contributors I am pleased to announce the release of 
PyCA/cryptography (https://github.com/pyca/cryptography) version 1.2. 
cryptography is a package which provides cryptographic recipes and primitives 
to Python developers. Our goal is for it to be your "cryptographic standard 
library". We support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/):
 
* BACKWARDS INCOMPATIBLE: RevokedCertificate extensions now uses extension 
classes rather than returning raw values inside the Extension value.
* Deprecated support for OpenSSL 0.9.8 and 1.0.0. At this time there is no time 
table for actually dropping support, however we strongly encourage all users to 
upgrade as those versions no longer receive support from the OpenSSL project.
* The Certificate class now has signature and tbs_certificate_bytes attributes.
* The CertificateSigningRequest class now has signature and 
tbs_certrequest_bytes attributes.
* The CertificateRevocationList class now has signature and tbs_certlist_bytes 
attributes.
* NameConstraints are now supported in the CertificateBuilder and 
CertificateSigningRequestBuilder.
* Support serialization of certificate revocation lists using the 
public_bytes() method of CertificateRevocationList.
* Add support for parsing CertificateRevocationList extensions() in the OpenSSL 
backend.
* Added CertificateRevocationListBuilder and RevokedCertificateBuilder to allow 
creation of CRLs.
* Unrecognized non-critical X.509 extensions are now parsed into an 
UnrecognizedExtension object.

...and various other improvements. Please see the website changelog for 
documentation and additional details.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.2.1 released

2016-01-09 Thread Paul Kehrer
If one birthday release is good, two is surely better? To test that theory PyCA 
cryptography 1.2.1 has been released. This version, in addition to all the 
changes outlined in the 1.2 release, contains a fix for an issue that caused 
pyOpenSSL to raise an exception in many situations 
(https://cryptography.io/en/latest/changelog/).

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.1.1 released

2015-11-19 Thread Paul Kehrer
PyCA/cryptography (https://github.com/pyca/cryptography) 1.1.1 has been 
released. cryptography is a package which provides cryptographic recipes and 
primitives to Python developers. Our goal is for it to be your "cryptographic 
standard library". We support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog:

* Fixed several small bugs related to compiling the OpenSSL bindings with 
unusual OpenSSL configurations.
* Resolved an issue where, depending on the method of installation and which 
Python interpreter they were using, users on El Capitan (OS X 10.11) may have 
seen an InternalError on import.

Thanks to the users who donated their time in tracking down and resolving these 
issues.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.4 released

2016-06-06 Thread Paul Kehrer
Courtesy of the PyCon sprints, PyCA cryptography 1.4 has been released to
PyPI. cryptography is a package which provides cryptographic recipes and
primitives to Python developers. Our goal is for it to be your
"cryptographic standard library". We support Python 2.6-2.7, Python 3.3+,
and PyPy.

Changelog:

* Support for OpenSSL 0.9.8 has been removed. Users on older versions of
OpenSSL will need to upgrade.
* Added KBKDFHMAC.
* Added support for OpenSSH public key serialization.
* Added support for SHA-2 in RSA OAEP when using OpenSSL 1.0.2 or greater.
* Added "one shot" sign() and verify() APIs to RSA keys.


-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.3.3 released

2016-06-03 Thread Paul Kehrer
PyCA cryptography 1.3.3 has been released to PyPI. cryptography is a
package which provides cryptographic recipes and primitives to Python
developers. Our goal is for it to be your "cryptographic standard library".
We support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog:

* Added two new OpenSSL functions to the bindings to support an upcoming
pyOpenSSL release.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA/cryptography 1.3 released

2016-03-19 Thread Paul Kehrer
On behalf of all our contributors I am pleased to announce the release of 
PyCA/cryptography (https://github.com/pyca/cryptography) version 1.3. 
cryptography is a package which provides cryptographic recipes and primitives 
to Python developers. Our goal is for it to be your "cryptographic standard 
library". We support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/): 

* Added support for padding ANSI X.923 with ANSIX923.
* Deprecated support for OpenSSL 0.9.8. Support will be removed in cryptography 
1.4.
* Added support for the PolicyConstraints X.509 extension including both 
parsing and generation using CertificateBuilder and 
CertificateSigningRequestBuilder.
* Added is_signature_valid to CertificateSigningRequest.
* Fixed an intermittent AssertionError when performing an RSA decryption on an 
invalid ciphertext, ValueError is now correctly raised in all cases.
* Added from_issuer_subject_key_identifier().


...and the typical miscellaneous improvements. Please see the website changelog 
for documentation and additional details. 

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA/cryptography 1.3.1 released

2016-03-21 Thread Paul Kehrer
PyCA/cryptography 1.3.1 was just released to PyPI. This is a minor bugfix 
release that fixes the following:


* Fixed a bug that caused an AttributeError when using mock to patch some 
cryptography modules.


-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.7.2 released

2017-01-27 Thread Paul Kehrer
PyCA cryptography 1.7.2 has been released to PyPI. cryptography is a
package which provides cryptographic recipes and primitives to Python
developers. Our goal is for it to be your "cryptographic standard library".
We support Python 2.6-2.7, Python 3.3+, and PyPy.

This release updates the version of OpenSSL shipping in the Windows and
macOS wheels to 1.0.2k. There are no other changes.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.5.1 released

2016-09-23 Thread Paul Kehrer
PyCA cryptography 1.5.1 has been released to PyPI. cryptography is a
package which provides cryptographic recipes and primitives to Python
developers. Our goal is for it to be your "cryptographic standard library".
We support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog:

* Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2i.
* Resolved a UserWarning when used with cffi 1.8.3.
* Fixed a memory leak in name creation with X.509.
* Added a workaround for old versions of setuptools.
* Fixed an issue preventing cryptography from compiling against OpenSSL
1.0.2i.

With version 1.5.1 we are still linking 1.0.2 for the Mac and Windows
wheels, but in the 1.6 release we will switch to linking 1.1.0. Thanks to
all the contributors for their help on this release!

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


pyca/cryptography 1.5 released

2016-08-26 Thread Paul Kehrer
PyCA cryptography 1.5 has been released to PyPI. cryptography is a package
which provides cryptographic recipes and primitives to Python developers.
Our goal is for it to be your "cryptographic standard library". We support
Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog:

* Added calculate_max_pss_salt_length for RSA PSS.
* Added "one shot" DSAPrivateKey.sign andDSAPublicKey.verify methods to DSA
keys.
* Added "one shot" EllipticCurvePrivateKey.sign and
EllipticCurvePublicKey.verify methods to ECDSA keys.
* Switched back to the older callback model on Python 3.5 in order to
mitigate a locking callback problem with OpenSSL <1.1.0.
* x509.CertificateBuilder, x509.CertificateRevocationListBuilder, and
x509.RevokedCertificateBuilder now accept timezone aware datetime objects
as method arguments.
* cryptography now supports OpenSSL 1.1.0 as a compilation target.

As of 1.5 we are still linking 1.0.2h for the Mac and Windows wheels, but
in the 1.6 release we will switch to linking 1.1.0. Thanks to all the
contributors for their help on this release!

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.5.2 released

2016-09-27 Thread Paul Kehrer
PyCA cryptography 1.5.2 has been released to PyPI. cryptography is a
package which provides cryptographic recipes and primitives to Python
developers. Our goal is for it to be your "cryptographic standard library".
We support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog:

* Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2j.


-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.5.3 released

2016-11-06 Thread Paul Kehrer
PyCA cryptography 1.5.3 has been released to PyPI. cryptography is a
package which provides cryptographic recipes and primitives to Python
developers. Our goal is for it to be your "cryptographic standard library".
We support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog:

SECURITY ISSUE: Fixed a bug where HKDF would return an empty byte-string if
used with a length less than algorithm.digest_size. Credit to Markus Döring
for reporting the issue.


-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.7.1

2016-12-14 Thread Paul Kehrer
PyCA cryptography 1.7.1 has been released to PyPI. This is a small bug fix
release.

Changelog:

* Fixed a regression in int_from_bytes where it failed to accept bytearray.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA/cryptography 1.7 released

2016-12-12 Thread Paul Kehrer
PyCA cryptography 1.7 has been released to PyPI. cryptography is a package
which provides cryptographic recipes and primitives to Python developers.
Our goal is for it to be your "cryptographic standard library". We support
Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/#id1):

* Support for OpenSSL 1.0.0 has been removed. Users on older version of
OpenSSL will need to upgrade.
* Added support for Diffie-Hellman key exchange using exchange()
* The OS random engine for OpenSSL has been rewritten to improve
compatibility with embedded Python and other edge cases. More information
about this change can be found in the pull request.

Thanks to everyone who helped with this release! The upcoming cryptography
1.8 will (among other features) switch our static wheels to link against
OpenSSL 1.1.0.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.8 (and 1.8.1) released

2017-03-10 Thread Paul Kehrer
PyCA cryptography 1.8 (and 1.8.1) has been released to PyPI. cryptography
is a package which provides cryptographic recipes and primitives to Python
developers. Our goal is for it to be your "cryptographic standard library".
We support Python 2.6-2.7, Python 3.3+, and PyPy.

Changelog:

1.8.1

* Fixed macOS wheels to properly link against 1.1.0 rather than 1.0.2.


1.8

* Added support for Python 3.6.
* Windows and macOS wheels now link against OpenSSL 1.1.0.
* macOS wheels are no longer universal. This change significantly shrinks
the size of the wheels. Users on macOS 32-bit Python (if there are any)
should migrate to 64-bit or build their own packages.
* Changed ASN.1 dependency from pyasn1 to asn1crypto resulting in a general
performance increase when encoding/decoding ASN.1 structures. Also, the
``pyasn1_modules`` test dependency is no longer required.
* Added support for update_into on CipherContext.
* Added DHPrivateKeyWithSerialization.private_bytes.
* Added DHPublicKeyWithSerialization.public_bytes
* load_pem_private_key and load_der_private_key now require that
``password`` must be bytes if provided. Previously this
  was documented but not enforced.
* Added support for subgroup order in Diffie-Hellman key exchange.

Thanks to all the contributors on this release!

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.0.1 released

2017-07-28 Thread Paul Kehrer
PyCA cryptography 2.0.1 has been released to PyPI. cryptography includes
both high level recipes and low level interfaces
to common cryptographic algorithms such as symmetric ciphers, message
digests, and key derivation functions. We support Python 2.6-2.7, Python
3.4+, and PyPy.

* Fixed a compilation bug affecting OpenBSD.
* Altered the manylinux1 wheels to statically link OpenSSL instead of
dynamically linking and bundling the shared object. This should resolve
crashes seen when using uwsgi or other binaries that link against OpenSSL
independently.
* Fixed the stack level for the signer and verifier warnings.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.0 released

2017-07-17 Thread Paul Kehrer
PyCA cryptography 2.0 has been released to PyPI. cryptography includes both
high level recipes and low level interfaces
to common cryptographic algorithms such as symmetric ciphers, message
digests, and key derivation functions. We support Python 2.6-2.7, Python
3.4+, and PyPy.

* BACKWARDS INCOMPATIBLE: Support for Python 3.3 has been dropped.
* We now ship manylinux1 wheels linked against OpenSSL 1.1.0f. These wheels
will be automatically used with most Linux distributions if you are running
the latest pip.
* Deprecated the use of signer on RSAPrivateKey, DSAPrivateKey, and
EllipticCurvePrivateKey in favor of sign.
* Deprecated the use of verifier on RSAPublicKey, DSAPublicKey, and
EllipticCurvePublicKey in favor of verify.
* Added support for parsing SignedCertificateTimestamp objects from X.509
certificate extensions.
* Added support for ChaCha20Poly1305.
* Added support for AESCCM.
* Added AESGCM, a “one shot” API for AES GCM encryption.
* Added support for X25519 key exchange.
* Added support for serializing and deserializing Diffie-Hellman parameters
with load_pem_parameters(), load_der_parameters(), and parameter_bytes() .
* The extensions attribute on Certificate, CertificateSigningRequest,
CertificateRevocationList, and RevokedCertificate now caches the computed
Extensions object. There should be no performance change, just a
performance improvement for programs accessing the extensions attribute
multiple times.

Thanks to all the contributors!

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.0.3 released

2017-08-07 Thread Paul Kehrer
PyCA cryptography 2.0.3 has been released to PyPI. cryptography includes
both high level recipes and low level interfaces
to common cryptographic algorithms such as symmetric ciphers, message
digests, and key derivation functions. We support Python 2.6-2.7, Python
3.4+, and PyPy.

This release fixes an issue with weak linking symbols when compiling on
macOS versions older than 10.12. There are no other changes.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.8.2 released

2017-05-27 Thread Paul Kehrer
PyCA cryptography 1.8.2 has been released to PyPI. This is a small bug fix
release to correct an issue with compilation on OpenSSL 1.1.0f.

Changelog:

* Fixed a compilation bug affecting OpenSSL 1.1.0f.
* Updated Windows and macOS wheels to be compiled against OpenSSL 1.1.0f.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 1.9 released

2017-05-30 Thread Paul Kehrer
PyCA cryptography 1.8 (and 1.8.1) has been released to PyPI.
cryptography includes both high level recipes and low level interfaces
to common cryptographic algorithms such as symmetric ciphers, message
digests, and key derivation functions. We support Python 2.6-2.7,
Python 3.3+, and PyPy.

Changelog:

* BACKWARDS INCOMPATIBLE: Elliptic Curve signature verification no
longer returns True on success. This brings it in line with the
interface’s documentation, and our intent. The correct way to use
verify() has always been to check whether or not InvalidSignature was
raised.
* BACKWARDS INCOMPATIBLE: Dropped support for macOS 10.7 and 10.8.
* BACKWARDS INCOMPATIBLE: The minimum supported PyPy version is now 5.3.
* Python 3.3 support has been deprecated, and will be removed in the
next cryptography release.
* Add support for providing tag during GCM finalization via finalize_with_tag().
* Fixed an issue preventing cryptography from compiling against LibreSSL 2.5.x.
* Added key_size convenience methods for determining the bit size of a
secret scalar for an elliptic curve.
* Accessing an unrecognized extension marked critical on an X.509
object will no longer raise an UnsupportedExtension exception, instead
an UnrecognizedExtension object will be returned. This behavior was
based on a poor reading of the RFC, unknown critical extensions only
need to be rejected on certificate verification.
* The CommonCrypto backend has been removed.
* MultiBackend has been removed.
* Whirlpool and RIPEMD160 have been deprecated.

Thanks to all the contributors for their hard work on this release!

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.1.1 released

2017-10-12 Thread Paul Kehrer
PyCA cryptography 2.1.1 has been released to PyPI. cryptography includes
both high level recipes and low level interfaces
to common cryptographic algorithms such as symmetric ciphers, message
digests, and key derivation functions. We support Python 2.6-2.7, Python
3.4+, and PyPy.

This release, in addition to the changes from 2.1, contains the following:

* Fixed support for install with the system pip on Ubuntu 16.04.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.1.4 released

2017-11-30 Thread Paul Kehrer
PyCA cryptography 2.1.4 has been released to PyPI. cryptography includes
both high level recipes and low level interfaces to common cryptographic
algorithms such as symmetric ciphers, message digests, and key derivation
functions. We support Python 2.7, Python 3.4+, and PyPy.

Changelog:
* Added X509_up_ref for an upcoming pyOpenSSL release.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.1.3 released

2017-11-05 Thread Paul Kehrer
PyCA cryptography 2.1.3 has been released to PyPI. cryptography includes
both high level recipes and low level interfaces to common cryptographic
algorithms such as symmetric ciphers, message digests, and key derivation
functions. We support Python 2.7, Python 3.4+, and PyPy.

Changelog:
* Updated Windows, macOS, and manylinux1 wheels to be compiled with OpenSSL
1.1.0g.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.1.4 released

2017-12-11 Thread Paul Kehrer
PyCA cryptography 2.1.4 has been released to PyPI. cryptography includes both
high level recipes and low level interfaces to common cryptographic algorithms
such as symmetric ciphers, message digests, and key derivation functions. We
support Python 2.7, Python 3.4+, and PyPy.

Changelog:
* Added X509_up_ref for an upcoming pyOpenSSL release.

-Paul Kehrer (reaperhulk)

-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.1.2 released

2017-10-25 Thread Paul Kehrer
PyCA cryptography 2.1.2 has been released to PyPI. cryptography includes
both high level recipes and low level interfaces
to common cryptographic algorithms such as symmetric ciphers, message
digests, and key derivation functions. We support Python 2.7, Python 3.4+,
and PyPy.

Changelog:
* This release corrects a bug with the manylinux1 wheels where OpenSSL's
stack was marked executable.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.3.1 released

2018-08-20 Thread Paul Kehrer
PyCA cryptography 2.3.1 has been released to PyPI. cryptography includes
both high level recipes and low level interfaces to common cryptographic
algorithms such as symmetric ciphers, message digests, and key derivation
functions. We support Python 2.7, Python 3.4+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/#v2-3-1):

* Updated Windows, macOS, and manylinux1 wheels to be compiled with OpenSSL
1.1.0i.


-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.3 released

2018-07-18 Thread Paul Kehrer
PyCA cryptography 2.2.2 has been released to PyPI. cryptography includes
both high level recipes and low level interfaces to common cryptographic
algorithms such as symmetric ciphers, message digests, and key derivation
functions. We support Python 2.7, Python 3.4+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/#v2-3):

* SECURITY ISSUE: finalize_with_tag() allowed tag truncation by default
which can allow tag forgery in some cases. The method now enforces the
min_tag_length provided to the GCM constructor.
* Added support for Python 3.7.
* Added extract_timestamp() to get the authenticated timestamp of a Fernet
token.
* Support for Python 2.7.x without hmac.compare_digest has been deprecated.
We will require Python 2.7.7 or higher (or 2.7.6 on Ubuntu) in the next
cryptography release.
* Fixed multiple issues preventing cryptography from compiling against
LibreSSL 2.7.x.
* Added get_revoked_certificate_by_serial_number for quick serial number
searches in CRLs.
* The RelativeDistinguishedName class now preserves the order of
attributes. Duplicate attributes now raise an error instead of silently
discarding duplicates.
* aes_key_unwrap() and aes_key_unwrap_with_padding() now raise
InvalidUnwrap if the wrapped key is an invalid length, instead of
ValueError.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.2 released

2018-03-19 Thread Paul Kehrer
PyCA cryptography 2.2 has been released to PyPI. cryptography includes both
high level recipes and low level interfaces to common cryptographic
algorithms such as symmetric ciphers, message digests, and key derivation
functions. We support Python 2.7, Python 3.4+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/#v2-2):

* BACKWARDS INCOMPATIBLE: Support for Python 2.6 has been dropped. The last
version of cryptography that supports Python 2.6 is 2.1.4.
* Resolved a bug in HKDF that incorrectly constrained output size.
* Added BrainpoolP256R1, BrainpoolP384R1, and BrainpoolP512R1 to support
inter-operating with systems like German smart meters.
* Added token rotation support to Fernet with rotate().
* Fixed a memory leak in derive_private_key().
* Added support for AES key wrapping with padding via
aes_key_wrap_with_padding() and aes_key_unwrap_with_padding() .
* Allow loading DSA keys with 224 bit q.

Thanks to everyone who contributed!

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.2.1 released

2018-03-22 Thread Paul Kehrer
PyCA cryptography 2.2.1 has been released to PyPI. cryptography includes
both high level recipes and low level interfaces to common cryptographic
algorithms such as symmetric ciphers, message digests, and key derivation
functions. We support Python 2.7, Python 3.4+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/#v2-2-1
<https://cryptography.io/en/latest/changelog/#v2-2>):

* Reverted a change to GeneralNames which prohibited having zero elements,
due to breakages.
* Fixed a bug in aes_key_unwrap_with_padding() that caused it to raise
InvalidUnwrap when key length modulo 8 was zero.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.4.1 (and 2.4) released

2018-11-13 Thread Paul Kehrer
PyCA cryptography 2.4.1 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-4-1):

* Fixed a build breakage in our manylinux1 wheels.

Changelog (https://cryptography.io/en/latest/changelog/#v2-4):

* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL 2.4.x.
* Deprecated OpenSSL 1.0.1 support. OpenSSL 1.0.1 is no longer supported by
the OpenSSL project. At this time there is no time table for dropping
support, however we strongly encourage all users to upgrade or install
cryptography from a wheel.
* Added initial OCSP support.
* Added support for PrecertPoison.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.5 released

2019-01-23 Thread Paul Kehrer
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-5):

* BACKWARDS INCOMPATIBLE: U-label strings were deprecated in version 2.1,
but this version removes the default idna dependency as well. If you still
need this deprecated path please install cryptography with the idna extra:
pip install cryptography[idna].
* BACKWARDS INCOMPATIBLE: The minimum supported PyPy version is now 5.4.
* Numerous classes and functions have been updated to allow bytes-like
types for keying material and passwords, including symmetric algorithms,
AEAD ciphers, KDFs, loading asymmetric keys, and one time password classes.
* Updated Windows, macOS, and manylinux1 wheels to be compiled with OpenSSL
1.1.1a.
* Added support for SHA512_224 and SHA512_256 when using OpenSSL 1.1.1.
* Added support for SHA3_224, SHA3_256, SHA3_384, and SHA3_512 when using
OpenSSL 1.1.1.
* Added support for X448 key exchange when using OpenSSL 1.1.1.
* Added support for SHAKE128 and SHAKE256 when using OpenSSL 1.1.1.
* Added initial support for parsing PKCS12 files with
load_key_and_certificates().
* Added support for IssuingDistributionPoint.
* Added rfc4514_string() method to x509.Name,
x509.RelativeDistinguishedName, and x509.NameAttribute to format the name
or component an RFC 4514 Distinguished Name string.
* Added from_encoded_point(), which immediately checks if the point is on
the curve and supports compressed points. Deprecated the previous method
from_encoded_point().
* Added signature_hash_algorithm to OCSPResponse.
* Updated X25519 key exchange support to allow additional serialization
methods. Calling public_bytes() with no arguments has been deprecated.
* Added support for encoding compressed and uncompressed points via
public_bytes(). Deprecated the previous method encode_point().

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.4.2 released

2018-11-21 Thread Paul Kehrer
PyCA cryptography 2.4.2 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-4-2):

* Updated Windows, macOS, and manylinux1 wheels to be compiled with OpenSSL
1.1.0j.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.6.1 released

2019-02-28 Thread Paul Kehrer
PyCA cryptography 2.6.1 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-1):

* Resolved an error in our build infrastructure that broke our Python3
wheels for macOS and Linux.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.7 released

2019-06-04 Thread Paul Kehrer
PyCA cryptography 2.7 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-7):
* Updated Windows, macOS, and manylinux1 wheels to be compiled with OpenSSL
1.1.1c.
* BACKWARDS INCOMPATIBLE: We no longer distribute 32-bit manylinux1 wheels.
Continuing to produce them was a maintenance burden.
* BACKWARDS INCOMPATIBLE: Removed the
cryptography.hazmat.primitives.mac.MACContext interface. The CMAC and HMAC
APIs have not changed, but they are no longer registered as MACContext
instances.
* Removed support for running our tests with setup.py test. Users
interested in running our tests can continue to follow the directions in
our development documentation.
* Add support for Poly1305 when using OpenSSL 1.1.1 or newer.
* Support serialization with Encoding.OpenSSH and PublicFormat.OpenSSH in
Ed25519PublicKey.public_bytes .
* Correctly allow passing a SubjectKeyIdentifier to
from_issuer_subject_key_identifier() and deprecate passing an Extension
object. The documentation always required SubjectKeyIdentifier but the
implementation previously required an Extension.

-Paul Kehrer (reaperhulk)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.8 released

2019-10-17 Thread Paul Kehrer
PyCA cryptography 2.8 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-8):
* Updated Windows, macOS, and manylinux1 wheels to be compiled with OpenSSL
1.1.1d.
* Added support for Python 3.8.
* Added class methods Poly1305.generate_tag and Poly1305.verify_tag for
Poly1305 sign and verify operations.
* Deprecated support for OpenSSL 1.0.1. Support will be removed in
cryptography 2.9.
* We now ship manylinux2010 wheels in addition to our manylinux1 wheels.
* Added support for ed25519 and ed448 keys in the CertificateBuilder,
CertificateSigningRequestBuilder, CertificateRevocationListBuilder and
OCSPResponseBuilder.
* cryptography no longer depends on asn1crypto.
* FreshestCRL is now allowed as a CertificateRevocationList extension.

-Paul Kehrer (reaperhulk)
--
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 2.9 released

2020-04-02 Thread Paul Kehrer
PyCA cryptography 2.9 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.5+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/#v2-9):
* BACKWARDS INCOMPATIBLE: Support for Python 3.4 has been removed due
to low usage and maintenance burden.
* BACKWARDS INCOMPATIBLE: Support for OpenSSL 1.0.1 has been removed.
Users on older version of OpenSSL will need to upgrade.
* BACKWARDS INCOMPATIBLE: Support for LibreSSL 2.6.x has been removed.
* Removed support for calling public_bytes() with no arguments, as per
our deprecation policy. You must now pass encoding and format.
* BACKWARDS INCOMPATIBLE: Reversed the order in which rfc4514_string()
returns the RDNs as required by RFC 4514.
* Updated Windows, macOS, and manylinux wheels to be compiled with
OpenSSL 1.1.1f.
* Added support for parsing single_extensions in an OCSP response.
* NameAttribute values can now be empty strings.


-Paul Kehrer (reaperhulk)
--
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCA cryptography 3.1 released

2020-08-27 Thread Paul Kehrer
PyCA cryptography 3.1 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.5+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/#v3-1):
* BACKWARDS INCOMPATIBLE: Removed support for idna based U-label parsing in
various X.509 classes. This support was originally deprecated in version
2.1 and moved to an extra in 2.5.
* Deprecated OpenSSL 1.0.2 support. OpenSSL 1.0.2 is no longer supported by
the OpenSSL project. The next version of cryptography will drop support for
it.
* Deprecated support for Python 3.5. This version sees very little use and
will be removed in the next release.
* backend arguments to functions are no longer required and the default
backend will automatically be selected if no backend is provided.
* Added initial support for parsing certificates from PKCS7 files with
load_pem_pkcs7_certificates() and load_der_pkcs7_certificates() .
* Calling update or update_into on CipherContext with data longer than 231
bytes no longer raises an OverflowError. This also resolves the same issue
in Fernet (symmetric encryption).

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.1.1 released

2020-09-22 Thread Paul Kehrer
PyCA cryptography 3.1.1 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.5+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/#v3-1-1):
* Updated Windows, macOS, and manylinux wheels to be compiled with OpenSSL
1.1.1h.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.2.1 released

2020-10-28 Thread Paul Kehrer
PyCA cryptography 3.2.1 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.5+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog.html#v3-2-1):
* Disable blinding on RSA public keys to address an error with some
versions of OpenSSL.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.2 released

2020-10-26 Thread Paul Kehrer
PyCA cryptography 3.2 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.5+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/):
* SECURITY ISSUE: Attempted to make RSA PKCS#1v1.5 decryption more constant
time, to protect against Bleichenbacher vulnerabilities. Due to limitations
imposed by our API, we cannot completely mitigate this vulnerability and a
future release will contain a new API which is designed to be resilient to
these for contexts where it is required. Credit to Hubert Kario for
reporting the issue. CVE-2020-25659
* Support for OpenSSL 1.0.2 has been removed. Users on older versions of
OpenSSL will need to upgrade.
* Added basic support for PKCS7 signing (including SMIME) via
PKCS7SignatureBuilder.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.0 released

2020-07-20 Thread Paul Kehrer
PyCA cryptography 3.0 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.5+, and PyPy.

Changelog (https://cryptography.io/en/latest/changelog/#v3-0):
* BACKWARDS INCOMPATIBLE: Removed support for passing an Extension
instance to from_issuer_subject_key_identifier(), as per our
deprecation policy.
* BACKWARDS INCOMPATIBLE: Support for LibreSSL 2.7.x, 2.8.x, and 2.9.0
has been removed (2.9.1+ is still supported).
* BACKWARDS INCOMPATIBLE: Dropped support for macOS 10.9, macOS users
must upgrade to 10.10 or newer.
* BACKWARDS INCOMPATIBLE: RSA generate_private_key() no longer accepts
public_exponent values except 65537 and 3 (the latter for legacy
purposes).
* BACKWARDS INCOMPATIBLE: X.509 certificate parsing now enforces that
the version field contains a valid value, rather than deferring this
check until version is accessed.
* Deprecated support for Python 2. 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 no longer receives support from
the Python core team.
* Added support for OpenSSH serialization format for ec, ed25519, rsa
and dsa private keys: load_ssh_private_key() for loading and OpenSSH
for writing.
* Added support for OpenSSH certificates to load_ssh_public_key().
* Added encrypt_at_time() and decrypt_at_time() to Fernet.
* Added support for the SubjectInformationAccess X.509 extension.
* Added support for parsing SignedCertificateTimestamps in OCSP responses.
* Added support for parsing attributes in certificate signing requests
viaget_attribute_for_oid().
* Added support for encoding attributes in certificate signing
requests via add_attribute().
* On OpenSSL 1.1.1d and higher cryptography now uses OpenSSL’s
built-in CSPRNG instead of its own OS random engine because these
versions of OpenSSL properly reseed on fork.
* Added initial support for creating PKCS12 files with
serialize_key_and_certificates().

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.3 released

2020-12-08 Thread Paul Kehrer
PyCA cryptography 3.3 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.6+, and PyPy.

Please note that this is the final version that will support Python 2.7!

Changelog (https://cryptography.io/en/latest/changelog/):
* BACKWARDS INCOMPATIBLE: Support for Python 3.5 has been removed due to
low usage and maintenance burden.
* BACKWARDS INCOMPATIBLE: The GCM and AESGCM now require 64-bit to 1024-bit
(8 byte to 128 byte) initialization vectors. This change is to conform with
an upcoming OpenSSL release that will no longer support sizes outside this
window.
* BACKWARDS INCOMPATIBLE: When deserializing asymmetric keys we now raise
ValueError rather than UnsupportedAlgorithm when an unsupported cipher is
used. This change is to conform with an upcoming OpenSSL release that will
no longer distinguish between error types.
* BACKWARDS INCOMPATIBLE: We no longer allow loading of finite field
Diffie-Hellman parameters of less than 512 bits in length. This change is
to conform with an upcoming OpenSSL release that no longer supports smaller
sizes. These keys were already wildly insecure and should not have been
used in any application outside of testing.
* Updated Windows, macOS, and manylinux wheels to be compiled with OpenSSL
1.1.1i.
* Python 2 support is deprecated in cryptography. This is the last release
that will support Python 2.
* Added the recover_data_from_signature() function to RSAPublicKey for
recovering the signed data from an RSA signature.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.3.1 released

2020-12-09 Thread Paul Kehrer
PyCA cryptography 3.3.1 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.6+, and PyPy.

Please note that this is the final version that will support Python 2.7!

Changelog (https://cryptography.io/en/latest/changelog/):

* Re-added a legacy symbol causing problems for older ``pyOpenSSL`` users.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.3.2 and 3.4 released

2021-02-07 Thread Paul Kehrer
PyCA cryptography 3.3.2 and 3.4 have 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.

3.3.2 supports Python 2.7, Python 3.6+, and PyPy, while 3.4 supports
Python 3.6+ (including PyPy3).

3.3.2 Changelog (https://cryptography.io/en/latest/changelog.html#v3-3-2):
* SECURITY ISSUE: Fixed a bug where certain sequences of update()
calls when symmetrically encrypting very large payloads (>2GB) could
result in an integer overflow, leading to buffer overflows.
CVE-2020-36242

Please note 3.3.2 is the FINAL RELEASE supporting Python 2.7.

3.4 Changelog (https://cryptography.io/en/latest/changelog.html#v3-4)
* BACKWARDS INCOMPATIBLE: Support for Python 2 has been removed.
* We now ship manylinux2014 wheels and no longer ship manylinux1
wheels. Users should upgrade to the latest pip to ensure this doesn’t
cause issues downloading wheels on their platform.
cryptography now incorporates Rust code. Users building cryptography
themselves will need to have the Rust toolchain installed. Users who
use an officially produced wheel will not need to make any changes.
The minimum supported Rust version is 1.45.0.
* cryptography now has PEP 484 type hints on nearly all of of its
public APIs. Users can begin using them to type check their code with
mypy.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.4.1 released

2021-02-07 Thread Paul Kehrer
PyCA cryptography 3.4.1 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog.html#v3-4-1):
* Fixed a circular import issue.
* Added additional debug output to assist users seeing installation
errors due to outdated pip or missing rustc.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.4.7 released

2021-03-25 Thread Paul Kehrer
PyCA cryptography 3.4.7 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog.html#v3-4-7):
* Updated Windows, macOS, and manylinux wheels to be compiled with
OpenSSL 1.1.1k.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.4.6 released

2021-02-16 Thread Paul Kehrer
PyCA cryptography 3.4.6 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog.html#v3-4-6):
* Updated Windows, macOS, and manylinux wheels to be compiled with
OpenSSL 1.1.1j.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


PyCA cryptography 3.4.5 released

2021-02-13 Thread Paul Kehrer
PyCA cryptography 3.4.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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog.html#v3-4-5):
* Various improvements to type hints.
* Lower the minimum supported Rust version (MSRV) to >=1.41.0. This
change improves compatibility with system-provided Rust on several
Linux distributions.
* cryptography will be switching to a new versioning scheme with its
next feature release. More information is available in our API
stability documentation.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce]PyCA cryptography 3.4.8 released

2021-08-24 Thread Paul Kehrer
PyCA cryptography 3.4.8 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog.html#v3-4-8):
* Updated Windows, macOS, and manylinux wheels to be compiled with
OpenSSL 1.1.1l.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 35.0.0 released

2021-09-30 Thread Paul Kehrer
PyCA cryptography 35.0.0 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v35-0-0):
* Changed the version scheme. This will result in us incrementing the
major version more frequently, but does not change our existing
backwards compatibility policy.
* BACKWARDS INCOMPATIBLE: The X.509 certificate parser no longer
allows negative serial numbers. RFC 5280 has always prohibited these.
* BACKWARDS INCOMPATIBLE: Invalid ASN.1 found during X.509 parsing
will raise an error on initial parse rather than when the invalid
field is accessed.
* Rust is now required for building cryptography, the
CRYPTOGRAPHY_DONT_BUILD_RUST environment variable is no longer
respected.
* Parsers for X.509 no longer use OpenSSL and have been rewritten in
Rust. This should be backwards compatible (modulo the items listed
above) and improve both security and performance.
* Added support for OpenSSL 3.0.0 as a compilation target.
* Added support for SM3 and SM4, when using OpenSSL 1.1.1. These
algorithms are provided for compatibility in regions where they may be
required, and are not generally recommended.
* We now ship manylinux_2_24 and musllinux_1_1 wheels, in addition to
our manylinux2010 and manylinux2014 wheels. Users on distributions
like Alpine Linux should ensure they upgrade to the latest pip to
correctly receive wheels.
* Added rfc4514_attribute_name attribute to x509.NameAttribute.
* Added KBKDFCMAC.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 36.0.0 released

2021-11-21 Thread Paul Kehrer
PyCA cryptography 36.0.0 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 3.6+, and PyPy3.

(As a reminder, cryptography changed its versioning scheme with 35.0.
For more information see
https://cryptography.io/en/latest/api-stability/#versioning)

Changelog (https://cryptography.io/en/latest/changelog/#v36-0-0):
* FINAL DEPRECATION: Support for verifier and signer on our asymmetric
key classes was deprecated in version 2.1. These functions had an
extended deprecation due to usage, however the next version of
cryptography will drop support. Users should migrate to sign and
verify.
* The entire X.509 layer is now written in Rust. This allows alternate
asymmetric key implementations that can support cloud key management
services or hardware security modules provided they implement the
necessary interface (for example: EllipticCurvePrivateKey).
* Deprecated the backend argument for all functions.
* Added support for AESOCB3.
* Added support for iterating over arbitrary request attributes.
* Deprecated the get_attribute_for_oid method on
CertificateSigningRequest in favor of get_attribute_for_oid() on the
new Attributes object.
* Fixed handling of PEM files to allow loading when certificate and
key are in the same file.
* Fixed parsing of CertificatePolicies extensions containing legacy
BMPString values in their explicitText.
* Allow parsing of negative serial numbers in certificates. Negative
serial numbers are prohibited by RFC 5280 so a deprecation warning
will be raised whenever they are encountered. A future version of
cryptography will drop support for parsing them.
* Added support for parsing PKCS12 files with friendly names for all
certificates with load_pkcs12(), which will return an object of type
PKCS12KeyAndCertificates.
rfc4514_string() and related methods now have an optional
attr_name_overrides parameter to supply custom OID to name mappings,
which can be used to match vendor-specific extensions.
* BACKWARDS INCOMPATIBLE: Reverted the nonstandard formatting of email
address fields as E in rfc4514_string() methods from version 35.0. The
previous behavior can be restored with:
name.rfc4514_string({NameOID.EMAIL_ADDRESS: "E"})
* Allow X25519PublicKey and X448PublicKey to be used as public keys
when parsing certificates or creating them with CertificateBuilder.
These key types must be signed with a different signing algorithm as
X25519 and X448 do not support signing.
* Extension values can now be serialized to a DER byte string by
calling public_bytes().
* Added experimental support for compiling against BoringSSL. As
BoringSSL does not commit to a stable API, cryptography tests against
the latest commit only. Please note that several features are not
available when building against BoringSSL.
* Parsing CertificateSigningRequest from DER and PEM now, for a
limited time period, allows the Extension critical field to be
incorrectly encoded. See the issue for complete details. This will be
reverted in a future cryptography release.
* When OCSPNonce are parsed and generated their value is now correctly
wrapped in an ASN.1 OCTET STRING. This conforms to RFC 6960 but
conflicts with the original behavior specified in RFC 2560. For a
temporary period for backwards compatibility, we will also parse
values that are encoded as specified in RFC 2560 but this behavior
will be removed in a future release.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 36.0.1 released

2021-12-14 Thread Paul Kehrer
PyCA cryptography 36.0.1 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v36-0-1):
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1m.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 36.0.2 released

2022-03-15 Thread Paul Kehrer
PyCA cryptography 36.0.2 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v36-0-2):
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1n.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 41.0.5 released

2023-10-24 Thread Paul Kehrer
PyCA cryptography 41.0.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 3.7+, and PyPy3 7.3.10+.

Changelog (https://cryptography.io/en/latest/changelog/#v41-0-5):
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.4.
* Added a function to support an upcoming pyOpenSSL release.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 37.0.0 released

2022-04-26 Thread Paul Kehrer
PyCA cryptography 37.0.0 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v37-0-0):
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.2.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL 2.9.x and
3.0.x. The new minimum LibreSSL version is 3.1+.
* BACKWARDS INCOMPATIBLE: Removed signer and verifier methods from the
public key and private key classes. These methods were originally
deprecated in version 2.0, but had an extended deprecation timeline
due to usage. Any remaining users should transition to sign and
verify.
* Deprecated OpenSSL 1.1.0 support. OpenSSL 1.1.0 is no longer
supported by the OpenSSL project. The next release of cryptography
will be the last to support compiling with OpenSSL 1.1.0.
* Deprecated Python 3.6 support. Python 3.6 is no longer supported by
the Python core team. Support for Python 3.6 will be removed in a
future cryptography release.
* Deprecated the current minimum supported Rust version (MSRV) of
1.41.0. In the next release we will raise MSRV to 1.48.0. Users with
the latest pip will typically get a wheel and not need Rust installed,
but check Installation for documentation on installing a newer rustc
if required.
* Deprecated CAST5, SEED, IDEA, and Blowfish because they are legacy
algorithms with extremely low usage. These will be removed in a future
version of cryptography.
* Added limited support for distinguished names containing a bit string.
* We now ship universal2 wheels on macOS, which contain both arm64 and
x86_64 architectures. Users on macOS should upgrade to the latest pip
to ensure they can use this wheel, although we will continue to ship
x86_64 specific wheels for now to ease the transition.
* This will be the final release for which we ship manylinux2010
wheels. Going forward the minimum supported manylinux ABI for our
wheels will be manylinux2014. The vast majority of users will continue
to receive manylinux wheels provided they have an up to date pip. For
PyPy wheels this release already requires manylinux2014 for
compatibility with binaries distributed by upstream.
* Added support for multiple OCSPSingleResponse in a OCSPResponse.
* Restored support for signing certificates and other structures in
X.509 with SHA3 hash algorithms.
* TripleDES is disabled in FIPS mode.
* Added support for serialization of PKCS#12 CA friendly names/aliases
in serialize_key_and_certificates()
* Added support for 12-15 byte (96 to 120 bit) nonces to AESOCB3. This
class previously supported only 12 byte (96 bit).
* Added support for AESSIV when using OpenSSL 3.0.0+.
* Added support for serializing PKCS7 structures from a list of
certificates with serialize_certificates.
* Added support for parsing RFC 4514 strings with from_rfc4514_string().
* Added AUTO to PSS. This can be used to verify a signature where the
salt length is not already known.
* Added DIGEST_LENGTH to PSS. This constant will set the salt length
to the same length as the PSS hash algorithm.
* Added support for loading RSA-PSS key types with
load_pem_private_key() and load_der_private_key(). This functionality
is limited to OpenSSL 1.1.1e+ and loads the key as a normal RSA
private key, discarding the PSS constraint information.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 37.0.1 released

2022-04-27 Thread Paul Kehrer
PyCA cryptography 37.0.0 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v37-0-1):
* Fixed an issue where parsing an encrypted private key with the
public loader functions would hang waiting for console input on
OpenSSL 3.0.x rather than raising an error.
* Restored some legacy symbols for older pyOpenSSL users. These will
be removed again in the future, so pyOpenSSL users should still
upgrade to the latest version of that package when they upgrade
cryptography.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA bcrypt 3.2.1 released

2022-05-01 Thread Paul Kehrer
PyCA bcrypt 3.2.1 has been released to PyPI. Bcrypt provides
modern(-ish) password hashing using, unsurprisingly, the bcrypt
algorithm.

Changelog:
* Added support for compilation on z/OS
* The next release of bcrypt will be 4.0 and it will require Rust at
compile time, for users building from source. There will be no
additional requirement for users who are installing from wheels. Users
on most platforms will be able to obtain a wheel by making sure they
have an up to date pip. The minimum supported Rust version will be
1.56.0.
* This will be the final release for which we ship manylinux2010
wheels. Going forward the minimum supported manylinux ABI for our
wheels will be manylinux2014. The vast majority of users will continue
to receive manylinux wheels provided they have an up to date pip.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 37.0.2

2022-05-03 Thread Paul Kehrer
PyCA cryptography 37.0.2 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v37-0-2):
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.3.
* Added a constant needed for an upcoming pyOpenSSL release.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 38.0.0 released

2022-09-06 Thread Paul Kehrer
PyCA cryptography 38.0.0 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v38-0-0):
* Final deprecation of OpenSSL 1.1.0. The next release of cryptography
will drop support.
* We no longer ship manylinux2010 wheels. Users should upgrade to the
latest pip to ensure this doesn’t cause issues downloading wheels on
their platform. We now ship manylinux_2_28 wheels for users on new
enough platforms.
* Updated the minimum supported Rust version (MSRV) to 1.48.0, from
1.41.0. Users with the latest pip will typically get a wheel and not
need Rust installed, but check Installation for documentation on
installing a newer rustc if required.
decrypt() and related methods now accept both str and bytes tokens.
* Parsing CertificateSigningRequest restores the behavior of enforcing
that the Extension critical field must be correctly encoded DER. See
the issue for complete details.
* Added two new OpenSSL functions to the bindings to support an
upcoming pyOpenSSL release.
* When parsing CertificateRevocationList and CertificateSigningRequest
values, it is now enforced that the version value in the input must be
valid according to the rules of RFC 2986 and RFC 5280.
* Using MD5 or SHA1 in CertificateBuilder and other X.509 builders is
deprecated and support will be removed in the next version.
* Added additional APIs to SignedCertificateTimestamp, including
signature_hash_algorithm, signature_algorithm, signature, and
extension_bytes.
* Added tbs_precertificate_bytes, allowing users to access the
to-be-signed pre-certificate data needed for signed certificate
timestamp verification.
* KBKDFHMAC and KBKDFCMAC now support MiddleFixed counter location.
* Fixed RFC 4514 name parsing to reverse the order of the RDNs
according to the section 2.1 of the RFC, affecting method
from_rfc4514_string().
* It is now possible to customize some aspects of encryption when
serializing private keys, using encryption_builder().
* Removed several legacy symbols from our OpenSSL bindings. Users of
pyOpenSSL versions older than 22.0 will need to upgrade.
* Added AES128 and AES256 classes. These classes do not replace AES
(which allows all AES key lengths), but are intended for applications
where developers want to be explicit about key length.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 38.0.1 released

2022-09-07 Thread Paul Kehrer
PyCA cryptography 38.0.1 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v38-0-1):
* Fixed parsing TLVs in ASN.1 with length greater than 65535 bytes (typically
seen in large CRLs).

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 38.0.2 released

2022-10-11 Thread Paul Kehrer
PyCA cryptography 38.0.2 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v38-0-2):
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.6.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 38.0.3 released

2022-11-01 Thread Paul Kehrer
PyCA cryptography 38.0.3 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v38-0-3):
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
3.0.7, which resolves CVE-2022-3602 and CVE-2022-3786.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 39.0.0 released

2023-01-01 Thread Paul Kehrer
PyCA cryptography 39.0.0 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v39-0-0):
* BACKWARDS INCOMPATIBLE: Support for OpenSSL 1.1.0 has been removed.
Users on older versions of OpenSSL will need to upgrade. Note that
this does not affect users of our wheels.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.5. The new
minimum LibreSSL version is 3.5.0. Going forward our policy is to
support versions of LibreSSL that are available in versions of OpenBSD
that are still receiving security support.
* BACKWARDS INCOMPATIBLE: Removed the encode_point and
from_encoded_point methods onEllipticCurvePublicNumbers, which had
been deprecated for several years. public_bytes()
andfrom_encoded_point() should be used instead.
* BACKWARDS INCOMPATIBLE: Support for using MD5 or SHA1 in
CertificateBuilder, other X.509 builders, and PKCS7 has been removed.
* BACKWARDS INCOMPATIBLE: Dropped support for macOS 10.10 and 10.11,
macOS users must upgrade to 10.12 or newer.
* ANNOUNCEMENT: The next version of cryptography (40.0) will change
the way we link OpenSSL. This will only impact users who build
cryptography from source (i.e., not from a wheel), and specify their
own version of OpenSSL. For those users, the CFLAGS, LDFLAGS, INCLUDE,
LIB, and CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS environment variables will
no longer be respected. Instead, users will need to configure their
builds as documented here.
* Added support for disabling the legacy provider in OpenSSL 3.0.x.
* Added support for disabling RSA key validation checks when loading
RSA keys via load_pem_private_key(), load_der_private_key(), and
private_key(). This speeds up key loading but is unsafe if you are
loading potentially attacker supplied keys.
* Significantly improved performance for ChaCha20Poly1305 when
repeatedly calling encrypt or decrypt with the same key.
* Added support for creating OCSP requests with precomputed hashes
using add_certificate_by_hash().
* Added support for loading multiple PEM-encoded X.509 certificates
from a single input via load_pem_x509_certificates().

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 38.0.4 released

2022-11-27 Thread Paul Kehrer
PyCA cryptography 38.0.4 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v38-0-4):
* Fixed compilation when using LibreSSL 3.6.0.
* Fixed error when using py2app to build an application with a
cryptography dependency.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 40.0.0 released

2023-03-24 Thread Paul Kehrer
PyCA cryptography 40.0.0 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 3.6+, and PyPy3 7.3.10+.

Changelog (https://cryptography.io/en/latest/changelog/#v40-0-0):
* BACKWARDS INCOMPATIBLE: As announced in the 39.0.0 changelog, the
way cryptography links OpenSSL has changed. This only impacts users
who build cryptography from source (i.e., not from a wheel), and
specify their own version of OpenSSL. For those users, the CFLAGS,
LDFLAGS, INCLUDE, LIB, and CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS
environment variables are no longer valid. Instead, users need to
configure their builds as documented here.
* Support for Python 3.6 is deprecated and will be removed in the next release.
* Deprecated the current minimum supported Rust version (MSRV) of
1.48.0. In the next release we will raise MSRV to 1.56.0. Users with
the latest pip will typically get a wheel and not need Rust installed,
but check Installation for documentation on installing a newer rustc
if required.
* Deprecated support for OpenSSL less than 1.1.1d. The next release of
cryptography will drop support for older versions.
* Deprecated support for DSA keys in load_ssh_public_key() and
load_ssh_private_key().
* Deprecated support for OpenSSH serialization in DSAPublicKey and
DSAPrivateKey.
* The minimum supported version of PyPy3 is now 7.3.10.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.0.
* Added support for parsing SSH certificates in addition to public
keys with load_ssh_public_identity(). load_ssh_public_key() continues
to support only public keys.
* Added support for generating SSH certificates with SSHCertificateBuilder.
* Added verify_directly_issued_by() to Certificate.
* Added a check to NameConstraints to ensure that DNSName constraints
do not contain any * wildcards.
* Removed many unused CFFI OpenSSL bindings. This will not impact you
unless you are using cryptography to directly invoke OpenSSL’s C API.
Note that these have never been considered a stable, supported, public
API by cryptography, this note is included as a courtesy.
* The X.509 builder classes now raise UnsupportedAlgorithm instead of
ValueError if an unsupported hash algorithm is passed.
* Added public union type aliases for type hinting:
Asymmetric types: PublicKeyTypes, PrivateKeyTypes,
CertificatePublicKeyTypes, CertificateIssuerPublicKeyTypes,
CertificateIssuerPrivateKeyTypes
SSH keys: SSHPublicKeyTypes, SSHPrivateKeyTypes,
SSHCertPublicKeyTypes, SSHCertPrivateKeyTypes
PKCS12: PKCS12PrivateKeyTypes
PKCS7: PKCS7HashTypes, PKCS7PrivateKeyTypes
Two-factor: HOTPHashTypes
* Deprecated previously undocumented but not private type aliases in
the cryptography.hazmat.primitives.asymmetric.types module in favor of
new ones above.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 40.0.1 released

2023-03-25 Thread Paul Kehrer
PyCA cryptography 40.0.1 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 3.6+, and PyPy3 7.3.10+.

Changelog (https://cryptography.io/en/latest/changelog/#v40-0-1):
* Fixed a bug where certain operations would fail if an object
happened to be in the top-half of the memory-space. This only impacted
32-bit systems.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 39.0.2 released

2023-03-02 Thread Paul Kehrer
PyCA cryptography 39.0.2 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v39-0-2)

* Fixed a bug where the content type header was not properly encoded
for PKCS7 signatures when using the ``Text`` option and ``SMIME``
encoding.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 40.0.2 released

2023-04-14 Thread Paul Kehrer
PyCA cryptography 40.0.2 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 3.6+, and PyPy3 7.3.10+.

Changelog (https://cryptography.io/en/latest/changelog/#v40-0-2):
* Fixed compilation when using LibreSSL 3.7.2.
* Added some functions to support an upcoming pyOpenSSL release.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 39.0.1 released

2023-02-07 Thread Paul Kehrer
PyCA cryptography 39.0.1 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 3.6+, and PyPy3.

Changelog (https://cryptography.io/en/latest/changelog/#v39-0-1)

* SECURITY ISSUE - Fixed a bug where Cipher.update_into accepted
Python buffer protocol objects, but allowed immutable buffers.
CVE-2023-23931
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.8.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 41.0.2 released

2023-07-10 Thread Paul Kehrer
PyCA cryptography 41.0.2 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 3.7+, and PyPy3 7.3.10+.

Changelog (https://cryptography.io/en/latest/changelog/#v41-0-2):
* Fixed bugs in creating and parsing SSH certificates where critical
options with values were handled incorrectly. Certificates are now
created correctly and parsing accepts correct values as well as the
previously generated invalid forms with a warning. In the next
release, support for parsing these invalid forms will be removed.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 41.0.1 released

2023-06-01 Thread Paul Kehrer
PyCA cryptography 41.0.1 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 3.7+, and PyPy3 7.3.10+.

Changelog (https://cryptography.io/en/latest/changelog/#v41-0-1):
* Temporarily allow invalid ECDSA signature algorithm parameters in
X.509 certificates, which are generated by older versions of Java.
* Allow null bytes in pass phrases when serializing private keys.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 41.0.0 released

2023-05-30 Thread Paul Kehrer
PyCA cryptography 41.0.0 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 3.7+, and PyPy3 7.3.10+.

Changelog (https://cryptography.io/en/latest/changelog/#v41-0-0):
* BACKWARDS INCOMPATIBLE: Support for OpenSSL less than 1.1.1d has
been removed. Users on older version of OpenSSL will need to upgrade.
* BACKWARDS INCOMPATIBLE: Support for Python 3.6 has been removed.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.6.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.1.
* Updated the minimum supported Rust version (MSRV) to 1.56.0, from 1.48.0.
* Added support for the OCSPAcceptableResponses OCSP extension.
* Added support for the MSCertificateTemplate proprietary Microsoft
certificate extension.
* Implemented support for equality checks on all asymmetric public key types.
* Added support for aes256-...@openssh.com encrypted keys in
load_ssh_private_key().
* Added support for obtaining X.509 certificate signature algorithm
parameters (including PSS) via signature_algorithm_parameters().
* Support signing PSS X.509 certificates via the new keyword-only
argument rsa_padding on sign().
* Added support for ChaCha20Poly1305 on BoringSSL.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 41.0.3 released

2023-08-01 Thread Paul Kehrer
PyCA cryptography 41.0.3 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 3.7+, and PyPy3 7.3.10+.

Changelog (https://cryptography.io/en/latest/changelog/#v41-0-3):
* Fixed performance regression loading DH public keys.
* Fixed a memory leak when using ChaCha20Poly1305.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.2.

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] PyCA cryptography 41.0.6 released

2023-11-27 Thread Paul Kehrer
PyCA cryptography 41.0.6 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 3.7+, and PyPy3 7.3.10+.

Changelog (https://cryptography.io/en/latest/changelog/#v41-0-6):
* Fixed a null-pointer-dereference and segfault that could occur when
loading certificates from a PKCS#7 bundle.  Credit to pkuzco for
reporting the issue. CVE-2023-49083

-Paul Kehrer (reaperhulk)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com