vinid / 1passel

1passel is a very simple tool to integrate 1password into emacs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1PassEl | 1Password integration in Emacs (Work in Progress)

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.

Installation

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"))

Commands

1passel exposes two interactive commands

First Login

If you use 2FA the first time you will need to run:

op signin

On your command line.

M-x 1passel-get-password

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.

Useful Links

  • 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.

About

1passel is a very simple tool to integrate 1password into emacs.

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%