So, I’ve been using keepassxc for some time now, but I wanted a viable alternative for command line usage (there is keepassxc-cli, that I use, but it is really a pain in the ass). So, I searched and found pass and gopass.
However, I’ve seen that they store each entry in a gpg encrypted file, inside a plain directory hierarchy. And, don’t get me wrong, I believe that there are use cases for this, but if someone got their hands in your password_store, they would know every single login that you have (the only information that is protected is the password, or whatever is in the gpg file).
So, my question is, there is a password manager, cli based, that encrypts the whole database, and not the single entries?
Update: there is a pass extension made specifically to address this issue
So even the sub-directories of the password store are encrypted? For example, even if I put my password int the name of a subdirectory, they wouldn’t be able to see it?
No, only the file contents are encrypted. The file names and folder structure is visible to anyone who has access to the files.
The files themselves can contain a ton of stuff if you want, but the convention is to put the password on the first line and that’s what “pass -c my/file” will copy.
Hmm I get it. As I said, I think there is good use cases for it, specially because of the simplicity, but I personally prefer to have the entire database encrypted, kinda like keepassxc does
pass probably isn’t for you then, unless you find a wrapper or something that lets you put all in one file. I’ve switched to keepassxc as well, I could never get the browser integration to work with pass.