1passel is a very simple tool to integrate 1password into emacs. I find this useful to be used within the EXWM desktop environment. With this I can get my password anywhere with a few keystrokes.
The main prerequisite for this package is the op
command-line utility provided by 1password. One this is installed, you can download the 1passel.el file and load it from your init file.
You also need to have gpg-agent running as the tool is going to use your master password stored in an encrypted gpg file (see this line of code).
A part from the usual installation you can install this using straight and use-package.
(use-package 1passel
:straight '(1passel :host github
:repo "vinid/1passel"
:branch "master"))
1passel exposes two interactive commands
If you use 2FA the first time you will need to run:
op signin
On your command line.
Allows for password search. Logs in if you are logged out. It simply runs the command to get the accounts and allows for the extraction of a particular password that is then copied to clip-board.
- 1password.el it is a nicely done project to integrate 1password into emacs.
- 1pass provides a very well designed wrapper on top of the 1password command-line tool. It also provides some emacs features.