YAPET_CONFIG(5) | YAPET_CONFIG | YAPET_CONFIG(5) |
yapet_config - format of a YAPET configuration file
yapet(1) reads the configuration file $HOME/.yapet if it exists unless a different file is specified by using the -r option, see yapet(1). Options given on the command line override options given in a configuration file.
The configuration file has the following syntax:
option=value
where option can be any of the following:
colors
load
Default: not set
locktimeout
Default: 600
pwinputtimeout
Default: 60
allowlockquit
Default: true
checkfsecurity
Default: true
pwgen_pwlen
Default: 15
pwgen_letters
Default: true
pwgen_digits
Default: true
pwgen_punct
Default: true
pwgen_special
Default: true
pwgen_other
Default: false
argon2_memory
Default: 262144
argon2_parallelism
Default: 16
argon2_iterations
Default: 5
For Boolean values, 1, yes, true, enable, and enabled denote true. 0, false, no, disable, disabled denote false. Please note, Boolean values are case-sensitive.
The argon2_* options only take effect when creating a new file or changing the master password of an existing file.
load=/home/joe/passwords locktimeout=300 checkfsecurity=0 pwgen_pwlen=8
In this example, the file /home/joe/passwords will be loaded upon invocation of yapet. The timeout until the screen is locked is set to 300 seconds. File permissions will not be verified.
The Password Generator Dialog will have preset the Password Length to 8 characters.
locktimeout=150 checkfsecurity=yes pwgen_other=enable
In this example, no file will be automatically loaded upon invocation of yapet. The timeout until the screen is locked is set to 150 seconds. File permissions and owner will be verified.
The Password Generator Dialog will have preset the Other check box checked.
load=~/passwords.pet locktimeout=300 checkfsecurity=false pwgen_pwlen=8
This example has the same effect as Example of an yapet configuration file. But instead of specifying the full path to the home directory, the ~ (tilde) sign is used, which is expanded to the home directory automatically. The .pet suffix can be specified, but if omitted it will be appended automatically.
$HOME/.yapet
Rafael Ostertag <rafi@guengel.ch>.
2022-03-12 | YAPET 2.6 |