Releases: Synss/python-mbedtls
Releases · Synss/python-mbedtls
0.18.3
0.18.2
0.18.1
0.18.0 - 2019-05-11
Add secrets (PEP-506) module with CSPRNG
- secrets: Add PEP-506 conform secrets module for generating secrets.
- cipher/hash/hmac: These modules and packages are now pure-Python.
- mpi: Add bitwise operations.
API Changes
- pk.ECDHNaive:
generate()
returns the public key as an ECPoint and
import_peers_public()
now takes an ECPoint.import_peer_public(MPI)
is deprecated and will be removed in a future release. Further note
thes
inimport_peers_public()
. - pk: Make
ECDH*.{public_key,private_key,peers_public_key}
public. The
private equivalents with a_*
prefix are deprecated and will be removed in a
future release. Further note thes
inpeers_public_key
. - _random: Privatize
Entropy
and refactorRandom
class.
Bugfixes
- mpi: Fix bug in
mpi.to_bytes()
.
Misc.
- *: Format Python files with
black
- ci: Check that the docs build in CI.
- ci: Repair test coverage measurements on coveralls.
- mpi: Simplify code for comparisons.
- mpi: Add tests and better exceptions for
__pow__()
.
0.17.1 - 2019-04-16
This is a bugfix release fixing several TLS issues.
Misc.
- Split download and install scripts.
Bugfixes
- tls: Split input and output buffers for TLS/TCP.
- tls: Fixes issue with TLSv1 by reading greedily from the buffer.
0.17.0 - 2019-04-12
Add support to HKDF
- Add support to HKDF (HMAC key derivation function).
Misc.
- Change branching model to fast-forward merge on the master branch.
- Change directive
language_level
from 2 to 3 for Cython.
Bugfixes
- *: Fixup handling of empty and
None
buffers (#20: Roman (inpos)). - hmac: Hmac now accepts the empty key (b"").
0.16.0 - 2019-04-04
Add Chacha20/Poly1305 support (Stephen.Y).
- 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 - 2019-03-15
Add DTLS support
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 - 2019-01-19
Update wheels with mbedtls 2.7.9.
0.14.0 - 2019-01-08
Build manylinux1 wheels
- 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 optionalentropy
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.