Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 76521 invoked from network); 20 Apr 2007 10:03:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Apr 2007 10:03:12 -0000 Received: (qmail 21144 invoked by uid 500); 20 Apr 2007 10:03:06 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 21131 invoked by uid 500); 20 Apr 2007 10:03:06 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 21120 invoked by uid 99); 20 Apr 2007 10:03:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 03:03:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [62.241.162.31] (HELO galaxy.systems.pipex.net) (62.241.162.31) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 03:02:58 -0700 Received: from SWALLOW (userb089.dsl.pipex.com [62.188.49.89]) by galaxy.systems.pipex.net (Postfix) with SMTP id 8D9A9E00071D for ; Fri, 20 Apr 2007 11:02:34 +0100 (BST) Message-ID: <001b01c78332$e60095f0$c500a8c0@SWALLOW> From: "Jannetta S Steyn" To: References: <4459.192.168.0.197.1177048600.squirrel@192.168.0.2> <4763.192.168.0.197.1177057092.squirrel@192.168.0.2> <46287EF9.9070907@whl.co.uk> Date: Fri, 20 Apr 2007 11:01:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] .htpasswd problems Hi there > You're talking about the differences between hashing and encryption / > decryption. MD5 is a hashing algorithm, DES is an encryption / > decryption algorithm. See: True I was confusing the issue here. However, when I wrote the scripts originally I think only MD5 was used, and the hashes were compared for authentication. I remember then, looking at the files and even after re-creating the passwords, the hashes didn't change. Now however, even the hashes do seem to change. Example and here I am forcing md5: -bash-3.1$ -bash-3.1$ htpasswd -n -m -b username password username:$apr1$YxgJg...$CBPoLTrXCOLCn13LDTL8w1 -bash-3.1$ htpasswd -n -m -b username password username:$apr1$fjhvN/..$a2OsVleb.E8zoEOyfWfuw. -bash-3.1$ htpasswd -n -m -b username password username:$apr1$ie9n5/..$yOfvwYlhFXBOicCXuk.DK0 The main issue for me still remains, why do my password file stop working after a while? Obviously something regarding the way the passwords are generated and compared changed since I originally wrote the stuff. What changed? I need to know this to accomodate the changes in my code. Thanks for all your input Regards Jannetta --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org