From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26121 invoked from network); 10 Nov 2003 19:58:29 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 10 Nov 2003 19:58:29 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJJ7e-0006tb-Sd for listarch-gnats-devel@sources.redhat.com; Mon, 10 Nov 2003 15:58:54 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJJ70-0006di-WC for help-gnats@gnu.org; Mon, 10 Nov 2003 15:58:14 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJJ4r-0005pH-Ce for help-gnats@gnu.org; Mon, 10 Nov 2003 15:56:32 -0500 Received: from [207.217.120.22] (helo=hawk.mail.pas.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJJ4q-0005oe-Bo for help-gnats@gnu.org; Mon, 10 Nov 2003 15:56:00 -0500 Received: from h-68-164-93-88.snvacaid.dynamic.covad.net ([68.164.93.88] helo=acm.org) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AJI7N-0006lO-00; Mon, 10 Nov 2003 11:54:33 -0800 Message-ID: <3FAFFDA1.9090805@acm.org> Date: Mon, 10 Nov 2003 19:58:00 -0000 From: Pankaj K Garg Organization: Zee Source User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David S Gathright References: <1068488405.1165.31.camel@red5> <3FAFE919.8020402@acm.org> <1068490311.1169.49.camel@red5> In-Reply-To: <1068490311.1169.49.camel@red5> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: help-gnats@gnu.org Subject: Re: Trouble using encrypted passwords X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: gargp@acm.org List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2003-q4/txt/msg00048.txt.bz2 David S Gathright wrote: > No, I didn't try that, mostly because I don't have root access on that > machine. > > What I guess is most confusing to me is that there are three pieces of > information: 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 garg@zeesource.net 1684 Nightingale Avenue 408-373-4027 Suite 201 408-733-2737(fax) Sunnyvale, CA 94087 http://www.zeesource.net _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats