[New-bugs-announce] [issue22432] function crypt not working on OSX

Mark Wieczorek report at bugs.python.org
Wed Sep 17 16:11:23 CEST 2014


New submission from Mark Wieczorek:

Hi, 

I just wanted to let you know of a bug that is related to the function "crypt" in osx (10.9.4). I have tried the default osx version of python (2.75), the brew version (2.7.8), and the macports version (2.7.7).

In short, the command

python -c 'import crypt; print crypt.crypt("test12345", "$6$salt")'

produces the output : $6n8sgZJBMh4U

The correct output should be 

$6$salt$omHbK1V1Alwa0VKXqLaW38vdS1uUhfx8GTj7XXCJcNUJxABwmYe8Vhpyt2tnnaAFC6UTI7PNk9sTtSGWGnYop.

I have no idea what the problem is.

----------
assignee: ronaldoussoren
components: Macintosh
messages: 227002
nosy: lunokhod, ronaldoussoren
priority: normal
severity: normal
status: open
title: function crypt not working on OSX
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22432>
_______________________________________


More information about the New-bugs-announce mailing list