Skip to content
Snippets Groups Projects
Commit ad4fc762 authored by Svend Sorensen's avatar Svend Sorensen
Browse files

Implement interactive init function

parent e25114c4
No related branches found
No related tags found
No related merge requests found
......@@ -185,6 +185,14 @@ after `password-store-timeout' seconds."
(message "Copied %s to the kill ring. Will clear in %s seconds." entry password-store-timeout)
(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."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment