[issue33213] crypt function not hashing properly on Mac (uses a specific salt)

2018-04-07 Thread Ron Reiter
Change by Ron Reiter : -- type: -> security ___ Python tracker <https://bugs.python.org/issue33213> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue33213] crypt function not hashing properly on Mac (uses a specific salt)

2018-04-03 Thread Ron Reiter
Change by Ron Reiter : -- title: crypt function not hashing properly -> crypt function not hashing properly on Mac (uses a specific salt) ___ Python tracker <https://bugs.python.org/issu

[issue33213] crypt function not hashing properly

2018-04-03 Thread Ron Reiter
Ron Reiter added the comment: Also: >>> crypt.crypt("test", "$5") '$5yVOkTkyRzn.' >>> crypt.crypt("test", "$6") '$6asQOJRqB1i2' >>> crypt.crypt("test", "$7") '$7tSOkvDyiL6U

[issue33213] crypt function not hashing properly

2018-04-03 Thread Ron Reiter
Ron Reiter added the comment: Python 3.6.4 (default, Mar 22 2018, 23:35:12) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import crypt >>&g

[issue33213] crypt function not hashing properly

2018-04-03 Thread Ron Reiter
Ron Reiter added the comment: Apparently it's a Mac issue. My crypt.methods only contains [] which is probably why this fails. It's a silent failure of some sort that is causing this. -- ___ Python tracker <https://bugs.python.o

[issue33213] crypt function not hashing properly

2018-04-03 Thread Ron Reiter
Ron Reiter added the comment: You guessed it, the salt is "$6" -- ___ Python tracker <https://bugs.python.org/issue33213> ___ ___ Python-bugs-l

[issue33213] crypt function not hashing properly

2018-04-03 Thread Ron Reiter
Ron Reiter added the comment: import crypt Expected result: >>> crypt.crypt("test") == crypt.crypt("test") False >>> crypt.crypt("test", crypt.mksalt()) == crypt.crypt("test", crypt.mksalt()) False Unexpected results: >>

[issue33213] crypt function not hashing properly

2018-04-03 Thread Ron Reiter
New submission from Ron Reiter : import crypt Expected result: >>> crypt.crypt("test") == crypt.crypt("test") False >>> crypt.crypt("test", crypt.mksalt()) == crypt.crypt("test", crypt.mksalt()) False Unexpected results: >>