Skip to content
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

[FR] Support Windows paths in gopass show #3002

Open
bharatvaj opened this issue Nov 27, 2024 · 3 comments
Open

[FR] Support Windows paths in gopass show #3002

bharatvaj opened this issue Nov 27, 2024 · 3 comments
Labels
feature Enhancements and new features windows Affects Windows (only)

Comments

@bharatvaj
Copy link

Summary

An input such as web\google.com does not match web/google.com and asks
the user for choice after searching it fuzzily.

Expected Behaviour

When the path is passed as web\google.com to gopass show, it should convert
all the backward slashes to forward slash and show the correct password.

Environment

Window cmd

Additonal Context

I'm writing a cmd script which enables the user to select a credential using a
fuzzy finder of the user's choice. There is no easy way to get forward slash
paths in cmd batch script and converting the selected path to forward slash format
is not straightforward.

It would be ideal to have an option like --path in gopass show as the script I'm
writing (and other fuzzy front-ends I presume) require traversing the "*.gpg" folder
tree anyway. Doing a complete directory traversal again after running gopass show
could be avoided with --path option that accepts backward slash(\) paths.

@bharatvaj bharatvaj changed the title [FEATURE REQUEST] Support Windows paths in gopass show [FR] Support Windows paths in gopass show Nov 27, 2024
@dominikschulz dominikschulz added feature Enhancements and new features windows Affects Windows (only) labels Nov 27, 2024
@dominikschulz
Copy link
Member

@bharatvaj That sounds like a reasonable idea.

@bharatvaj
Copy link
Author

Mind if I work on it and raise a PR?

@dominikschulz
Copy link
Member

@bharatvaj Absolutely not. Go ahead if you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Enhancements and new features windows Affects Windows (only)
Projects
None yet
Development

No branches or pull requests

2 participants