Description
pwd.sh is a Bash script for managing text secrets such as passwords, encrypted with GnuPG symmetric encryption. Each secret is saved to a randomly named file in a store directory, and an encrypted index maps usernames to those files. Both the index and the secret files can be decrypted directly with GnuPG, so you do not need pwd.sh to read them. The script runs interactively or takes options on the command line. You can write a secret, read one, list secrets, generate a random secret or username, archive materials for backup and restore from a backup. Secrets are stored with an epoch timestamp, so the most recent version is read by default, and you can read an older version. The script is configured with environment variables for the store directory, the index file name, the clipboard command and its arguments, and whether output goes to the clipboard or the screen. It can be installed from the Releases page, by cloning the repository, or by downloading the script directly.…
Highlights
- Secrets encrypted with GnuPG
- Encrypted index that maps usernames to secrets
- Random secret and username generation
- Timestamped versions of each secret
- Backup archive and restore
- Clipboard or screen output
Ratings & Reviews
No ratings yet
Be the first to rate Pwd.sh.
People also visit
Password Pusher
Dead-simple application to securely communicate passwords (or text) over the web
Pwd.sh FAQ
What is pwd.sh?
A Bash script that stores passwords and other text secrets, encrypted with GnuPG symmetric encryption.
Do I need pwd.sh to read my secrets?
No. The index and the secret files can be decrypted directly with GnuPG.
How do I install it?
Download the script from the Releases page, clone the repository, or download the script file directly.
Where are secrets stored?
In the directory set by PWDSH_STORE, which defaults to v4-pwd.sh.secret. The index file name is set by PWDSH_INDEX and defaults to v4-pwd.sh.index.
Can it copy secrets to the clipboard?
Yes, by default. PWDSH_CLIP_CMD sets the clipboard command, xclip by default, and the README lists pbcopy for macOS. Set PWDSH_CLIP_OUT to screen to print instead.
What are the best Pwd.sh alternatives?
Popular alternatives to Pwd.sh include Purse, Keyper Docs and Password Pusher. See all Pwd.sh alternatives