aboutsummaryrefslogtreecommitdiff
path: root/pass-otp.1
diff options
context:
space:
mode:
authorTad Fisher <tad@simple.com>2017-03-20 13:52:25 -0700
committerTad Fisher <tad@simple.com>2017-03-20 13:52:25 -0700
commitdd7824f431c4cc8b52e01b5b84c7a178229755d2 (patch)
tree550c79bcaaaf946f0333c13c4a2000667d4c0085 /pass-otp.1
parentb6b23de6f787c3fc244484f613f84ffa6e3cb201 (diff)
Add cmd_otp_append for appending OTP secrets to existing passfiles
Diffstat (limited to 'pass-otp.1')
-rw-r--r--pass-otp.128
1 files changed, 16 insertions, 12 deletions
diff --git a/pass-otp.1 b/pass-otp.1
index 479bf3c..80e4943 100644
--- a/pass-otp.1
+++ b/pass-otp.1
@@ -52,6 +52,18 @@ convert the \fIissuer:accountname\fP URI label to a path in the form of
\fBadd\fP.
.TP
+\fBotp append\fP [ \fI--force\fP, \fI-f\fP ] [ \fI--echo\fP, \fI-e\fP ] \fIpass-name\fP
+
+Append an OTP secret to the password stored in \fIpass-name\fP, preserving any
+existing lines. The secret must be formatted according to the Key Uri Format;
+see the documentation at
+.UR https://\:github.\:com/\:google/\:google-authenticator/\:wiki/\:Key-Uri-Format
+.UE .
+The URI is consumed from stdin; specify \fI--echo\fP or \fI-e\fP to echo input
+when running this command interactively. Prompt before overwriting an existing
+secret, unless \fI--force\fP or \fI-f\fP is specified.
+
+.TP
\fBotp uri\fP [ \fI--clip\fP, \fI-c\fP | \fI--qrcode\fP, \fI-q\fP ] \fIpass-name\fP
Print the key URI stored in \fIpass-name\fP to stdout. If \fI--clip\fP or
@@ -75,20 +87,13 @@ information about this format, see the documentation at
.SH OPTIONS
.TP
-\fB\-c\fP, \fB--clip\fP
-Put the OTP code in the clipboard.
-
-.TP
-\fB\-f\fP, \fB--force\fP
-Force update and do not wait for user instruction.
-
-.TP
-\fBhelp\fP, \fB\-h\fB, \-\-help\fR
+\fBhelp\fP, \fB\-h\fP, \fB\-\-help\fP
Show usage message.
.SH SEE ALSO
-.BR pass(1),
-
+.BR pass (1),
+.BR qrencode (1),
+.BR zbarimg (1)
.SH AUTHORS
.B pass-otp
@@ -97,7 +102,6 @@ was written by
Tad Fisher
.ME .
-
.SH COPYING
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by