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

  • harsh3466@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    3 days ago

    With pass, everything in the store is gpg encrypted. Unless they have your master password, getting the password_store itself will give them nothing but encrypted data blobs.

    Imo pass is great for CLI password management

    • grumt@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      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?

      • ebc@lemmy.ca
        link
        fedilink
        arrow-up
        4
        ·
        3 days ago

        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.

        • grumt@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          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

          • ebc@lemmy.ca
            link
            fedilink
            arrow-up
            3
            ·
            3 days ago

            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.