1PWQGEN(1)                 BSD General Commands Manual                PWQGEN(1)
2

NAME

4     pwqgen — Generate quality controllable random passphrase
5

SYNOPSIS

7     pwqgen [options]
8

DESCRIPTION

10     The pwqgen program generates a random passphrase using the libpasswdqc
11     library.  Strength of the generated passphrase depends on the amount of
12     randomness read from /dev/urandom.
13

OPTIONS

15     random=N
16             (default: random=47) The size of randomly-generated passphrase in
17             bits (24 to 136).
18
19     config=FILE
20             Load config FILE in the passwdqc.conf format.  This file may de‐
21             fine any options described in passwdqc.conf(5), but only the
22             random and config options are honored by pwqgen.
23
24     --version
25             Output pwqgen program version and exit.
26
27     -h, --help
28             Output pwqgen help text and exit.
29

EXIT STATUS

31     pwqgen exits with non-zero status when it encounters invalid config file,
32     invalid option, invalid parameter value, when it fails to obtain enough
33     randomness, and in any case when it fails to generate a passphrase.
34

FILES

36     /etc/passwdqc.conf (not read unless this suggested file location is spec‐
37     ified with the config=/etc/passwdqc.conf option).
38

SEE ALSO

40     pwqcheck(1), libpasswdqc(3), urandom(4), passwdqc.conf(5),
41     pam_passwdqc(8).
42
43     https://www.openwall.com/passwdqc/
44

AUTHORS

46     The pam_passwdqc module was written for Openwall GNU/*/Linux by Solar De‐
47     signer.  The pwqgen program was originally written for ALT GNU/*/Linux by
48     Dmitry V. Levin, indirectly reusing code from pam_passwdqc (via libpass‐
49     wdqc).  This manual page was written for Openwall GNU/*/Linux by Dmitry
50     V. Levin.
51
52Openwall Project                March 10, 2021                Openwall Project
Impressum