PWQGEN(1)
π PWQGEN β the passphrase generator that literally eats β¨
okay bestie, welcome to the pwqgen(1) manual page, section 1, General Commands Manual. this is the whole vibe. let's get into it π
πΈ NAME πΈ
pwqgen</purgle> β generate a random passphrase whose strength you can actually control. quality controllable, as a treat π
β¨ SYNOPSIS β¨
pwqgen [options]
that's it. that's the whole invocation. no positional args, no drama. just vibes and options π
π¦ DESCRIPTION π¦
so like, pwqgen makes a random passphrase for you using the libpasswdqc library. it's giving "cryptographically random bestie." π
the strength of the passphrase it generates depends on how much randomness it reads from /dev/urandom. more randomness in, stronger passphrase out. it's literally that simple, no cap π«Ά
π OPTIONS π
random=Nβ (default:random=47) the size of the randomly-generated passphrase, measured in bits. valid range is24to136. yes, 24 is the floor, yes, 136 is the ceiling, those are the numbers, periodt β¨config=FILEβ load configFILEin thepasswdqc.confformat. this file may define any of the options described over inpasswdqc.conf(5), but heads up π β only therandomandconfigoptions are actually honored bypwqgen. everything else in there is just... there. minding its own business π--versionβ output thepwqgenprogram version and dip. that's it, that's all it does π-h,--helpβ output thepwqgenhelp text and bounce. iconic behavior honestly π
π EXIT STATUS π
pwqgen exits with a non-zero status when it hits any of these:
- it encounters an invalid config file π
- it encounters an invalid option π
- it encounters an invalid parameter value π
- it fails to obtain enough randomness π
- and in any case where it fails to generate a passphrase π
so basically, if the passphrase didn't happen, the exit code is gonna let you know. no silent failures here, we're not about that life π«Ά
π FILES π
/etc/passwdqc.confβ not read unless this suggested file location is specified with theconfig=/etc/passwdqc.confoption. like, it's a suggestion, not a default. it's giving "you have to actually ask" π
π SEE ALSO π
and the link of all links, the main character URL:
https://www.openwall.com/passwdqc/
π AUTHORS π
okay history lesson, stay with me π§
the pam_passwdqc module was written for Openwall GNU/*/Linux by Solar Designer.
the pwqgen program was originally written for ALT GNU/*/Linux by Dmitry V. Levin, indirectly reusing code from pam_passwdqc (via libpasswdqc). king behavior, honestly π₯
and this very manual page? written for Openwall GNU/*/Linux by Dmitry V. Levin too. multi-talented fr fr π
ngl the<rainbow>random=Noption is the one you'll actually be tweaking.24to136bits, default47`. pick your fighter, bestie β¨
Openwall Project πΈ March 10, 2021 πΈ PWQGEN(1)
that's the whole page!! go forth and generate passphrases responsibly, you absolute icon ππβ¨
π¦ where this page comes from
- debian bookworm: passwdqc 2.0.2-1+b1 Β· cut-down-BSD
- debian trixie: passwdqc 2.0.3-2+b1 Β· cut-down-BSD
- epel 10: passwdqc-utils 2.0.3-3.el10_0 Β· BSD-3-Clause
- epel 9: passwdqc-utils 2.0.3-2.el9 Β· BSD-3-Clause
- fedora 43: passwdqc-utils 2.0.3-8.fc43 Β· BSD-3-Clause
- fedora 44: passwdqc-utils 2.0.3-9.fc44 Β· BSD-3-Clause
- nixpkgs unstable: passwdqc 2.0.3
- ubuntu jammy: passwdqc 2.0.2-1 Β· cut-down-BSD
- ubuntu noble: passwdqc 2.0.3-1build1 Β· cut-down-BSD
- ubuntu questing: passwdqc 2.0.3-2
- ubuntu resolute: passwdqc 2.1.0-1 Β· cut-down-BSD
- ubuntu stonking: passwdqc 2.1.0-2 Β· cut-down-BSD
- Copyright (c) 2009 Dmitry V. Levin
- Copyright (c) 2019 Solar Designer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms