[issue22432] function crypt not working on OSX
Geoffrey Spear
report at bugs.python.org
Wed Sep 17 16:41:01 CEST 2014
Geoffrey Spear added the comment:
This is actually the expected behavior of crypt(3) on OS X. It doesn't support the $id$ modular format, and if the salt does not begin with an underscore only the first 2 bytes are used (presumably in your "bug #2" you're changing parts of the salt beyond the first 2 bytes.)
Python's behavior differing based on the underlying C library on the system is documented; this is neither a bug in Python or in OS X crypt (although it could be argued that OS X crypt is kind of useless and insecure...)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22432>
_______________________________________
More information about the Python-bugs-list
mailing list