1
0
mirror of https://github.com/octoleo/Purse.git synced 2024-12-28 03:45:04 +00:00
GPG asymmetric (YubiKey) password manager
Go to file
2015-10-31 00:08:51 -04:00
.gitignore Add gitignore 2015-07-27 12:57:39 -04:00
gpg.conf Recommend SHA512 for hashing passphrases in symmetric ops 2015-10-30 22:50:59 -04:00
LICENSE.md Update screencast gif, readme docs and license title. 2015-07-02 23:19:35 -04:00
pwd.sh Style nits and cleanup 2015-10-31 00:08:51 -04:00
README.md Improve README readability. 2015-10-30 22:25:03 -04:00

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 or copy it to a folder in $PATH

Type w to write a password.

Type r to read a password.

Type d to delete a password.

Options can also be passed on the command line.

Create a password with a length of 30 characters for gmail:

./pwd.sh w gmail 30

Append <space>q to suppress generated password output.

Read the password for user@github:

./pwd.sh r user@github

Delete the password for dropbox:

./pwd.sh d dropbox

Copy the password for github to clipboard on OS X:

./pwd.sh r github | cut -f1 -d ' ' | tr -d '\n' | pbcopy

The script and pwd.sh.safe encrypted file can be safely shared between machines, for example through Google Drive or Dropbox.

An example gpg.conf configuration file is provided for your consideration.

Similar software

Pass: the standard unix password manager

caodonnell/passman.sh: a pwd.sh fork

anders/pwgen: generate passwords using OS X Security framework