summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors3lph <5564491+s3lph@users.noreply.github.com>2021-03-18 02:35:42 +0100
committers3lph <5564491+s3lph@users.noreply.github.com>2021-03-18 02:37:12 +0100
commit62ff0f0ec07fe11e1c72022970399725fbc475d2 (patch)
tree92676f3b6fc835803376930dfffeba77d5db2608
parent3309ee65ede64286eb231c9203696b736ff7bcf3 (diff)
downloadqutebrowser-62ff0f0ec07fe11e1c72022970399725fbc475d2.tar.gz
qutebrowser-62ff0f0ec07fe11e1c72022970399725fbc475d2.zip
qute-pass userscript: Add -o flag to gopass otp invocation so the metadata arount the OTP token is omitted
-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])