-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mounts.path containing ~ (tilde) results in gopass git ls-files fails; expansion needed #2982
Comments
Hi. Is any help required for this issue? If so, can I try? |
What's needed is to dig into the code for the |
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. 💚 |
After some testing, I was able to reproduce the issue. I think the issue I used separate Dockerfiles (example below) with different gopass versions (1.15.14 and 1.15.15) I've attached a screenshot showing the versions, Let me know if you would like further details on anything and/or how to proceed further. example Dockerfile
|
Great, it's fixed! Thank you |
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
The text was updated successfully, but these errors were encountered: