I have a 1password entry that breaks main.sh's get_op_item_password(). The JQ_FILTER is setup to check if the item's details.password field exists otherwise find a field with the password designation.
I'm not sure how I this entry got into this state, but it has a details.password field (empty string). The actual password is in one of the fields objects.
op get item "<item uuid>" | jq .details --raw-output:
I have a 1password entry that breaks
main.sh
'sget_op_item_password()
. TheJQ_FILTER
is setup to check if the item's details.password field exists otherwise find a field with the password designation.I'm not sure how I this entry got into this state, but it has a details.password field (empty string). The actual password is in one of the fields objects.
op get item "<item uuid>" | jq .details --raw-output
:How should this behave?
(And is this related to the
passwordHistory
field? I spot checked a few random other entries that work and the others don't have a passwordHistory.)