From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28231 invoked from network); 26 Jun 2002 15:09:25 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 26 Jun 2002 15:09:25 -0000 Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17NEPw-0005zx-00; Wed, 26 Jun 2002 11:09:12 -0400 Received: from gnats by fencepost.gnu.org with local (Exim 3.34 #1 (Debian)) id 17NENW-0005ps-00; Wed, 26 Jun 2002 11:06:42 -0400 From: pmt@elca.ch To: pdm-gnats@zamazal.org,gnats-prs@gnu.org,bug-gnats@gnu.org Reply-To: pmt@elca.ch Subject: gnats/395: gnats-pwconv Message-Id: Sender: gnats-prs-admin@gnu.org Errors-To: gnats-prs-admin@gnu.org X-BeenThere: gnats-prs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Copies of bug tracking system messages List-Archive: Date: Wed, 26 Jun 2002 08:09:00 -0000 X-SW-Source: 2002-q2/txt/msg00029.txt.bz2 >Number: 395 >Category: gnats >Synopsis: gnats-pwconv >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Jun 26 11:06:42 -0400 2002 >Originator: Pascal Meyrat >Release: gnats 4.0 beta 1 >Organization: >Environment: PC, Linux SuSE 7.3 >Description: By converting gnats3 passwords to crypted passwords, "gnats-conv" returns: "salt" and "crypt() function return value". The crypt() function returns 13 printable characters and the first 2 characters already represent the "salt". So we have the salt twice. Therefore there will be a problem by checking passwords. >How-To-Repeat: >Fix: In gnats-pwconv.c, change "result=asprintf(newpwentry, "%s%s",salt,crypt(clearpwstring,salt));" to "result=asprintf(newpwentry, "%s",crypt(clearpwstring,salt));" >Unformatted: _______________________________________________ Gnats-prs mailing list Gnats-prs@gnu.org http://mail.gnu.org/mailman/listinfo/gnats-prs