diff options
author | s3lph <5564491+s3lph@users.noreply.github.com> | 2021-03-18 02:35:42 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-20 10:09:49 +0100 |
commit | c6028d763ee2266e3fd7d88d821726d09d264d27 (patch) | |
tree | d14523ac20e01c56054650ece73c9b7817c65ea7 | |
parent | 10bf505febd4d0c0f14c224667d187f8d3f0c88d (diff) | |
download | qutebrowser-c6028d763ee2266e3fd7d88d821726d09d264d27.tar.gz qutebrowser-c6028d763ee2266e3fd7d88d821726d09d264d27.zip |
qute-pass userscript: Add -o flag to gopass otp invocation so the metadata arount the OTP token is omitted
(cherry picked from commit 62ff0f0ec07fe11e1c72022970399725fbc475d2)
-rwxr-xr-x | misc/userscripts/qute-pass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/userscripts/qute-pass b/misc/userscripts/qute-pass index 8e1827935..42e21b528 100755 --- a/misc/userscripts/qute-pass +++ b/misc/userscripts/qute-pass @@ -158,6 +158,8 @@ def pass_(path): def pass_otp(path): + if arguments.mode == "gopass": + return _run_pass(['otp', '-o', path]) return _run_pass(['otp', path]) |