.TH LPASS 1 "13 JUNE 2021" "LPASS v1.1c" LockPassword .SH NAME LockPassword - a password manager. .SH SYNOPSIS .B lpass <\fIcommand\fR> [<\fIoptions\fR>] .SH DESCRIPTION .B lpass - a simple terminal password manager, using GnuPG to encrypt passwords. .SH COMMANDS .B init <\fIgpg-key\fR> .RS 4 Initialize the password manager using the passed \fIgpg-key\fR as the encryption key. This command must be run first before you start working with LockPassword. .RE .B insert [\fB-e\fR, \fB--echo\fR] [\fB-c\fR, \fB--copy\fR] [\fB-f\fR, \fB--force\fR] <\fIpassname\fR> .RS 4 Add the specified \fIpassname\fR to the password manager. The password will be read interactively using standard input, character display is hidden. The \fB-e, --echo\fR argument enable the show of characters when typing a password; \fB-c, --copy\fR write password to clipboard; \fB-f, --force\fR ignore exist of \fIpassname\fR, overwrites it without prompt. .RE .B show [\fB-c\fR, \fB--copy\fR] [\fB-C\fR, \fB--no-color\fR] [<\fIpassname\fR>] .RS 4 If no \fIpassname\fR is specified, \fIpassname\fR will assign root of password manager tree. If \fIpassname\fR is directory, list names of passwords inside the at \fIpassname\fR. Otherwise decrypt and print a password of \fIpassname\fR. The \fB-c, --copy\fR write password to clipboard; \fB-C, --no-color\fR cancel colorize the output. .RE .B edit <\fIpassname\fR> .RS 4 Open the specified \fIpassname\fR in a text editor, waiting for changes. The text editor specified in the environment variable EDITOR or \fBvi\fR(1) is used. Temporary file for password editing locate in tmpfs / ramfs (we expect that it to be mounted at /dev/shm). .RE .B generate [\fB-l\fR, \fB--length=pass-length\fR] [\fB-c\fR, \fB--copy\fR] [\fB-f\fR, \fB--force\fR] <\fIpassname\fR> .RS 4 Generate a random password and write it in \fIpassname\fR. The \fB-l, --length = pass-length\fR argument allow you to specify the desired password length. Without this argument, a 14 character password will be generated. \fB-c, --copy\fR write password to clipboard; \fB-f, --force\fR ignore exist of \fIpassname\fR, overwrites it without prompt. .RE .B mv [\fB-f\fR, \fB--force\fR] <\fIold-path\fR> <\fInew-path\fR> .RS 4 Move/rename \fIold-path\fR to \fInew-path\fR. \fIold-path\fR must be an exist file, \fInew-path\fR can be a file/directory. The \fB-f, --force\fR argument ignore exist of \fInew-path\fR (if it's a file), overwrites it without prompt. .RE .B rm <\fIpassname\fR> .RS 4 Remove the \fIpassname\fR you specified from the password manager. If the directories where your \fIpassname\fR was nested became empty after deletion, then they are also deleted. .RE .B help .RS 4 Print help information about commands and the application itself. .RE .B version .RS 4 Print information about the version, release date, and license of the application. .RE .SH EXAMPLES Initialize the password manager: .RS 4 .B $ lpass init joursoir@joursoir.net .br LockPassword initialized for joursoir@joursoir.net .br .RE Add password in the password manager: .RS 4 .B $ lpass insert games/chess/user .br Please type your new password: [invisible input] .br Please type your new password again: [invisible input] .br Password added successfully for games/chess/user .RE Print a list of exists password: .RS 4 .B $ lpass show .br Password Manager .br ├── banks .br │ ├── abankpro .br │ │ └── phone_number .br │ └── ubank .br │ └── phone_number .br └── games .br └── chess .br ├── site.com .br └── user .RE Print a list of exists password in some directory: .RS 4 .B $ lpass show banks .br Password Manager/banks .br ├── abankpro .br │ └── phone_number .br └── ubank .br └── phone_number .RE Show password: .RS 4 .B $ lpass show games/iko/LordOfNight .br helloitismypassword123 .RE Copy password to clipboard: .RS 4 .B $ lpass show -c games/iko/LordOfNight .RE Generate password: .RS 4 .B $ lpass generate bank/sbank/phone_number .br Generated password: NsNu:+^Re(cshW .br Password added successfully for bank/sbank/phone_number .RE .SH "COPYING" Copyright (C) 2020-2021 Aleksandr D. Goncharov (Joursoir) .br License: GNU GPL version 3 .br This is free software: you are free to change and redistribute it. This program comes with ABSOLUTELY NO WARRANTY.