aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--man/lpass.18
-rw-r--r--src/constants.h4
3 files changed, 14 insertions, 3 deletions
diff --git a/README.md b/README.md
index be3d79c..afe3b72 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,9 @@ a simple terminal password manager, using GnuPG to encrypt passwords. Distribute
* GnuPG
* [GPGME](gnupg.org/software/gpgme/) - GnuPG high-level crypto API
+### Optional:
+* X11 environment
+
## Installation:
Run the next commands:
```
@@ -20,6 +23,8 @@ lpass [command] [options]
Initialize the password manager using the passed *gpg-key* as the encryption key. This command must be run first before you start working with LockPassword.
### insert [**-e, --echo**] [**-c, --copy**] [**-f, --force**] *passname*
Add the specified *passname* to the password manager. The password will be read interactively using standard input, character display is hidden. The **-e, --echo** argument enable the show of characters when typing a password; **-c, --copy** write password to clipboard; **-f, --force** ignore exist of *passname*, overwrites it without prompt.
+### edit *passname*
+Open the specified *passname* in a text editor, waiting for changes. The text editor specified in the environment variable EDITOR or vi(1) is used. Temporary file for password editing locate in tmpfs / ramfs (we expect that it to be mounted at /dev/shm).
### generate [**-l, --length=pass-length**] [**-c, --copy**] [**-f, --force**] *passname*
Generate a random password and write it in *passname*. The **-l, --length = pass-length** argument allow you to specify the desired password length. Without this argument, a 14 character password will be generated. **-c, --copy** write password to clipboard; **-f, --force** ignore exist of *passname*, overwrites it without prompt.
### mv [**-f, --force**] *old-path* *new-path*
diff --git a/man/lpass.1 b/man/lpass.1
index 81d4237..23ab904 100644
--- a/man/lpass.1
+++ b/man/lpass.1
@@ -1,4 +1,4 @@
-.TH "LPASS" "1" "1\ \&MARCH\ \&2021" "LPASS v1.1a" "LockPassword"
+.TH "LPASS" "1" "6\ \&MARCH\ \&2021" "LPASS v1.1b" "LockPassword"
.SH "NAME"
LockPassword - a password manager.
@@ -22,6 +22,12 @@ Add the specified \fIpassname\fR to the password manager. The password will be r
.RE
.PP
+\fBedit \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
+.PP
+
\fBgenerate\fR [-l, --length=pass-length] [-c, --copy] [-f, --force] \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.
diff --git a/src/constants.h b/src/constants.h
index 2168883..46ac024 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -19,8 +19,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
***/
-#define VERSION "1.1a"
-#define DATE_RELEASE "1 March, 2021"
+#define VERSION "1.1b"
+#define DATE_RELEASE "6 March, 2021"
#define LOCKPASS_DIR ".lock-password/"
#define GPGKEY_FILE ".gpg-key"