Re: [LIP] Info required on the MD5-Crypt algorithm

Binand Sethumadhavan <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
On Tue, Mar 02, 2004 at 11:26:46AM +0530, Sandip Bhattacharya wrote:
> I have been searching for this all morning, but can anybody here point 
> me to the official algorithm of the MD5 based crypt(3) function used in 
> the new fangled shadow files?

I must say the algorithm is pretty complicated :-) I found it in
crypt/md5-crypt.c of glibc. If you want, I could mail a copy to you. Or
I could post a description.

> I am also looking for a pure python module which can authenticate using 
> these shadow files.

Maybe you should let PAM do all the hard work.

Binand

-- 
[[email protected] root]# uptime
11:55am  up 58 days,  4:49,  2 users,  load average: 1023.78, 419.92, 158.90


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.