• lemmyreader
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    7
    ·
    7 months ago

    Does KeePassXC work on the command line and over ssh connections ? pass does.

    • boredsquirrel@slrpnk.netOP
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      7 months ago

      With pass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities.

      This sounds cool, but relies completely on OpenPGP. That is secure enough, right?

      But this also means

      • no metadata security
      • no usernames
      • no comment

      It is cool, but only having a single entry means you can not replace the website with a more anonymous placeholder.

      For sure this tool sounds pretty great! Especially encrypting everything seperately is very nice.

      But sometimes getting a name might already be too much.

      Also to avoid big brother connecting all data, I normally have an entry like

      Entry: MSOffice
      username: alias1+website@mail.org
      password: •••••••••••••••••••••
      URL: xxxxx
      Comment:
         Username: xxxxxxxxx
         name: albert einstein
         birthday: 2.6.1956
         Security question 1 2 3
         TOTP backup keys: xxxx
         Random comment
      

      This is all not possible, which means I would need the same username everywhere, or remember it (I dont, I have 300 Keepass entries).

      In KeepassXC I have a single file. Hackers would need to bruteforce only one. But at least they wouldnt know exactly what they want to decrypt.

      • boredsquirrel@slrpnk.netOP
        link
        fedilink
        arrow-up
        2
        ·
        7 months ago

        I wonder if you could just encrypt a storage which is then used by pass unencrypted. So you have double encryption using something like gocryptfs.

      • lemmyreader
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        Sure, I see what you mean. Note that I responded to the “this sucks” remark about pass by the other commenter. There is no one preventing you to use for example one password entry with Pass on a remote work server logging in with ssh sharing it with a colleague while having the other 100 password work entries kept in KeePassXC and then using Bitwarden for your 200 personal passwords.

    • PlexSheep@infosec.pub
      link
      fedilink
      arrow-up
      5
      ·
      7 months ago

      That’s not really the point though. You wouldn’t argue that you can’t use Firefox over ssh.

    • moon_matter@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      7 months ago

      KeepassXC is bundled with a CLI tool. But it doesn’t have to do anything special for SSH. It’s ultimately just text and there are multiple ways to paste text into an SSH session.