From 6fadfd16a996309efd192bb4b1a75b1b97152ddd Mon Sep 17 00:00:00 2001 From: b3nj5m1n <47924309+b3nj5m1n@users.noreply.github.com> Date: Thu, 2 Jul 2020 14:20:43 +0200 Subject: [PATCH] pass: add edit example, add more info to init/insert, simplify git example (#4139) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Zlatan Vasović Co-authored-by: Owen Voke --- pages/common/pass.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pages/common/pass.md b/pages/common/pass.md index e0f101835..05f3bc1d2 100644 --- a/pages/common/pass.md +++ b/pages/common/pass.md @@ -4,13 +4,17 @@ > All data is GPG-encrypted, and managed with a git repository. > More information: . -- Initialize the storage using a gpg-id for encryption: +- Initialize (or re-encrypt) the storage using one or more GPG IDs: -`pass init {{gpg_id}}` +`pass init {{gpg_id_1}} {{gpg_id_2}}` -- Save a new password (prompts you for the value without echoing it): +- Save a new password and additional information (press Ctrl + D on a new line to complete): -`pass insert {{path/to/data}}` +`pass insert --multiline {{path/to/data}}` + +- Edit an entry: + +`pass edit {{path/to/data}}` - Copy a password (first line of the data file) to the clipboard: @@ -24,6 +28,6 @@ `pass generate -c {{path/to/data}} {{num}}` -- Run any git command against the underlying store repository: +- Initialize a new Git repository (any changes done by pass will be committed automatically): -`pass git {{git_arguments}}` +`pass git init`