Skip to content

Releases: Synss/python-mbedtls

0.18.3

07 Aug 09:49
Compare
Choose a tag to compare
  • setup.py: Refuse to build if mbedtls is too old.

0.18.2

07 Aug 09:49
Compare
Choose a tag to compare
  • cipher: Increase test coverage and fix minor bugs.
  • tests: Do not assume that havege is missing as it could be included in some configurations.
  • tests: Make error reporting with memoryviews closer to pytest reporting for bytes.

0.18.1

07 Aug 09:48
Compare
Choose a tag to compare
  • update wheels with 2.16.3.
  • version: Make has_feature() public.
  • tests: Skip tests to features that are not compiled in.
  • tests: Improve error reporting with memoryviews.

0.18.0 - 2019-05-11

11 May 12:04
Compare
Choose a tag to compare

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
    the s in import_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 the s in peers_public_key.
  • _random: Privatize Entropy and refactor Random 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

11 May 12:02
Compare
Choose a tag to compare

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

11 May 12:02
Compare
Choose a tag to compare

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

04 Apr 18:28
Compare
Choose a tag to compare

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

15 Mar 17:37
Compare
Choose a tag to compare

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

15 Mar 17:36
Compare
Choose a tag to compare

Update wheels with mbedtls 2.7.9.

0.14.0 - 2019-01-08

15 Mar 17:35
Compare
Choose a tag to compare

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 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.