Avoiding repeated biometric auths in editor subshells
Hi!
I was super happy to see the new 1Password CLI 2.x functionality with biometric unlock! It sounds super useful for developer purposes. I'm having some trouble when I try to integrate it with my workflow, though.
I would like to use 1Password-CLI 2.x to automate various tasks which I start in my editor, using the new biometric unlock feature. However, because each task creates a new window, I must authenticate each time.
This is really a drag as my Apple Watch doesn't seem to always 'catch' the bluetooth request to authenticate, leaving me no option but to cancel and restart the command.
It appears the multiple authentication requests are because the "session credentials" described here are based on TTY name and some kind of "start time": https://developer.1password.com/docs/cli/biometric-security/#session-credentials
Is it possible to override this behavior so that I use the same session for all terminal windows started by my editor?
I'm using op 2.0.0.
1Password Version: 8.7.0
Extension Version: Not Provided
OS Version: macOS 12.3.1
