Quote password being sent to op

This commit is contained in:
Juan C. Müller 2021-12-26 10:52:27 -05:00
parent 051c6a228d
commit d0478819df
No known key found for this signature in database
GPG Key ID: A76E55A7FBA1E283
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}"