• Stars
    star
    174
  • Rank 219,104 (Top 5 %)
  • Language
    Emacs Lisp
  • License
    GNU General Publi...
  • Created over 9 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A major mode for password-store

pass

Build Status MELPA

A major-mode to manage your password-store (pass) keychain. The keychain entries are displayed in a directory-like structure.

Canonical repository: https://gitea.petton.fr/nico/pass

Installing

Use melpa.

Getting started

This library depends on password-store.el and password-store-otp.el.

M-x pass

The following keybindings are available:

  • i: Insert a new entry (With a prefix argument, generate the password)
  • n: Go to the next entry
  • p: Go to the previous entry
  • M-n: Go to the next directory
  • M-p: Go to the previous directory
  • k: Remove the entry at point
  • w: Copy password of the entry at point to the kill ring
  • b: Copy username of the entry at point to the kill ring
  • u: Copy url of the entry at point to the kill ring
  • f: Copy a given secret field of the entry at point to the kill ring
  • U: Browse to the url of the entry at point with the default web browser
  • s: Trigger iSearch
  • r: Rename the entry at point
  • ?: Help
  • g: Update the password-store buffer
  • RET or v: Go to the entry at point
  • j: Jump to a given entry
  • q: Quit pass

Configuration

pass-username-fallback-on-filename

Some applications/extensions rely on a password store structure that exposes the username as the entry name, i.e:

example.com/
  [email protected]

If pass-username-fallback-on-filename is non-nil, the copy username command will still try to find a password field within the entry but fallback to the entry name if the field isn't found. In the example above, [email protected] will be used in place (unless the entry does contain a password field).

2FA / OTP Support

If you have the pass-otp extension installed, you will be able to use the following keybindings as well:

  • o i: Insert an OTP key URI in a new entry (as in pass otp insert)
  • o a: Append an OTP key URI to an existing entry (as in pass otp append)*
  • o s: Take a screenshot of an OTP QR Code and have its related URI be appended to an existing entry
  • o o: Copy OTP token for entry at point (as in pass otp -c)
  • o u: Copy OTP key URI for entry at point (as in pass otp uri -c)

* o a works exactly as pass otp append, in the sense that it will only "append" a URI to an entry if said entry does not have a URI already. pass otp append will not add several OTP key URIs to the same entry, but it will substitute the existing OTP key URI with a new one in each call. For more information, please refer to pass-otp documentation.

Pass View Mode

pass entry files are displayed in buffers that run under pass-view-mode. This major mode provides some features:

  • It will mask the password line automatically, you can hit C-c C-c to unmask it.
  • You can hit C-c C-w to copy your password to your clipbard.
  • In case of having OTP information in an entry, the buffer will display a header line with the OTP token and remaining seconds until expiration.
  • You can hit C-c C-o to copy the OTP token to your clipboard.
  • You can hit C-c C-q to display the QR Code for the OTP URI in the entry.

Pass in Emacs

Users of this package may also be interested in functionality provided by other Emacs packages dealing with pass:

Contributing

Yes, please do! See CONTRIBUTING for guidelines.

License

See LICENSE. Copyright (c) 2015-2019 Nicolas Petton & Damien Cassou.

More Repositories

1

Indium

A JavaScript development environment for Emacs
Emacs Lisp
1,131
star
2

zerodark-theme

A dark, medium-contrast theme for Emacs
Emacs Lisp
279
star
3

Projectify

Project management for TiddlyWiki
JavaScript
140
star
4

seq.el

Sequence manipulation library for Emacs. Included in Emacs 25
Emacs Lisp
138
star
5

nroam

Org-roam backlinks within org-mode buffers
Emacs Lisp
107
star
6

elbank

Elbank is a personal finances application for Emacs
Emacs Lisp
93
star
7

Notebook

Notebook is a clean, uncluttered theme for TiddlyWiki.
JavaScript
68
star
8

iliad

iliad smalltalk web framework
Smalltalk
59
star
9

emacs.d

My emacs config (mirror of https://gitlab.petton.fr/nico/emacs.d/)
Emacs Lisp
34
star
10

stream

Lazy sequence library for Emacs.
Emacs Lisp
31
star
11

org-gnome.el

Integrates orgmode with the GNOME desktop
Emacs Lisp
25
star
12

noccur.el

Run multi-occur on project/dired files
Emacs Lisp
21
star
13

discover-js2-refactor

Adds a discover context menu to js2-refactor
Emacs Lisp
13
star
14

NPL

Nico's TiddlyWiki Plugin Library
JavaScript
12
star
15

gnome-calendar.el

Gnome calendar integration with emacs
Emacs Lisp
11
star
16

sandstonedb

Simple ActiveRecord Style Persistence in Smalltalk
Smalltalk
9
star
17

Shields

SImple TiddlyWIki plugin to render project badges
9
star
18

amd-mode.el

Emacs minor mode for handling JavaScript AMD module definitions.
Emacs Lisp
9
star
19

Grease

Grease compatibility layer
Smalltalk
7
star
20

buffer-watcher

Makes it easy to run shell scripts per filetype/directory when a buffer is saved in Emacs.
Emacs Lisp
6
star
21

PayPal

PayPal integration in Iliad
Smalltalk
5
star
22

kate-smalltalk

kate syntax highlighting for (GNU) Smalltalk files
5
star
23

emacs-website

New Emacs website
Emacs Lisp
4
star
24

htmlCanvas

A simple HTML Canvas library similar to the one in Amber Smalltalk
JavaScript
4
star
25

telepathy.el

Access Telepathy from Emacs.
Emacs Lisp
4
star
26

gulp-task-runner

Run gulp tasks from Emacs
Emacs Lisp
4
star
27

emacs

My clone of GNU Emacs
Emacs Lisp
4
star
28

fcgi

A simple implementation of FastCGI for GNU-Smalltalk
Smalltalk
4
star
29

dreamedaway.com

Makefile
3
star
30

iliad-stable

Iliad stable branch
Smalltalk
3
star
31

swazoo-scgi

a Simple CGI implementation for Swazoo/GST
Smalltalk
3
star
32

Moka

An MVC framework for Amber
JavaScript
2
star
33

stumpwm.d

My stumpwm configuration files
Common Lisp
2
star
34

emacs-nodejs-docker

Makefile
2
star
35

emacs-docker

All recent Emacs versions in a single docker image
Dockerfile
2
star
36

google-weather-el

Emacs Lisp
2
star
37

gravatar

Very simple gravatar module for GNU-Smalltalk
Smalltalk
2
star
38

NicolasPetton.github.io

My website/blog
HTML
2
star
39

snapshot-timemachine-rsnapshot

rsnapshot backend for snapshot-timemachine
Emacs Lisp
1
star
40

vimfiles

My .vim directory
Vim Script
1
star
41

apollo-icons

Icon theme specifically made for Pharo and Amber environments
1
star
42

drone_ynh

Shell
1
star
43

simplemapper

Smalltalk
1
star
44

formula

Form validation in Iliad made easy
Smalltalk
1
star