mirror of
https://github.com/octoleo/Purse.git
synced 2025-01-30 02:28:30 +00:00
drduh
4fbec3ee54
Add license. Update dependencies to include srm. Set secure umask. Remove superfluous main method.
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.
Requires srm
. Install with apt-get install secure-delete
. Already included in OS X.
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.
To reset/erase keys and passwords, rm pwd.sh.*
.
Description
Languages
Shell
100%