3 ms·
I really want pass or something like it, but the two times I've tried, I got stuck trying to figure out the gpg part. I suppose I should go and learn that prope
by yjftsjthsd-h 7y ago
I really want pass or something like it, but the two times I've tried, I got stuck trying to figure out the gpg part. I suppose I should go and learn that properly anyways, since in spite of its UX it's still an extremely widely used and powerful tool, but it's a lot higher barrier to entry compared to "type in password, unlock vault".
- sigwinch28 7y agoThe gist of it is that you need a keypair (a public and private key), which GPG can generate for you. Then whenever you insert something into the `pass` database (which is just a directory tree full of encrypted plaintext files) the tool uses the public key to encrypt the password (or anything else): pass generate --no-symbols shopping/ebay 16 Later, when you want to read a password, you ask pass to decrypt the file using the private key from your keypair: pass shopping/ebay 16 The difficulty is really all in managing the keys, which can be quite a faff to set up and then manage. If you're only using gpg for `pass`, IMO it's easiest to copy the keypair (which gpg generated) to all your other machines. A quick web search brought up a gist [0] which shows how to quickly get up and running on a single machine. If you want to use it on another laptop/desktop/*nix-like machine you'll need to export both your public and private gpg keys and then import them on the other machine. When using a phone you have to do something similar. The Android clients were fairly straightforward, but Pass for iOS had a very, very clunky way of getting the keys across. Regardless, it boils down to this: get the gpg keypair on all of the devices and then get them all using the same git repo for pass. [0]: https://gist.github.com/flbuddymooreiv/a4f24da7e0c3552942ff https://gist.github.com/flbuddymooreiv/a4f24da7e0c3552942ff
- yjftsjthsd-h 7y agoThank you:) That gist does look like what I need; I'll have to try it out!
- Evidlo 7y agoI would recommend Keepass. There are a variety of clients available for lots of platforms.
- yjftsjthsd-h 7y agoI'm currently using keepassx(c) currently, actually:) That's mostly a good system for me, but I'm hitting some issues, mostly around syncing; syncthing is great, but it kinda sucks at taking care of conflicts, which pass (git) very much should manage nicely.