This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: crypt module documentation extended
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: fserb, loewis
Priority: normal Keywords: patch

Created on 2004-07-25 19:34 by fserb, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cryptdoc.patch fserb, 2004-07-25 19:34 patch to extend crypt module documentation
Messages (2)
msg46461 - (view) Author: Fernando Altomare Serboncini (fserb) Date: 2004-07-25 19:34
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.
msg46462 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-07-26 12:07
Logged In: YES 
user_id=21627

Thanks for the patch, applied as libcrypt.tex 1.17 and
1.16.36.1.
History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40641
2004-07-25 19:34:54fserbcreate