summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors3lph <5564491+s3lph@users.noreply.github.com>2021-03-18 02:35:42 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-20 10:09:49 +0100
commitc6028d763ee2266e3fd7d88d821726d09d264d27 (patch)
treed14523ac20e01c56054650ece73c9b7817c65ea7
parent10bf505febd4d0c0f14c224667d187f8d3f0c88d (diff)
downloadqutebrowser-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-xmisc/userscripts/qute-pass2
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])