I have setup "git bash" on my windows machine and i am using my "pass" within git bash.
Instead of using the "pass imitation" (see https://github.com/IJHack/QtPass/blob/master/src/pass.cpp#L13) i want to let QtPass to use the real pass command line tool.
First i thought a windows .bat file as a wrapper could be a quick workaround:
set drive=%CD:~0,1%
IF NOT EXIST %LOCALAPPDATA%\Programs\Git\bin\bash.exe (
echo %LOCALAPPDATA%\Programs\Git\bin\bash.exe is missing. Please install git bash by installing git for windows. https://git-scm.com/download/win
exit /B 1
)
%LOCALAPPDATA%\Programs\Git\bin\bash.exe -c "export PASSWORD_STORE_DIR=/%drive%/%subpath%; pass '%1' '%2' '%3' '%4' '%5' '%6' '%7' '%8' '%9'"
but then i realized that pass is using interactive mode for pass insert which do not work that way.
Would be nice if you would add support for "git bash" on windows (to point QtPass to /usr/bin/pass).
That way it would be possible to use a maybe newer version, an older version or a custom patched version of pass.
I have setup "git bash" on my windows machine and i am using my "pass" within git bash.
Instead of using the "pass imitation" (see https://github.com/IJHack/QtPass/blob/master/src/pass.cpp#L13) i want to let QtPass to use the real pass command line tool.
First i thought a windows .bat file as a wrapper could be a quick workaround:
but then i realized that pass is using interactive mode for
pass insertwhich do not work that way.Would be nice if you would add support for "git bash" on windows (to point QtPass to /usr/bin/pass).
That way it would be possible to use a maybe newer version, an older version or a custom patched version of pass.