| 1 |
$Id$ |
| 2 |
|
| 3 |
This is documentation for the mkpasswd.c included in ircd-hybrid. |
| 4 |
|
| 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 |
-5 - Create a SHA-256 password |
| 10 |
-6 - Create a SHA-512 password |
| 11 |
-b - Create a Blowfish password |
| 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 |
-h - Get full usage help |
| 18 |
-? - Get brief usage help |
| 19 |
|
| 20 |
Known bugs: |
| 21 |
The encryption algorithms supported depend on your system's crypt() |
| 22 |
implementation. |
| 23 |
|
| 24 |
Supported Platforms (Known and tested): |
| 25 |
Linux glibc 2.7+ (SHA-256/SHA-512) |
| 26 |
FreeBSD 10.2 (SHA-256/SHA-512, Blowfish) |
| 27 |
OpenBSD 5.8 (Blowfish) |
| 28 |
|
| 29 |
Other systems probably work, but they haven't been amply tested. |