Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Commit

Permalink
Quote password being sent to op
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmuller committed Dec 26, 2021
1 parent 051c6a2 commit d047881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qute_1pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit d047881

Please sign in to comment.