Skip to content

Latest commit

 

History

History
53 lines (24 loc) · 907 Bytes

pass.md

File metadata and controls

53 lines (24 loc) · 907 Bytes

Pass

The standard Unix password manager.

Simple script that manages your passwords using GnuPG, basic files/folder structure and optionally git.

Environment variable

To change the password storage directory to the current one

export PASSWORD_STORE_DIR="$( pwd )/";

Basically there are 3 options to choose from:

  • DIR
  • KEY
  • GIT

Append PASSWORD_STORE_ to these, they are self-explanatory.

Starting

Generate a GnuPG key

gpg --gen-key;

Put the root folder for the password store into 'PASSWORD_STORE_DIR'.

PASSWORD_STORE_DIR="$( pwd )/";

Initialize the new password storage. Point replace with your newly generated gpg key's id.

pass init <gpg-id>;

Create your first password.

pass insert <pass-group>/<pass-name>;

List passwords.

pass ls;

Insert password into paste-buffer.

pass -c <pass-group>/<pass-name>;