diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2019-11-11 13:43:29 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2019-11-11 13:43:29 -0500 |
| commit | 190e4a35eb29619f52dd17fec66e5638dc0b2173 (patch) | |
| tree | a411f75fb62dbe067e00e4edc5b330678617ba31 /docs | |
| parent | e13c7c25b7145b5ef3fa0e7a424f46ab02a106c4 (diff) | |
| download | passlib-190e4a35eb29619f52dd17fec66e5638dc0b2173.tar.gz | |
passlib.apache: adjust default context to use "2y" bcrypt hashes instead of "2b"
(fixes issue 95).
also added UT which checks behavior against locally-installed 'htpasswd' tool
(if available).
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/history/1.7.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/history/1.7.rst b/docs/history/1.7.rst index 3e208b8..9b3fbbf 100644 --- a/docs/history/1.7.rst +++ b/docs/history/1.7.rst @@ -23,6 +23,11 @@ Bugfixes * Python 3.8 compatibility fixes +* :class:`passlib.apache.HtpasswdFile`: Now generates bcrypt hashes using + the ``"$2y$"`` prefix, which should work properly with Apache 2.4's ``htpasswd`` tool. + Previous releases used the functionally equivalent ``"$2b$"`` prefix, + which ``htpasswd`` was unable to read (:issue:`95`). + * .. py:currentmodule:: passlib.totp :mod:`passlib.totp`: The :meth:`TOTP.to_uri` method now prepends the issuer to URI label, |
