pypi argon2-cffi 21.2.0

latest releases: 23.1.0, 21.3.0
2 years ago

Highlights

  • Pre-compiled wheels for most relevant platforms (yes, including ARM!)
  • Full type hints.
  • Adjusted defaults to RFC 9106 and support for pre-configured profiles.

Full Changelog

Removed

  • Python 3.5 is not supported anymore.

  • The CFFI bindings have been extracted into a separate project: argon2-cffi-bindings This makes argon2-cffi a Python-only project und should make it easier to contribute to and have more frequent releases with high-level features.

    This change is breaking for users who want to use a system-wide installation of Argon2 instead of our vendored code, because the argument to the --no-binary argument changed. Please refer to the installation guide.

Added

  • Thanks to lots of work within argon2-cffi-bindings, there're pre-compiled wheels for many new platforms. Including:

    • Apple Silicon via universal2
    • Linux on amd64 and arm64
    • musl libc (Alpine Linux!) on i686, amd64, and arm64
    • PyPy 3.8

    We hope to provide wheels for Windows on arm64 soon, but are waiting for GitHub Actions to support that.

  • argon2.Parameters.from_parameters() together with the argon2.profiles module that offers easy access to the RFC-recommended configuration parameters and then some. #101 #110

  • The CLI interface now has a --profile option that takes any name from argon2.profiles.

  • Types! argon2-cffi is now fully typed. #112

Changed

  • argon2.PasswordHasher now uses the RFC 9106 low-memory profile by default. The old defaults are available as argon2.profiles.PRE_21_2.

Don't miss a new argon2-cffi release

NewReleases is sending notifications on new releases.