diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/emacs/password-store.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el index cdecad4..746f133 100644 --- a/contrib/emacs/password-store.el +++ b/contrib/emacs/password-store.el @@ -200,7 +200,10 @@ Separate multiple IDs with spaces." "Insert a new ENTRY containing PASSWORD." (interactive (list (read-string "Password entry: ") (read-passwd "Password: " t))) - (message (shell-command-to-string (format "echo %s | %s insert -m -f %s" password password-store-executable entry)))) + (message (shell-command-to-string (format "echo %s | %s insert -m -f %s" + (shell-quote-argument password) + password-store-executable + (shell-quote-argument entry))))) ;;;###autoload (defun password-store-generate (entry &optional password-length) |