Description
Purse is a Bash script for managing secrets in encrypted text files with GnuPG. It is based on drduh's pwd.sh, which uses a passphrase, but Purse uses public-key encryption, so you do not type a passphrase. Instead you plug in a YubiKey, enter its PIN and touch it to access your secrets. A GnuPG identity is required, and the README points to a YubiKey guide for setting one up. From the interactive menu you create a secret with w, read one with r, list all secrets with l, make a backup archive with b, and show help with h. Options can also be passed on the command line, for example to generate a 20-character password for a username. Each password is stored with an epoch timestamp so revisions are kept, and the latest version is copied to the clipboard when you read it. You can also read older versions and restore a backup archive. Clipboard behavior, how long a copied password stays there, and the default length are set with environment variables, and config/gpg.conf holds recommended GnuPG options.…
Highlights
- GnuPG encryption with a YubiKey, no passphrase
- Create, read and list secrets from one menu
- Versioned passwords with timestamps
- Clipboard copy that clears after a set time
- Encrypted backup archives
Ratings & Reviews
No ratings yet
Be the first to rate Purse.
People also visit
Password Pusher
Dead-simple application to securely communicate passwords (or text) over the web
Purse FAQ
What is Purse?
A Bash script that stores passwords and other secrets in GnuPG-encrypted text files. It is unlocked with a YubiKey instead of a passphrase.
What do I need to use it?
A GnuPG identity on a YubiKey. The README links drduh/YubiKey-Guide for setting one up.
How do I create and read a password?
Run ./purse.sh and press w to create a secret, or r to read one. Reading copies the most recent version to the clipboard.
Can I keep older versions?
Yes. Each password is stored with an epoch timestamp, and you can read a specific older version.
How do I make a backup?
Press b to create a backup archive. The README also shows how to restore an archive.
What are the best Purse alternatives?
Popular alternatives to Purse include Pwd.sh, Yopass and Keyper Docs. See all Purse alternatives