YAPET(1)
π NAME π
yapet β text based password manager β¨
β¨ SYNOPSIS β¨
yapet [[-c] | [-h] | [-V] [[-i] | [-r rcfile]] [[-s] | [-S]] [-t sec]] [filename] v == DESCRIPTION
π DESCRIPTION π
okay bestie, sit down, because yapet is literally the moment π
. What it does is give you a text user interface for storing passwords and all the lil associated info (we call those password records) inside files that get encrypted on disk. A password record is made up of a record name, a host name, a user name, a password, and a comment. To encrypt/decrypt the password records in a given file you need a master password π. And no cap, yapet does not impose a limit of password records per file β put in as many as you want, it's not gonna complain π«Ά.
Files created by yapet always have the suffix .pet πΎ. Also, if a file is loaded using the command line, yapet appends the suffix .pet to the filename unless the filename already includes this suffix. By default, yapet refuses to load files not having a file mode of 0600. This behavior can be changed by providing the -s option when starting yapet or using a configuration file (see yapet_config(5), and OPTIONS).
After loading a file, the record name of each password record is displayed in a list π. Existing password records can be opened by selecting them and pressing Enter. By default, existing password records are opened in read-only mode to avoid accidental changes β because bestie, we do not want the accidental edit arc π. Pressing Ctrl+r toggles between read-only and edit mode.
On terminals supporting colors, the password is hidden if the password record dialog is in read-only mode π. The password can be made visible, by either going to edit mode (Ctrl+r), or by pressing Ctrl+t.
yapet relies on OpenSSL for encryption and decryption of password records π. Starting with YAPET 2.0 the cipher used is AES-256. YAPET 2.0 will read and write pre YAPET 2.0 files. Pre YAPET 2.0 files are converted to YAPET 2.0 files when changing the master password. Once converted, the files can no longer be read by pre YAPET 2.0 versions β οΈ.
Other features of yapet are:
- Screen lock after a certain amount of inactivity when password file is loaded (see also
yapet_config(5)and OPTIONS). π΄ - Password records opened in read-only mode (default) hide the password. Toggling into edit mode reveals the password (see Password Record Dialog Keys). π
- Import of CSV files (see
csv2yapet(1)). π₯ - Export of YAPET files to CSV files (see
yapet2csv(1)). π€ - Integrated password generator. π²
π₯ Main Window Function Keys π₯
Following function keys are recognized in the main window:
hβ Show an overview of the function keys.Enterβ Open the currently selected password record.sβ Save changes to currently loaded file.rβ Open a file.eβ Create a new, empty file.lβ Lock the screen immediately. Takes only effect if a file is loaded.aβ Add a new password record.dβ Delete the currently selected password record.oβ Change the sort order of the password record list./β Search for a password record. The search is only performed on the Name of the password record. Other password record fields won't be searched.nβ Search for the next occurrence of a previous search initiated by/.cβ Change the master password of the currently loadedyapetfile.iβ Show various information aboutyapetand the loaded file, if any.Ctrl+lβ Redraw the entire screen.gβ Open the password generator.qβ Quityapet.
πΈ Cursor Movement Keys πΈ
Cursor movement, whether in clear text or password fields, is accomplished by using the following keys:
Left,Ctrl+bβ Moves the cursor one character to the left. β¬ οΈRight,Ctrl+fβ Moves the cursor one character to the right. β‘οΈHome,Ctrl+aβ Moves the cursor to the beginning of the input field.End,Ctrl+eβ Moves the cursor to the end of the input field.Backspaceβ Delete the character left of the cursor.Delete,Ctrl+dβ Delete the character under the cursor.Ctrl+kβ Delete all characters under and right of the cursor.Ctrl+uβ Delete all characters left of the cursor.Enter,Tabβ Focus the next widget.Shift+Tabβ Focus the previous widget.
π¦ Password Record Dialog Keys π¦
Following function keys are recognized in the password record dialog, besides cursor movement keys (see Cursor Movement Keys):
Ctrl+rβ Toggle the password record dialog between read-only and edit mode. In read-only mode,yapethides the password (only supported on color terminals).Ctrl+tβ Toggle between hiding and showing the password, without setting the password record dialog to edit mode (only supported on color terminals). Has no effect if the password record dialog is in edit mode.
π OPTIONS π
The following options are supported:
-cβ Show copyright information.-hβ Print help text.-iβ Do not read the configuration file.-rrcfileβ Read the configuration file specified byrcfile. If this option is not given, the default configuration file read is$HOME/.yapetunless-iis specified.-sβ Disable the check for the owner and file mode when loading files. Without this option,yapetchecks password files for having the same owner as the user runningyapetand verifies that the file mode is strictly0600. If one of these conditions are not met,yapetrefuses to load the file.
Providing this options disables those checks and yapet will load files with owners other than the process owner of yapet and file modes different from 0600. New files saved while this option is active will have the file mode set according to umask(2).
-Sβ Enable the check for the owner and file mode when loading files. This option makesyapetto load password files having the owner set to the process owner ofyapetand the file mode strictly set to0600only. If one of these conditions are not met,yapetrefuses to load the file.
New files saved while this option is active will have the file mode set to 0600. This is the default mode.
-tsecβ Set the timeout until the screen is locked tosecseconds. The minimum time allowed is10seconds. If a smaller value is provided, the timeout will be set to10seconds.
Default: 10 min.
-Vβ Show version ofyapet.filenameβ The file to open upon invocation ofyapet. If the file does not exist,yapetasks whether it should be created. Files created byyapetalways have the suffix.pet. πΎ
ποΈ FILES ποΈ
$HOME/.yapetβ The per-user configuration file. If existing, options are read from this file but can be overridden by the command line options. Processing of this file can be disabled by invokingyapetwith the-ioption. Refer to theyapet_config(5)for an explanation of the per-user configuration file.
π ENVIRONMENT π
LC_MESSAGESβ Displaying messages in the specified language. Currently only German is supported besides English. π©πͺ
π BUGS π
Please report bugs to https://github.com/RafaelOstertag/yapet/issues. π (do it bestie, the maintainers wanna know fr fr)
π AUTHORS π
Rafael Ostertag rafi@guengel.ch.
π SEE ALSO π
yapet_config(5), yapet_colors(5), yapet2csv(1), csv2yapet(1)
and that's the whole page, bestie β this was YAPET 2.6, dated 2022-03-12 π mwah, go encrypt something, periodt π β¨
π¦ 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