gopass-jsonapi
gopass-jsonapi copied to clipboard
Gopass Bridge cannot handle tilde in Gopass path
In my Gopass config, I'm using a ~
to specify the path
: https://github.com/cloudlena/dotfiles/blob/main/gopass/.config/gopass/config.yml#L2
This works fine with the gopass
command, but Gopass Bridge cannot handle it. Everything works fine if I replace ~
with /home/lena
though.
Can you point out what you replace where in gopassbridge and what the expected result is?
@martinhoefling, I don't understand your question.
My gopass config is the one I posted above. In its path
, it contains a ~
, which represents my home directory. gopass itself parses that correctly and it all works. gopass bridge, however, doesn't parse my config correctly and doesn't work.
gopass itself used to have the same problem, and it was fixed by https://github.com/gopasspw/gopass/pull/1713. However, gopassbridge hasn't fixed the issue yet.
Are you talking about the gopass-jsonapi that is used for communication with gopass? I don't see how the browser plugin uses the tilde. What gopass and gopass-jsonapi versions are you using?
Thanks, @martinhoefling! From your answer, I'm guessing that the same path I'm putting in the config is also exposed via jsonapi, yes.
Seems like this is an issue with the json API. Can you post the exact version of your binaries (gopass and gopass-jsonapi)?
gopass 1.14.0
go1.18.1 linux amd64
gopass-jsonapi version 1.11.1