|
From: | Pankaj K Garg |
Subject: | Re: Trouble using encrypted passwords |
Date: | Mon, 10 Nov 2003 13:05:37 -0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 |
David S Gathright wrote:
No, I didn't try that, mostly because I don't have root access on thatmachine.What I guess is most confusing to me is that there are three pieces ofinformation: the raw password, the salt, and the encrypted password. Now, in the MD5 scheme, the salt is stored with the encrypted password($1$salt$enc_password). However, in the crypt() scheme, there is no specified way to store the key, so, how is that done?
Its been a while since I did this, but looking at the code, it seems that the salt is '$1$', '$2$', etc. Can you try these with the Python/Perl code and see what happens? The source code in gnatsd.c is using the C library function 'crypt' with these salts.
-- Pankaj K Garg address@hidden 1684 Nightingale Avenue 408-373-4027 Suite 201 408-733-2737(fax) Sunnyvale, CA 94087 http://www.zeesource.net
[Prev in Thread] | Current Thread | [Next in Thread] |