I set -x SSH_AUTH_SOCK '~/.1password/agent.sock' (which is a symlink to the actual socket)
but then dagger tells me
NotFound: NotFound: rpc error: code = NotFound desc = socket /.1password/agent.sock not found: stat /.1password/agent.sock: no such file or directory
I can "trick" it by setting it to set -x SSH_AUTH_SOCK '~//Users/emuller/./.1password/agent.sock' and things work, but that is obv not where the auth sock actually is.
I've also tried set -x SSH_AUTH_SOCK '/Users/emuller/.1password/agent.sock' ... and it errors out the same as above stat /.1password/agent.sock: no such file or directory
I've also set SSH_AUTH_SOCK directly to the socket (instead of using the symlink) with similar results - I can also trick it with the same "hack"
AFAICT dagger is replacing $HOME with / (to state it simplistically)
These also happen to work and tricks dagger to use the right path...
set -x SSH_AUTH_SOCK './Users/emuller/.1password/agent.sock'
set -x SSH_AUTH_SOCK '~/./Users/emuller/.1password/agent.sock'
My shell is fish, but I've tried under BASH as well.
My docker environment is a pretty basic colima (if it matters)
I re-created the vm just in case and some thing
Note: I am pretty sure this issue is not with 1password, but dagger's handling of the path.