* cipher: Add support for the ARIA family. * cipher: Add OFB, XFB, and CHACHA/POLY modes and support for AEAD ciphers (Stephen.Y). * Update wheels with mbedtls 2.16.1.
0.15.0
Add DTLS support. Both client side and server side are implemented. Setting the cookie on the server side is *not* optional in `python-mbedtls`.
* pk: Add support for curves 448 and 25519 (Stephen.Y).
Misc.
* Update wheels with mbedtls 2.14.1. * version: Add accessors to the version of mbed TLS in use. * tls: Allow configuration of libmbedtls debug level.
0.14.1
Update wheels with mbedtls 2.7.9.
0.14.0
* Build and test on `manylinux1` (PEP 513) to distribute linux wheels with Mbed TLS. It is not necessary anymore to install mbed TLS separately. * x509/CRL: Add support for upstream Mbed TLS version 2.7.2 and above. Note that this did not require changes in the library but only in the tests. * The library now internally uses a single global `Random` instance. This instance is not accessible from Python. * pk/DHServer, pk/DHClient: Increase test entropy to avoid flakey tests.
API Changes
* random: `Random()` now takes an optional `entropy` object as argument. * random: `Random.reseed()` now takes optional data that can be used to increase entropy.
Bugfixes
* mpi: Let MPI built from an empty byte (b"") be 0 as regular ints.
0.13.0
Add TLS support. Both client side and server side are implemented. SSLv3 is not supported. Session management and SNI callbacks are not implemented.
API Changes
* x509: `ca` and `max_path_length` basic constraints are now grouped into a `BasicConstraints` namedtuple. It is possible to leave the basic constraints unset by passing None to `CRT.new(..., basic_constraints=None)`. * random: `random` module renamed `_random`.
Bugfixes
* mpi: GC now actually overwrites keys with random data.
Misc.
* pk: Improved error handling. * Declare mbedtls functions nogil. * The install script uses cmake to install mbedtls.
0.12.2
Misc.
* New `property` syntax from Cython 0.24. * Fixup rendering on Pypi. * Update required deps.