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

Comparing ircd-hybrid/trunk/tools/README.mkpasswd (file contents):
Revision 6585 by michael, Tue Oct 20 19:14:09 2015 UTC vs.
Revision 6590 by michael, Wed Oct 21 18:44:32 2015 UTC

# Line 2 | Line 2 | $Id$
2  
3   This is documentation for the mkpasswd.c included in ircd-hybrid.
4  
5 < This version of mkpasswd can create Blowfish, MD5, SHA-256 and SHA-512
5 > This version of mkpasswd can create Blowfish, SHA-256 and SHA-512
6   passwords, with either randomly generated or user provided salts.
7  
8   Options:
9 -6 - Create a SHA-512 password
9   -5 - Create a SHA-256 password
10 < -m - Create an MD5 password
10 > -6 - Create a SHA-512 password
11   -b - Create a Blowfish password
12 < -l - Specify the length of a random MD5 salt
12 > -R - Specify a raw salt passed directly to crypt()
13 > -l - Specify the length of a random SHA-256/SHA-512 or Blowfish salt
14   -r - Specify a number of rounds for a Blowfish password
15   -p - Specify the plaintext password at the command line
16   -s - Specify the salt at the command line
17 -R - Specify a raw salt passed directly to crypt()
17   -h - Get help
18  
20 If no parameter is given, it will create an MD5 password with a randomly
21 generated salt and prompting for the password (without echo).
22
23 An MD5 salt consists of up to 16 (though most implementations limit you to
24 8) alphanumeric characters (plus '.' and '/'),
25 such as 'tGd' or 'J6d4dfG'.
26
19   Known bugs:
20   The encryption algorithms supported depend on your system's crypt()
21 <  implementation.
30 < The maximum length of an MD5 salt is limited to your system's crypt()
31 <  implementation, typically 8.
21 > implementation.
22  
23   Supported Platforms (Known and tested):
24 < Linux glibc (SHA-256/SHA-512 since glibc 2.7, and MD5)
25 < FreeBSD 10.2 (SHA-256/SHA-512, Blowfish, and MD5))
24 > Linux glibc 2.7+ (SHA-256/SHA-512)
25 > FreeBSD 10.2 (SHA-256/SHA-512, Blowfish)
26   OpenBSD 5.8 (Blowfish)
27  
28   Other systems probably work, but they haven't been amply tested.

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)