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 loaded yapet file.
  • i β€” Show various information about yapet and the loaded file, if any.
  • Ctrl+l β€” Redraw the entire screen.
  • g β€” Open the password generator.
  • q β€” Quit yapet.

🌸 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, yapet hides 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.
  • -r rcfile β€” Read the configuration file specified by rcfile. If this option is not given, the default configuration file read is $HOME/.yapet unless -i is specified.
  • -s β€” Disable the check for the owner and file mode when loading files. Without this option, yapet checks password files for having the same owner as the user running yapet and verifies that the file mode is strictly 0600. If one of these conditions are not met, yapet refuses 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 makes yapet to load password files having the owner set to the process owner of yapet and the file mode strictly set to 0600 only. If one of these conditions are not met, yapet refuses 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.

  • -t sec β€” Set the timeout until the screen is locked to sec seconds. The minimum time allowed is 10 seconds. If a smaller value is provided, the timeout will be set to 10 seconds.

Default: 10 min.

  • -V β€” Show version of yapet.
  • filename β€” The file to open upon invocation of yapet. If the file does not exist, yapet asks whether it should be created. Files created by yapet always 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 invoking yapet with the -i option. Refer to the yapet_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