mirror of
https://github.com/octoleo/Purse.git
synced 2024-12-28 20:12:38 +00:00
GPG asymmetric (YubiKey) password manager
gpg.conf | ||
LICENSE.md | ||
pwd.sh | ||
README.md |
pwd.sh
GnuPG wrapper for password management.
This script uses GPG to manage an encrypted text file containing passwords.
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.