summaryrefslogtreecommitdiff
path: root/contrib/emacs/README.md
blob: f94b95aebb1d356d327804c654b4f6c8ff6a9553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Emacs password-store

This package provides functions for working with pass ("the standard
Unix password manager").

http://www.zx2c4.com/projects/password-store

## Setup

The pass application must be installed and set up. See the pass
website for instructions

## Example usage

Interactive:

    M-x password-store-insert
    Password entry: example
    Password: ........
    Confirm password: ........

    M-x password-store-copy
    Password entry: example
    Copied example to the kill ring. Will clear in 45 seconds.
    Password cleared.

Lisp:

    (password-store-insert "example" "password")
    (password-store-get "example") ; Returns "password"