As encouraged by @graham_1P, I try to switch to the docker image.
I replaced the
op binary in
/usr/local/bin by the following script:
#!/bin/bash docker run --rm -it -v $HOME/.op:/home/opuser/.op 1password/op op [email protected]
Things are working fine when I call the script directly from my terminal.
However, I have some issues when I try to call it from a subshell.
For example, the following call:
echo "$(op signin my_team --output=raw)"
which is equivalent of
echo "$(docker run -it --rm -v $HOME/.op:/home/opuser/.op 1password/op op signin my_team --output=raw)"
doesn't display the password prompt.
Does someone have an idea on how to resolve this ?
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided