RE: [users@httpd] mod_authn_dbd encrypted password?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If anyone else is wondering I ended up using the JCrypt class from http://locutus.kingwoodcable.com/jfd/crypt.html

--
Chris Liles

> -----Original Message-----
> From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua Slive
> Sent: Wednesday, June 28, 2006 10:52 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: [users@httpd] mod_authn_dbd encrypted password?!
> 
> On 6/27/06, Chris Liles <Chris.Liles@xxxxxxxxxxx> wrote:
> > After looking at the perl script suggested by Joshua, I see that I can
> use crypt(), so I tested and it works. Of course postgres doesn't have a
> crypt() function :( I really want to be able to just insert in the
> database like crypt('plaintext') and have postgres handle the hashing. Is
> there a way in the config to change the auth module to expect a md5 hash
> instead of a crypt, or even plaintext?
> 
> No.  There is an md5-based algorithm available, but it requires use of
> a salt and a special apache-specific marker.  You can't just md5-has
> the password.
> 
> I don't know much about postgres, but to hash passwords you're either
> going to need a language that can reproduce the algorithms used by
> apache (as in the examples I sent you), or you're going to need to
> call an external program to generate the hashes as Nick suggests.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux