Ach! It should come as no surprise that Mr. Nordstrom is
absolutely correct in all regards. My echo shell built-in doesn't
support the -n. If you also have this problem, try using printf,
eg.
# printf username:realm:password | md5sum | cut -d\ -f1
to generate the hashed password.
I found that the method below did not work, actually. I still
have not figured out just how Apache's htdigest is joining the
several inputs to create the md5 hash, but it isn't
user:realm:password | md5sum.
I finally got digest auth to work by doing the following (the
-c creates the
:
On mån, 2008-06-02 at 10:10 -0400, Chris Riggins wrote:
I found that the method below did not work, actually. I still
have not figured out just how Apache's htdigest is joining the
several inputs to create the md5 hash, but it isn't
user:realm:password | md5sum.
It is the same. Try again
No, it is possible to use digest authentication to avoid
cleartext passwords. The squid wiki link Henrik sent out is a good
start, but it leaves out one critical piece: how to encode the
passwords! In either LDAP or a flat-file, I found only one site
online with instructions, and they were
] wrote:
fre 2008-05-09 klockan 13:55 -0400 skrev Chris Riggins:
I have been having trouble with digest authentication under
version 3.0 (both STABLE4 5).
You are not alone.
Please try the nightly snapshot release, it should hopefully work
better:
http://www.squid-cache.org
works fine authenticating against LDAP as long as I use basic
authentication, but fails using digest whether I use LDAP or a
password file
Any thoughts are most welcome!
Regards,
Chris Riggins