Hi folks,
Thanks for this great program. I'm using it on Debian and we're going
to start using it at work as well.
As I dealt with a few people using it on Windows, I ran into an issue
with passwords containing spaces. A little quoting fixed it. Here's
the patch.
John
--- password-store-1.6.5/src/platform/cygwin.sh 2015-01-28 10:43:02.000000000 -0600
+++ /usr/lib/password-store/platform.sh 2015-08-26 13:35:34.595750300 -0500
@@ -25,8 +25,8 @@
if ( [ $i -gt 0 ] && [ "${args[$i-1]}" = "-o" ] ); then
args[$i]=$(cygpath -am ${args[$i]})
elif [ $could_be_filenames = "true" ]; then
- if [ -e ${args[$i]} ]; then
- args[$i]=$(cygpath -am ${args[$i]})
+ if [ -e "${args[$i]}" ]; then
+ args[$i]=$(cygpath -am "${args[$i]}")
else
could_be_filenames="false"
fi
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store