diff options
author | Svend Sorensen <svend@ciffer.net> | 2014-05-07 15:29:05 -0700 |
---|---|---|
committer | Svend Sorensen <svend@ciffer.net> | 2014-05-07 15:55:11 -0700 |
commit | ad4fc762750781eac1747cf6d993ccba1434781d (patch) | |
tree | b01a3b8418ccd90d7cdbe0bfc5e27f095870ba43 /contrib/emacs/password-store.el | |
parent | e25114c4c09be5f055fd2784f420681488ef5df0 (diff) | |
download | pass-ad4fc762750781eac1747cf6d993ccba1434781d.tar.gz pass-ad4fc762750781eac1747cf6d993ccba1434781d.tar.bz2 pass-ad4fc762750781eac1747cf6d993ccba1434781d.zip |
Implement interactive init function
Diffstat (limited to '')
-rw-r--r-- | contrib/emacs/password-store.el | 8 |
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: ") |