GPG asymmetric (YubiKey) password manager
Go to file
drduh 866bbff0eb Indent by 2 spaces throughout. Add example for copying password to clipboard on OS X. 2015-07-31 00:53:28 -04:00
.gitignore Add gitignore 2015-07-27 12:57:39 -04:00
LICENSE.md Update screencast gif, readme docs and license title. 2015-07-02 23:19:35 -04:00
README.md Indent by 2 spaces throughout. Add example for copying password to clipboard on OS X. 2015-07-31 00:53:28 -04:00
gpg.conf Version 2. Use symmetric crypto instead of keys. Don't write passwords in plaintext to disk. Choose passwords by character length. Add recommended gpg configuration. 2015-07-02 22:56:16 -04:00
pwd.sh Indent by 2 spaces throughout. Add example for copying password to clipboard on OS X. 2015-07-31 00:53:28 -04:00

README.md

pwd.sh

Script to manage passwords in an encrypted file using gpg.

screencast gif

Installation

git clone https://github.com/drduh/pwd.sh && cd pwd.sh

Requires gpg. Install with brew install gpg or sudo apt-get install gnupg or build and install it from source.

Use

Run the script interactively with ./pwd.sh

Type w to write a password.

Type r to read a password(s).

Type d to delete a password.

Options can also be passed on the command line, e.g.,

./pwd.sh w gmail 30 to generate and write a password called 'gmail' with a length of 30 characters, or

./pwd.sh r github to read the password called 'github', or

./pwd.sh d dropbox to delete the password called 'dropbox'.

Combine with other programs by piping output, e.g.,

./pwd.sh r github | grep github | cut -f1 -d ' ' | pbcopy to copy a password to clipboard on OS X.

The script and pwd.sh.safe encrypted file can be safely shared between machines over public channels (Google Drive, Dropbox, etc).

A sample gpg.conf configuration file is provided for your consideration.