YAPET_CONFIG(5)
πΈ NAME πΈ
yapet_config β bestie, this is the format of a YAPET configuration file π like, the whole layout of the lil text file that tells yapet(1) how to act.
β¨ DESCRIPTION β¨
okay so first thing: yapet(1) reads the config file $HOME/.yapet β but ONLY if it exists π β unless you point it at a different file with the -r option, go peek at yapet(1) for that. and here's the tea: options you put on the command line override options you put in a configuration file. command line wins, always, no cap. π
the configuration file has this syntax, literally just:
option=value
and option can be any of these cuties β¬οΈ
colorsβ (String) set custom colors. π¨ seeyapet_colors(5)for more info, it's giving whole other manpage energy.loadβ (String) the file to load whenyapetstarts up. same thing as handing it a filename when you invokeyapet. and bestie, a~(tilde) as the very first character of the pathname? it gets swapped out for the home directory of whoever's runningyapet. π Default: not setlocktimeoutβ (Integer) a positive integer, the seconds of inactivity before the screen locks itself. equivalent to passing the-toption when you invokeyapet. π΄π Default: 600pwinputtimeoutβ (Integer) a positive integer, the seconds of inactivity before the password prompt for unlocking the screen justβ¦ vanishes. poof. π«₯ Default: 60allowlockquitβ (Boolean)truelets the user quityapetfrom the locked screen (as long as there's no changes pending).falseblocks the user from quittingyapetwhile the screen is locked. πͺ Default: truecheckfsecurityβ (Boolean)trueturns on verification of the file owner and permissions when loading a file.falseturns it off. equivalent to passing the-Soption (same astrue) or-s(same asfalse) when invokingyapet. π΅οΈ Default: truepwgen_pwlenβ (Integer) a positive integer greater than zero, the default password length the Password Generator Dialog uses. π’ Default: 15pwgen_lettersβ (Boolean)truepreselects the Letters check box in the Password Generator Dialog. π€ Default: truepwgen_digitsβ (Boolean)truepreselects the Digits check box in the Password Generator Dialog. π’ Default: truepwgen_punctβ (Boolean)truepreselects the Punctuation check box in the Password Generator Dialog. β Default: truepwgen_specialβ (Boolean)truepreselects the Special check box in the Password Generator Dialog. β¨ Default: truepwgen_otherβ (Boolean)truepreselects the Other check box in the Password Generator Dialog. π Default: falseargon2_memoryβ (Integer) memory used by the Argon2 hash algorithm, in KB. π§ Default: 262144argon2_parallelismβ (Integer) number of threads used by the Argon2 hash algorithm. π§΅ Default: 16argon2_iterationsβ (Integer) number of iterations performed by the Argon2 hash algorithm. π Default: 5
so for Boolean values, bestie, these all mean true: 1, yes, true, enable, and enabled. and these all mean false: 0, false, no, disable, disabled. β οΈ and pls pls pls note: Boolean values are case-sensitive. so True is NOT it. π
also, the argon2_* options only do anything when you're creating a new file or changing the master password of an existing file. like, they literally only take effect then. π
π¦ EXAMPLES π¦
π Example of an yapet configuration file
load=/home/joe/passwords
locktimeout=300
checkfsecurity=0
pwgen_pwlen=8
so in this example, the file /home/joe/passwords gets loaded the moment you invoke yapet. the timeout until the screen locks is set to 300 seconds. and file permissions will not be verified. π
the Password Generator Dialog will have preset the Password Length to 8 characters. cute. π
πΈ Example of an yapet configuration file
locktimeout=150
checkfsecurity=yes
pwgen_other=enable
in this one, no file gets automatically loaded when you invoke yapet. the timeout until the screen locks is set to 150 seconds. file permissions and owner will be verified. β
the Password Generator Dialog will have preset the Other check box checked. βοΈ
β Example 1 revisited
load=~/passwords.pet
locktimeout=300
checkfsecurity=false
pwgen_pwlen=8
this example has the exact same effect as Example of an yapet configuration file. but instead of writing out the full path to the home directory, the ~ (tilde) sign is used, and it gets expanded to the home directory automatically. β¨ and the .pet suffix can be specified β but if you omit it, it'll be appended automatically. iykyk. π¦
π FILES π
$HOME/.yapetβ the per-user configuration file. if it exists, options are read from this file, but they can be overridden by the command line options. π«Ά and you can disable processing of this file entirely by invokingyapetwith the-ioption. periodt.
π AUTHORS π
Rafael Ostertag rafi@guengel.ch. π
π SEE ALSO π
okay bestie that's literally the whole thing, go configure ur lil heart out π this was YAPET 2.6, dated 2022-03-12, and it's the YAPET_CONFIG(5) page β slay, stay safe, and don't forget those Booleans are case-sensitive fr fr πβ¨π
π¦ where this page comes from
- debian bookworm: yapet 2.6-2~deb12u1 Β· GPL-3.0-or-later WITH OpenSSL exception
- debian trixie: yapet 2.6-2 Β· GPL-3.0-or-later WITH OpenSSL exception
- epel 9: yapet 2.6-1.el9 Β· GPLv3+ with exceptions
- fedora 43: yapet 2.6-7.fc43 Β· LicenseRef-Callaway-GPLv3+-with-exceptions
- fedora 44: yapet 2.6-8.fc44 Β· LicenseRef-Callaway-GPLv3+-with-exceptions
- ubuntu jammy: yapet 2.6-1 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu noble: yapet 2.6-1ubuntu2 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu questing: yapet 2.6-2
- ubuntu resolute: yapet 2.6-2build1 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu stonking: yapet 2.6-2build2 Β· GPL-3.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms