summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2011-05-03 15:15:15 -0400
committerEli Collins <elic@assurancetechnologies.com>2011-05-03 15:15:15 -0400
commit25b7e497360b05bc1774bcc8f390f42e1006571f (patch)
treeee3cba54f9e5ad67fbcb9545b17ec36dea0d91f7 /docs
parentf58865b964e4df6f98bc93700f9ea9dc596cca17 (diff)
downloadpasslib-25b7e497360b05bc1774bcc8f390f42e1006571f.tar.gz
small doc updates
Diffstat (limited to 'docs')
-rw-r--r--docs/lib/passlib.utils.handlers.rst2
-rw-r--r--docs/lib/passlib.utils.rst25
2 files changed, 26 insertions, 1 deletions
diff --git a/docs/lib/passlib.utils.handlers.rst b/docs/lib/passlib.utils.handlers.rst
index bacedfa..c35a589 100644
--- a/docs/lib/passlib.utils.handlers.rst
+++ b/docs/lib/passlib.utils.handlers.rst
@@ -127,7 +127,7 @@ Examples
.. todo::
- Show some examples of how to use GenericHandler and it's mixins
+ Show some walk-through examples of how to use GenericHandler and it's mixins
The StaticHandler class
=======================
diff --git a/docs/lib/passlib.utils.rst b/docs/lib/passlib.utils.rst
index 1fa826f..0539b58 100644
--- a/docs/lib/passlib.utils.rst
+++ b/docs/lib/passlib.utils.rst
@@ -9,6 +9,31 @@ This module contains a number of utility functions used by passlib
to implement the builtin handlers, and other code within passlib.
They may also be useful when implementing custom handlers for existing legacy formats.
+Constants
+=========
+
+.. data:: sys_bits
+
+ Native bit size of host architecture (either 32 or 64 bit).
+ used for various purposes internally.
+
+.. data:: unix_crypt_schemes
+
+ List of the names of all the handlers in :mod:`passlib.hash`
+ which are supported by the native :func:`crypt()` function
+ of at least one OS.
+
+ For all hashes in this list, the expression
+ ``get_crypt_handler(name).has_backend("os_crypt")``
+ will return ``True`` iff there is native OS support for that hash.
+
+ This list is used by :data:`~passlib.hosts.host_context`
+ and :data:`~passlib.apps.ldap_context` to determine
+ which hashes are supported by the host.
+
+ See :ref:`mcf-identifiers` for a table of which OSes
+ are known to support which hashes.
+
Decorators
==========
.. autofunction:: classproperty