summaryrefslogtreecommitdiff
path: root/man/pass.1
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-19 02:04:29 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-19 18:15:17 -0600
commitb1314982194c99361c2b81b3359a21d5a289fdb5 (patch)
treeeab7f53ce7ccc3c3e3f33344186d121679695867 /man/pass.1
parentc31bbd546a9be36f335345a9dad33676de2dbcb6 (diff)
downloadpass-b1314982194c99361c2b81b3359a21d5a289fdb5.tar.gz
pass-b1314982194c99361c2b81b3359a21d5a289fdb5.tar.bz2
pass-b1314982194c99361c2b81b3359a21d5a289fdb5.zip
Team pass: enable multiple keys and per directory
The .gpg-id file may now have multiple keys in it, one per line. If a .gpg-id file exists inside a subdirectory, passwords inside that directory are encrypted to that/those ids. The init command has learned a -p/--path option for writing such a sub directory .gpg-id and now can take several arguments for ids.
Diffstat (limited to '')
-rw-r--r--man/pass.118
1 files changed, 12 insertions, 6 deletions
diff --git a/man/pass.1 b/man/pass.1
index efb5d9b..9399dba 100644
--- a/man/pass.1
+++ b/man/pass.1
@@ -51,15 +51,19 @@ password names in
.SH COMMANDS
.TP
-\fBinit\fP [ \fI--reencrypt\fP, \fI-e\fP ] \fIgpg-id\fP
+\fBinit\fP [ \fI--reencrypt\fP, \fI-e\fP ] [ \fI--path=sub-folder\fP, \fI-p sub-folder\fP ] \fIgpg-id...\fP
Initialize new password storage and use
.I gpg-id
-for encryption. This command must be run first before a password store can be
-used. If \fI--reencrypt\fP or \fI-e\fP is specified, reencrypt all existing
-passwords in the password store using \fIgpg-id\fP. Note that use of
+for encryption. Multiple gpg-ids may be specified, in order to encrypt each
+password with multiple ids. This command must be run first before a password
+store can be used. If \fI--reencrypt\fP or \fI-e\fP is specified, reencrypt
+all existing passwords in the password store using \fIgpg-id\fP. Note that
+use of
.BR gpg-agent (1)
is recommended so that the batch decryption does not require as much user
-intervention.
+intervention. If \fI--path\fP or \fI-p\fP is specified, along with an argument,
+a specific gpg-id or set of gpg-ids is assigned for that specific sub folder of
+the password store.
.TP
\fBls\fP \fIsubfolder\fP
List names of passwords inside the tree at
@@ -322,7 +326,9 @@ The default password storage directory.
.TP
.B ~/.password-store/.gpg-id
Contains the default gpg key identification used for encryption and decryption.
-This should be set using the \fBinit\fP command.
+Multiple gpg keys may be specified in this file, one per line. If this file
+exists in any sub directories, passwords inside those sub directories are
+encrypted using those keys. This should be set using the \fBinit\fP command.
.SH ENVIRONMENT VARIABLES