[Trac-tickets] [The Trac Project] #2461: Generating htdigrest
passwords without apache2 using wikiscript
The Trac Project
noreply at edgewall.com
Thu Dec 8 13:43:49 CST 2005
#2461: Generating htdigrest passwords without apache2 using wikiscript
------------------------------------+---------------------------------------
Reporter: cpt_cowboy at hotmail.com | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: tracd | Version: 0.9.2
Severity: normal | Keywords: htdigest, authentication
------------------------------------+---------------------------------------
Hello,
I didn't have apache 2 and wanted to run tracd standalone. However, I ran
into trouble with authentication, generating a htdigest file from the
following script on the trac wiki page:
Generating Passwords Without Apache
http://projects.edgewall.com/trac/wiki/TracStandalone
I copied the script into a file called "genpass.py" and ran it as follows:
C:\Python23\Scripts>python genpass.py -ucowboy -ppassword
cowboy:trac:12234ded7c880e6d546d236310387979
tracd would not let me login. I then downloaded apache2 and ran the
following apache2 htdigest with "password" as the password:
C:\Python23\Scripts>c:\apache2\Apache2\bin\htdigest.exe -c users.htdigest
bigcowboy cowboy
Adding password for cowboy in realm bigcowboy.
New password: ********
Re-type new password: ********
C:\Python23\Scripts>more users.htdigest
cowboy:bigcowboy:fda79257aec78ddf729b3caec1a3619a
I tried to login with trac, and it worked like a charm. It seems that the
script on the wiki is generating incorrect hashes. I hope this helps
others in the future.
Thanks,
cowboy
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2461>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list