summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2017-01-22 13:34:29 -0500
committerEli Collins <elic@assurancetechnologies.com>2017-01-22 13:34:29 -0500
commita4bb637637c2e8b71c3c757675cfdd2878bb15d9 (patch)
treee7f3ac80c68f8ab53faa129791ac2e708a711e95 /docs
parent70163703dd6265f9da99421c5d07fafd9a49d994 (diff)
downloadpasslib-a4bb637637c2e8b71c3c757675cfdd2878bb15d9.tar.gz
docs: update bcrypt docs to indicate correct default scheme (fixes issue 85)
also corrects some other bits in bcrypt docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/history/1.7.rst2
-rw-r--r--docs/lib/passlib.hash.bcrypt.rst7
2 files changed, 7 insertions, 2 deletions
diff --git a/docs/history/1.7.rst b/docs/history/1.7.rst
index 2c0d3b0..2be35a2 100644
--- a/docs/history/1.7.rst
+++ b/docs/history/1.7.rst
@@ -16,6 +16,8 @@ Passlib 1.7
* bugfix: TOTP tests: test setup now traps additional errors utcfromtimestamp()
may throw under python 3.
+* various documentation updates
+
.. _whats-new:
.. rst-class:: emphasize-children toc-always-open
diff --git a/docs/lib/passlib.hash.bcrypt.rst b/docs/lib/passlib.hash.bcrypt.rst
index 4683690..c7c5951 100644
--- a/docs/lib/passlib.hash.bcrypt.rst
+++ b/docs/lib/passlib.hash.bcrypt.rst
@@ -169,7 +169,7 @@ This implementation of bcrypt differs from others in a few ways:
generated with the buggy algorithm. Passlib 1.6 recognizes (but does not
currently support generating or verifying) these hashes.
- ``$2y$``, the default for crypt_blowfish 1.1 and newer, indicates
+ ``$2y$``, the default for crypt_blowfish 1.1-1.2, indicates
the hash was generated with the canonical OpenBSD-compatible algorithm,
and should match *correctly* generated ``$2a$`` hashes.
Passlib 1.6 can generate and verify these hashes.
@@ -180,6 +180,8 @@ This implementation of bcrypt differs from others in a few ways:
does not support this algorithmic variant either, though it should
be *very* rarely encountered in practice.
+ (crypt_blowfish 1.3 switched to the ``$2b$`` standard as the default)
+
.. versionchanged:: 1.6.3
Passlib will now throw a :exc:`~passlib.exc.PasslibSecurityError` if an attempt is
@@ -223,4 +225,5 @@ This implementation of bcrypt differs from others in a few ways:
`CVE-2011-2483 <http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-2483>`_
.. [#wraparound] The wraparound flaw is described here -
- `<http://www.openwall.com/lists/oss-security/2012/01/02/4>`_ \ No newline at end of file
+ `<http://www.openwall.com/lists/oss-security/2012/01/02/4>`_
+