password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 04bea9e06009c4a073101bed8a251597002d13c3
parent 38a419408360a37070600ca9f9102fbd7a703fc7
Author: Damien Cassou <damien@cassou.me>
Date:   Tue, 29 Aug 2017 16:44:25 +0200

emacs: --run-async: Quote shell arguments

This is important for filenames with special characters such as spaces
and parenthesis.

Diffstat:
Mcontrib/emacs/password-store.el | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el @@ -83,10 +83,11 @@ outputs error message on failure." "Run pass asynchronously with ARGS. Nil arguments are ignored." - (with-editor-async-shell-command - (mapconcat 'identity - (cons password-store-executable - (delq nil args)) " "))) + (let ((args (mapcar #'shell-quote-argument args))) + (with-editor-async-shell-command + (mapconcat 'identity + (cons password-store-executable + (delq nil args)) " ")))) (defun password-store--run-init (gpg-ids &optional folder) (apply 'password-store--run "init"