[INN] #35: Password encryption utility

INN rra at stanford.edu
Sat Mar 15 17:32:24 UTC 2014


#35: Password encryption utility
-------------------------+---------------------
 Reporter:  eagle        |       Owner:  eagle
     Type:  enhancement  |      Status:  closed
 Priority:  low          |   Milestone:  2.5.4
Component:  doc          |     Version:
 Severity:  wishlist     |  Resolution:  fixed
 Keywords:               |
-------------------------+---------------------
Changes (by iulius):

 * status:  new => closed
 * resolution:   => fixed
 * component:  utilities => doc
 * milestone:   => 2.5.4


Comment:

 Instead of adding a program to generate the password hash, document in the
 ckpasswd man page shipped with INN how to generate such password hashes.

 Fixed in INN 2.5.4 with commit [9489]:

  INN does not come with a utility to create the encrypted passwords, but
 htpasswd (which comes with Apache) can do so and it's a quick job with
 Perl (see the example script under -d, or also below). If using Apache's
 htpasswd program, be sure to give it the -d option so that it will use
 crypt(3).

  A line in filename for the user user with the password pass would be
 user:LIfOpbjNaEQYE as obtained by the following commands:

     % htpasswd -nbd user pass
     user:LIfOpbjNaEQYE

     % perl -e 'print "user:".crypt("pass", "LI")."\n";'
     user:LIfOpbjNaEQYE

-- 
Ticket URL: <http://inn.eyrie.org/trac/ticket/35#comment:1>
INN <http://www.eyrie.org/~eagle/software/inn/>
InterNetNews


More information about the inn-bugs mailing list