GPG asymmetric (YubiKey) password manager
Go to file
drduh 72443fa6be 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
LICENSE.md Add license. Update dependencies to include srm. Set secure umask. Remove superfluous main method. 2015-07-02 17:47:32 -04:00
README.md 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
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 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

README.md

pwd.sh

GnuPG wrapper for password management.

This script uses GPG to manage an encrypted text file containing passwords.

Screencapture GIF

Requirements

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

Installation

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

Use

Run the script with ./pwd.sh

Type w to create a password. Will update existing password with same Username/ID.

Type r to print stored passwords. Can be piped to grep and pbcopy or xsel, for example.

Type d to delete a password by Username/ID.

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

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