Edgewall Software

Changes between Version 1 and Version 2 of 0.13/TracStandalone


Ignore:
Timestamp:
Mar 2, 2012, 10:29:11 AM (8 years ago)
Author:
Peter Suter
Comment:

Mention SHA1 support from #9371 and link an online generator that supports that

Legend:

Unmodified
Added
Removed
Modified
  • 0.13/TracStandalone

    v1 v2  
    138138
    139139  Note: It is necessary (at least with Python 2.6) to install the fcrypt package in order to
    140   decode the htpasswd format.  Trac source code attempt an `import crypt` first, but there
    141   is no such package for Python 2.6.
     140  decode some htpasswd formats.  Trac source code attempt an `import crypt` first, but there
     141  is no such package for Python 2.6. Only `SHA-1` passwords (since Trac 0.13) work without this module.
    142142
    143143To create a .htpasswd file use Apache's `htpasswd` command (see [#GeneratingPasswordsWithoutApache below] for a method to create these files without using Apache):
     
    169169=== Generating Passwords Without Apache ===
    170170
    171 Basic Authorization can be accomplished via this [http://www.4webhelp.net/us/password.php online HTTP Password generator]. Copy the generated password-hash line to the .htpasswd file on your system.
     171Basic Authorization can be accomplished via this [http://www.4webhelp.net/us/password.php online HTTP Password generator], or [http://aspirine.org/htpasswd_en.html this alternative] which supports `SHA-1`. Copy the generated password-hash line to the .htpasswd file on your system.
    172172
    173173You can use this simple Python script to generate a '''digest''' password file: