Open quite opened 2 weeks ago
Hi. Is any help required for this issue? If so, can I try?
What's needed is to dig into the code for the gopass git
subcommand, and make sure that the store path that it uses gets tilde-expanded. And there may be other subcommands which needs this treatment. Please help out if you can, I don't have time.
No problem, I'll have a go. Can you please assign me to this issue? Thank you.
No, I don't have permission to do that. I suggest you just work on a solution and submit a patch. :green_heart:
Summary
If
mounts.path
contains a path beginning with tilde, thengopass git ls-files
fails because it gets passed the tilde without it being first expanded.Steps To Reproduce
If
.config/gopass/config
contains:Then
gopass git ls-files
says:Expected behavior
The tilde needs to be expanded before
git ls-files
is fed with the path.Note that there may be other commands which is fed with the raw path, but where the tilde needs to be expanded first.
Environment
Additional context