From ff5754b5bf7caaccab3cea32392a7b6b50e47137 Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Sun, 10 Nov 2019 10:51:15 -0500 Subject: argon2 -- added support for type "ID" hashes & for generating type "D" hashes. * updated requirements to latest version of argon2_cffi & argon2pure; though internal code should work with older versions. * reworked argon2 module internals to handle wider range of hash types; and make default customizable via "type" kwd. * added reference vectors for "D" and "ID" hashes --- docs/history/1.7.rst | 9 +++++++++ docs/install.rst | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/history/1.7.rst b/docs/history/1.7.rst index b1d5310..48a1963 100644 --- a/docs/history/1.7.rst +++ b/docs/history/1.7.rst @@ -9,6 +9,15 @@ Passlib 1.7 This release rolls up assorted bug & compatibility fixes since 1.7.1. +New Features +------------ + +* .. py:currentmodule:: passlib.hash + + :class:`argon2`: Now supports Argon2 "ID" and "D" hashes (assuming new enough backend library). + Now defaults to "ID" hashes instead of "I" hashes, but this can be overridden via ``type`` keyword. + (:issue:`101`) + Bugfixes -------- diff --git a/docs/install.rst b/docs/install.rst index 08fc66d..00cab65 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -44,8 +44,8 @@ Optional Libraries Use ``pip install passlib[bcrypt]`` to get the recommended bcrypt setup. -* `argon2_cffi `_, or - `argon2pure `_ (>= 1.2.2) +* `argon2_cffi `_ (>= 18.2.0), or + `argon2pure `_ (>= 1.3) If any of these packages are installed, they will be used to provide support for the :class:`~passlib.hash.argon2` hash algorithm. -- cgit v1.2.1