About Purse
Purse is a small shell script for managing secrets. It is based on drduh/pwd.sh, and both use GnuPG to keep secrets in encrypted text files. Purse uses asymmetric public-key authentication, while pwd.sh uses a passphrase.
With Purse you plug in the YubiKey, enter the PIN and touch it to read a secret. The script offers commands to write, read and list secrets and to create a backup archive, and it can generate passwords of a chosen length.
Each password is stored with an epoch timestamp for revision control, and the newest version is copied to the clipboard on read. A GnuPG identity is required, and behaviour is tuned with environment variables.
Key features
- Secrets in GnuPG-encrypted text files
- YubiKey access instead of a passphrase
- Timestamped versions of each password
- Newest password copied to clipboard
- Optional encrypted index
- Backup archive creation
Good fit for
- Storing passwords in encrypted files
- Generating fixed-length passwords
Purse: questions and answers
- What is Purse used for?
- Purse is a Bash script that stores passwords in GnuPG-encrypted files and unlocks them with a YubiKey instead of a passphrase. It is a good fit for storing passwords in encrypted files and generating fixed-length passwords.
- Is Purse open source?
- Yes. Purse is open source under the MIT licence. Its source code is on GitHub at drduh/Purse and is written mainly in Shell.
- Is Purse free?
- Yes. Purse is open source, so the software itself is free to use.
- What are some alternatives to Purse?
- Similar open-source tools in the Password Management category include pwd.sh, KeePassXC and KeyPass. SaaS products in the same category include Kaspersky Password Manager, NordPass and Avira Password Manager.
- Is Purse actively maintained?
- Yes. The most recent commit to Purse was on 20 October 2026, and the latest release is 3.0, published on 5 July 2024. The project has 616 stars on GitHub, with 1 added in the last 30 days.
Open-source alternatives to Purse
See allpwd.sh
Password Management
Manage secrets with Bash and GnuPG symmetric encryption
MIT★ 1.6k
KeePassXC
Password Management
KeePassXC is a cross-platform community-driven port of the Windows application “KeePass Pa
OSSvs Dashlane★ 30kKeyPass
Password Management
KeyPass: Open Source Project & An Offline Password Manager. Store, manage, and take contro
MITvs Dashlane★ 788
Strongbox
Password Management
A KeePass/Password Safe Client for iOS and OS X
AGPL-3.0vs Enpass★ 1.5k
Password Manager
Password Management
Clipperz is an online vault and password manager that knows nothing about you and your dat
AGPL-3.0vs LogMeOnce★ 752
Gopass
Password Management
The slightly more awesome standard unix password manager for teams
MITvs Keeper★ 7.3k
SaaS alternatives to Purse
See allKaspersky Password Manager
Password Management
Password manager from Kaspersky with a free tier and paid sync across devices
SaaSNordPass
Password Management
Password and passkey manager from the makers of NordVPN, with a limited free tier
SaaS
Avira Password Manager
Password Management
Password manager from Avira with a free version and paid Pro features
SaaS
Bitdefender SecurePass
Password Management
Password manager from Bitdefender with passkey support and a digital wallet
SaaS
Codebook
Password Management
Secure password and data vault for Apple and Android devices by Zetetic
SaaSEnpass
Password Management
Password manager that stores vaults locally and syncs through your own cloud account
SaaS
