ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/tools/README.mkpasswd
(Generate patch)

Comparing:
ircd-hybrid/tools/README.mkpasswd (file contents), Revision 31 by knight, Sun Oct 2 20:34:05 2005 UTC vs.
ircd-hybrid/trunk/tools/README.mkpasswd (file contents), Revision 3130 by michael, Sun Mar 9 21:06:49 2014 UTC

# Line 1 | Line 1
1 mkpasswd.c documentation
1   $Id$
2  
3 < This is documentation for the mkpasswd.c included in ircd-hybrid-7.
3 > This is documentation for the mkpasswd.c included in ircd-hybrid.
4  
5 < This version of mkpasswd can create both DES and MD5 passwords, with
6 < either randomly generated or user provided salts.  
5 > This version of mkpasswd can create DES, Extended DES, BlowFish, MD5,
6 > SHA-256 and SHA-512 passwords, with either randomly generated or user
7 > provided salts.
8  
9   Options:
10 + -6 - Create a SHA-512 password
11 + -5 - Create a SHA-256 password
12   -m - Create an MD5 password
13 + -b - Create a BlowFish password
14   -d - Create a DES password
15 + -e - Create an Extended DES password
16   -l - Specify the length of a random MD5 salt
17 + -r - Specify a number of rounds for a BlowFish or Extended DES password
18   -p - Specify the plaintext password at the command line
19   -s - Specify the salt at the command line
20 + -R - Specify a raw salt passed directly to crypt()
21   -h - Get help
22  
23 < Without the presence of any parameters, it'll behave like the old mkpasswd,
24 < creating a DES password with a randomly generated salt and prompting for
19 < the password (without echo).
23 > If no parameter is given, it will create an MD5 password with a randomly
24 > generated salt and prompting for the password (without echo).
25  
26   A DES salt is a pair of alphanumeric characters ('.' and '/' are permitted
27   as well), such as 'a4' or 'Td'.
# Line 29 | Line 34 | Known bugs:
34   Blowfish (on OpenBSD) is not yet supported
35   The encryption algorithms supported depend on your system's crypt()
36    implementation.
37 < The maximum length of an MD5 salt is limited to your systems crypt()
37 > The maximum length of an MD5 salt is limited to your system's crypt()
38    implementation, typically 8.
34 crypt.c (MD5 implementation) is included, but not yet compiled into the
35  program for systems that do not support MD5.
39  
40   Supported Platforms (Known and tested):
41 < Linux glibc (DES and MD5)
41 > Linux glibc (SHA-256/SHA-512 since glibc 2.7, DES and MD5)
42   FreeBSD 3.x (DES (MD5 maybe))
43   FreeBSD 4.x (DES and MD5)
44   Solaris 2.5-2.6 (DES only)

Comparing:
ircd-hybrid/tools/README.mkpasswd (property svn:keywords), Revision 31 by knight, Sun Oct 2 20:34:05 2005 UTC vs.
ircd-hybrid/trunk/tools/README.mkpasswd (property svn:keywords), Revision 3130 by michael, Sun Mar 9 21:06:49 2014 UTC

# Line 1 | Line 1
1 < "Id Revision"
1 > Id Revision

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines