summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/emacs/password-store.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el
index 60db318..1863185 100644
--- a/contrib/emacs/password-store.el
+++ b/contrib/emacs/password-store.el
@@ -186,6 +186,14 @@ after `password-store-timeout' seconds."
(run-at-time password-store-timeout nil 'password-store-clear)))
;;;###autoload
+(defun password-store-init (gpg-id)
+ "Initialize new password store and use GPG-ID for encryption.
+
+Separate multiple IDs with spaces."
+ (interactive (list (read-string "GPG ID: ")))
+ (message (password-store--run-init (split-string gpg-id))))
+
+;;;###autoload
(defun password-store-insert (entry password)
"Insert a new ENTRY containing PASSWORD."
(interactive (list (read-string "Password entry: ")
ss='deletions'>-3/+3 2015-01-28Bump version1.6.5Jason A. Donenfeld1-1/+1 2015-01-28cygwin + gpg4win: convert paths to windows paths when calling gpg4win binary ...Lenz Weber2-1/+26 2015-01-28Skip broken tests.Jason A. Donenfeld1-0/+6 2015-01-28Add unprotected keys for GnuPG 2.1Jason A. Donenfeld11-0/+0 2015-01-28Use more stable with-colons outputJason A. Donenfeld2-3/+3 2015-01-28Revert "Only examine subkeys that are capable of encrypting."Jason A. Donenfeld2-2/+2 2015-01-28Take into account use in testsJason A. Donenfeld1-1/+1 2015-01-28Bump version1.6.4Jason A. Donenfeld1-1/+1 2015-01-27Strip ".gpg" from symlinks as wellTheo Chatzimichos1-2/+2 2015-01-19clip: Show an error message if xclip returns a non-zero exit codeWieland Hoffmann1-3/+2 2015-01-19Correct path for top level grepJason A. Donenfeld1-2/+3