Compare commits

...

2 Commits

Author SHA1 Message Date
Felipe Martin Garcia 1580ac9826
Merge pull request #3 from jcmuller/allow-shell-unfriendly-chars
Quote password being sent to op
2021-12-26 17:39:23 +01:00
Juan C. Müller d0478819df
Quote password being sent to op 2021-12-26 10:52:27 -05:00
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ CMD_PASSWORD_PROMPT = (
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}"