From 856611e2f89dc71da8d10f26e18c9fa2b12474eb Mon Sep 17 00:00:00 2001 From: Moviuro Date: Tue, 5 Dec 2017 20:57:13 +0100 Subject: README.md: add documentation for OTPs --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 27c4ce9..fe1f407 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,24 @@ in a convenient way using [rofi](https://github.com/DaveDavenport/rofi). url: http://my.url.foo autotype: SomeField :tab UserName :tab AnotherField :tab pass ``` - You can use `:tab`, `:enter`, or `:space` here to type Tab, Enter, or Space (useful for toggling checkboxes) respectively. `:delay` will trigger a delay (2 seconds by default). + `:otp` will generate an OTP, either `pass-otp(1)` style, or according to the + `otp_method:`, if it is defined. +* Generating OTPs. + The format for OTPs should either be `pass-otp(1)`-compatible + ``` + [...] + otpauth://[...] + ``` + Or it should define a method for generating OTPs: + ``` + [...] + otp_method: /opt/obscure-otp-generator/oog --some-option some args + ``` + * All hotkeys are configurable in the config file * The field names for `user`, `url` and `autotype` are configurable * Bookmarks mode (open stored URLs in browser, default: Alt+x) @@ -55,6 +68,7 @@ in a convenient way using [rofi](https://github.com/DaveDavenport/rofi). * gawk * bash * pwgen +* pass-otp(1) (https://github.com/tadfisher/pass-otp) (optional: for OTPs) ### BSD -- cgit