3 ms·
If you want to stay with a solution any moderately experienced developer can audit themselves without investing too much time, but would like to add a bit of us
by Freak_NL 10y ago
If you want to stay with a solution any moderately experienced developer can audit themselves without investing too much time, but would like to add a bit of user friendliness, have a look at pass¹.
It is nothing more than a script that calls the GnuPG binary and the tree command line utility for displaying a tree of files. It uses your GPG-keypair to encrypt text files. You can add as much info as you like, but by convention the first line of each file is assumed to be the password:
# Generate a 32-character random password.
pass generate sites/news.ycombinator.com 32
# Copy the password to the clipboard; this will ask you to unlock your GPG-key.
pass -c sites/news.ycombinator.com 32
# Find stuff.
pass find news
# Edit the file (e.g., add the username).
pass edit sites/news.ycombinator.com 32
All files are GPG-encrypted plain text files in a directory on disk. Easy to backup as well.
There is a rather sweet feature you can use to share some passwords with someone. You can add a list of GPG key IDs in a file called .gpg-id in any of the subdirectories of your password store, and share that subdirectory using a syncing tool such as SyncThing². My partner and I each have our own password store, but share a directory called 'together' via SyncThing. All passwords stored there are encrypted using both our GPG-keys by pass, whilst our private entries remain encrypted just for our own respective keys.
1: https://www.passwordstore.org/ https://www.passwordstore.org/
2: https://syncthing.net/ https://syncthing.net/
- slyall 10y agoI've been using pass for a year or two. It works fairly well and the built in git for syncing/history is nice. However the lack of a good mobile client is starting to nag me. There are ones that sort of work but appear to be quite clunky. I'm looking seriously at Enpass[1] as an alternative since it has good multi-platform support (I use desktop Linux, Windows and Mac plus Android). https://www.enpass.io/ https://www.enpass.io/
- StavrosK 10y agoI use Android too and I haven't found anything that beats Keepass2Android. It's a great app.
- emilecantin 10y agoI use Password Store[0] as a mobile client; it works fairly well. I have my private key on a Yubikey, it even works with that. 0: https://play.google.com/store/apps/details?id=com.zeapo.pwdstore https://play.google.com/store/apps/details?id=com.zeapo.pwds...