From d0478819df964abec82c996371597a4655f6c6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20C=2E=20M=C3=BCller?= Date: Sun, 26 Dec 2021 10:52:27 -0500 Subject: [PATCH] Quote password being sent to op --- qute_1pass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qute_1pass.py b/qute_1pass.py index 333f735..ef53904 100755 --- a/qute_1pass.py +++ b/qute_1pass.py @@ -28,7 +28,7 @@ CMD_ITEM_SELECT = "echo -e '{items}' | rofi -dmenu -p 'Select login'" CMD_LIST_PROMPT = "echo {items} | rofi -dmenu" -CMD_OP_LOGIN = "echo -n {password} | op signin {subdomain} --output=raw" +CMD_OP_LOGIN = "echo -n '{password}' | op signin {subdomain} --output=raw" CMD_OP_LIST_ITEMS = "op list items --categories Login --session={session_id}" CMD_OP_GET_ITEM = "op get item {uuid} --session={session_id}" CMD_OP_GET_TOTP = "op get totp {uuid} --session={session_id}"