You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought there was some information missing on the
crypt module documentation.
I've changed two things basically.
First, I made it clear that every extension (or general
behavior) of the crypt(3) implementation on the running
system will also be valid on the crypt module.
Second, since some extensions (as the GNU extension on
Linux) allows different values on the salt parameter,
the whole crypted password should be used as salt when
checking for a password. With this, I've corrected the
example code to use the full cryptedpasswd instead of
cryptedpasswd[:2]
I would've changed the whole example to a simpler one.
But left it to another patch.
Since this is my first python patch, hope I've not made
anything stupid.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: