Presets
The patterns that are built into Passgen, and how to define your own.
A preset is a named pattern. Use one with --preset:
$ passgen --preset proquint64
huzat-jorub-didig-mihoj
Built-in presets
| Preset | Example | Entropy |
|---|---|---|
apple1 | RfO-wTH-eFD-5nK | 71.45 bits |
apple2 | L2wjZr-vEBpjz-v2J5br | 107.18 bits |
firefox | Q7eE3ib18bkQtOI | 89.31 bits |
edge | aNHdHeaDZdG0AXW | 82.38 bits |
uuid | e16aa85c-b402-4cca-80e0-f112d8a51dbe | 122.00 bits |
proquint16 | pajus | 16.00 bits |
proquint32 | hupak-bukun | 32.00 bits |
proquint48 | hasut-zoraz-susuk | 48.00 bits |
proquint64 | huzat-jorub-didig-mihoj | 64.00 bits |
proquint80 | pokul-sorat-virah-dorof-dojoz | 80.00 bits |
proquint96 | banid-zosas-hisor-mipok-lubaj-tudos | 96.00 bits |
proquint112 | rotat-lagun-zagaz-misoh-risuh-balib-dafug | 112.00 bits |
proquint128 | darut-jogit-sohog-hohih-ravim-vuguj-mofut-bafoh | 128.00 bits |
The apple1, apple2, firefox and edge presets generate passwords in the
style suggested by the respective browsers. uuid generates a random version 4
UUID.
The proquint presets generate proquints:
pronounceable five-letter groups of alternating consonants and vowels, each
carrying exactly 16 bits. The number in the name of the preset is its entropy.
To see the pattern behind every preset, run passgen --list.
Defining your own
To define a preset for a single run, use --define-preset NAME:PATTERN:
$ passgen -P 'mine:[a-z]{4}-[0-9]{4}' -p mine
jfdb-2687
To keep a preset around, add it to the [presets] table of your configuration
file at ~/.config/passgen/config.toml:
[presets]
mine = '[a-z]{4}-[0-9]{4}'
Write the pattern in single quotes, so that backslashes in it are left alone.
A preset that you define replaces a built-in preset with the same name. Setting a
preset to false removes it. See
Configuration for more on the configuration file.