Message1881
Logged In: YES
user_id=6405
I've made all suggested changes except the invocation of crypt.crypt()
The second argument to crypt() is the salt, which is always the first 2
characters of a crypt()'ed password. That is, in:
>>> import crypt
>>> crypt.crypt('sekrit', 'aa')
'aamzd3ZUREauc'
>>>
The "aa" is the salt, and forms the first two chars of the crypt()'ed
password. Passing any additional chars has no effect:
>>> crypt.crypt('sekrit', 'aamzd3ZUREauc')
'aamzd3ZUREauc'
>>>
but is incorrect in terms of the length of the salt argument.
|
|
Date |
User |
Action |
Args |
2009-02-03 14:21:14 | admin | link | issue1153640 messages |
2009-02-03 14:21:14 | admin | create | |
|