Since passlib algo sometime takes a bytes, and sometime not, depending on a internal variable, we have to convert bnased on it, or it fail with "TypeError: salt must be bytes, not str" (or unicode instead of bytes) However, that's not great to use internal structure for that. |
||
---|---|---|
.. | ||
module_docs_fragments | ||
__init__.py | ||
boolean.py | ||
cmd_functions.py | ||
color.py | ||
display.py | ||
encrypt.py | ||
hashing.py | ||
helpers.py | ||
listify.py | ||
module_docs.py | ||
path.py | ||
shlex.py | ||
ssh_functions.py | ||
unicode.py | ||
vars.py |