summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2019-11-10 10:51:15 -0500
committerEli Collins <elic@assurancetechnologies.com>2019-11-10 10:51:15 -0500
commitff5754b5bf7caaccab3cea32392a7b6b50e47137 (patch)
tree5515ace157460beaebddd1fc6ccd15262a2d703e /docs
parentb31323a8a2f1ab624269a69e8f765c4ddafbe345 (diff)
downloadpasslib-ff5754b5bf7caaccab3cea32392a7b6b50e47137.tar.gz
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
Diffstat (limited to 'docs')
-rw-r--r--docs/history/1.7.rst9
-rw-r--r--docs/install.rst4
2 files changed, 11 insertions, 2 deletions
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 <https://pypi.python.org/pypi/argon2_cffi>`_, or
- `argon2pure <https://pypi.python.org/pypi/argon2pure>`_ (>= 1.2.2)
+* `argon2_cffi <https://pypi.python.org/pypi/argon2_cffi>`_ (>= 18.2.0), or
+ `argon2pure <https://pypi.python.org/pypi/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.