mirror of
https://github.com/octoleo/Purse.git
synced 2025-01-30 02:28:30 +00:00
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.
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.
Description
Languages
Shell
100%