This emacs package improves on the user interface for password-store.el (see https://www.passwordstore.org/), adding a friendly transient pop-up.
Here’s what that looks like:
The package adds a bunch of useful features, including:
- A minor mode for editing/inserting password files
- Changes to password files are auto-committed to git
- Easy browsing and viewing of entries
- Inserting multi-line passwords
- Generating passwords with arguments (e.g. length, no-symbols)
- Showing password QR code inside emacs
(package-vc-install "https://github.com/rjekker/password-store-menu")
Config with use-package:
(use-package password-store-menu
:config (password-store-menu-enable)
:custom (password-store-menu-key "C-c p"))
Or without use-package:
(require 'password-store-menu)
(custom-set-variables '(password-store-menu-key "C-c p"))
(password-store-menu-enable)
By default, the password-store popup menu will be bound to the key C-c p
. You can configure this (see above).
The following menu items are available:
Key | Name | Description |
---|---|---|
b | Browse | Open the URL field in a browser and |
c | Copy Secret | Copy the secret into the clipboard |
f | Copy Field | Select a field from the entry and copy it |
o | Browse and Copy | Open the URL field in a browser and copy the secret into the clipboard |
v | View | Open entry in view-mode |
q | QR Code | View QR code for secret in an Emacs buffer |
Key | Name | Description |
---|---|---|
D | Delete | Delete password entry |
e | Edit | Edit entry by visiting it |
E | Edit (pass) | Edit entry by calling “pass edit” |
i | Insert | Insert a new password entry (single line: secret only) |
I | Insert multiline | Insert a new entry - open a buffer to create a multiline file |
g | Generate | Generate a new password |
r | Rename | Rename an entry |
Key | Name | Description |
V= | Diff | Show VC diff |
Vp | Pull | Pull from VC |
VP | Push | Push to VC |