4 ms·
If I have a keyboard, then for a relatively small dataset, such as my saved passwords, I prefer a text file over any database. Lookup workflow: decrypt file (wi
by ultrafilter 7y ago
If I have a keyboard, then for a relatively small dataset, such as my saved passwords, I prefer a text file over any database. Lookup workflow: decrypt file (with, say, gpg), find what I want (with, say, grep), delete decrypted file. (Not safe if you don't use disk encryption!) Update workflow: decrypt file, edit file, encrypt file, commit encrypted file to local git repo, git push to backup storage.
- cortesoft 7y agoThat sounds like a lot of work... I am entering passwords on websites 10-30 times a day... that would add up.
- KingMachiavelli 7y agoThe 'Pass' password manager is just bash wrapper for this. It comes with 'passmenu' which is a very simple script that pipes the list of passwords to dmenu & handles the decryption using gpg. I just have a keybinding to launch it so I can copy & insert a password into any application in seconds. [1] https://www.passwordstore.org/ https://www.passwordstore.org/
- karlicoss 7y agoPerhaps of you pipe it into vim (i.e. | vim - ), it'd be somewhat safer and less manual work.
- megous 7y agoThere's a vim extension that automatically decrypts files with gpg extension on open and encrypts them on save. If you use gpg agent, this is pretty painless. Just be careful about leaking to .viminfo file. :)
- jmcphers 7y agoYou're describing the behavior of https://www.passwordstore.org/ https://www.passwordstore.org/ almost exactly! Give it a try.