I currently use KeepassXC that is synced through NextCloud. The sync isn’t very elegant, especially on my phone. So I’m looking for a new password manager, which has a native server sync support that I can self host. What do y’all recommend? I need at least a phone app and a browser integration that can autofill.

  • g_damian@lemmy.world
    link
    fedilink
    arrow-up
    55
    arrow-down
    1
    ·
    10 days ago

    Have you tried syncthing? It works great with keepassxc.

    Vaultwarden is pretty easy to self host.

  • RejZoR@lemmy.ml
    link
    fedilink
    English
    arrow-up
    50
    ·
    9 days ago

    Bitwarden is excellent and the paid plan is very reasonable unlike with others.

  • EmbarrassedDrum@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    31
    arrow-down
    9
    ·
    9 days ago

    Bitwarden.

    My recommendation: Don’t use Vaultwarden (self hostable server side of bitwarden. Really easy to run and use). Why? You’re not a security personal, and securing your vault isn’t your job. You might do a slight mistake that’ll lead to the compromise of your vault.

    The people at Bitwarden have their work dedicated to securing the vaults and all they do is security. And they’ll probably do it better then you. When it comes to serious matter, I prefer to trust the professionals.

    • EpicGamer@lemmy.world
      link
      fedilink
      arrow-up
      19
      ·
      9 days ago

      Doesn’t the server just hold an encrypted vault? What could go wrong when the server is compromised? Just thinking out loud I don’t know the answer

      • EmbarrassedDrum@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        7 hours ago

        Let’s say I have an unupdated patch and my server is now vulnerable.

        This could really happen. I have work and life to worry about and I might not notice.

        This vulnerability, could be in the BW instance itself (say the web server or the backend itself), or in the server itself (say an old OpenSSH version), or another service (NextCloud instance hosted in the same server under a different subdomain).

        So, first we see it’s a big attack surface. In any of those entrances an attacker could gain access to my server and with it the vault. It’s a short way from there to install a keylogger on the website where BW is hosted, and get my master password ¯_(ツ)_/¯.

        Now take into consideration that I just sat a couple of minutes to think about this, and I’m not a professional in cyber security or web security. Neither blue nor red team. A professional, with more knowledge, time, experience and resources, could probably bring up much more things.

      • smiletolerantly@awful.systems
        link
        fedilink
        arrow-up
        3
        ·
        9 days ago

        Yep, that’s right. In theory you could share the encrypted DB with the public and not degrade security. (Still don’t do that though…)

      • herrvogel@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        9 days ago

        I just don’t want any unauthorized persons anywhere near my vaults in general. I also see my vault as a critical service that requires high availability, and I know enough about system administration to know that my network and I are not qualified to provide that.

    • superglue@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      7
      ·
      9 days ago

      Just to play devils advocate. Bitwarden.com is a much more valuable target. My instance is behind a VPN. I think its actually far more likely Bitwarden will have a breach similar to LastPass then I will. But I agree with you mostly.

      • asap@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        8 days ago

        The data stored on Bitwarden’s servers is completely encrypted though, which means a breach will not yield useful data, unlike the plain text storage for LastPass.

        I have the ability to selfhost BW so I am interested in counterpoints.

        • superglue@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          5
          ·
          8 days ago

          Yes I agree. I was just offering a counter to the statement that Vaultwarden isnt as safe as Bitwarden. They both are encrypted but my vaultwarden instance is a lot less likely to experience a breach than Bitwarden. The guys with real skill are going after Bitwarden not me.

          • EmbarrassedDrum@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            1
            ·
            7 hours ago

            That’s a good point.

            Notice, your server is less likely to be targeted. But much more likely to receive a breach once it’s targeted.

            It’s helpful to analog. You got gold. Thieves are more likely to target a bank, but if they’ll know of some gold in your house, it’ll be much easier for them to take it from your house rather than from the bank.

            And now you have to work and make sure people don’t find out about the gold in your house. Because once they did it’s game over.

    • rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      6
      ·
      9 days ago

      Ignoring the security aspect of it Bitwarden is responsible for hosting a fault tolerant, highly available web app.

      They have redundant networking, redundant servers, load balancers, redundant databases.

      While you could host this yourself to these tolerances it’s work and it’s not free.

      If you’re using your password manager to the fullest you have a different password for every resource out there. It’s more than a minor inconvenience if you get locked out of your passwords.

      Their service is dirt cheap and it’s absolutely worth every penny.

    • aeternum@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      8 days ago

      VW isn’t the self hostable version of BW. It’s a complete rewrite. I don’t know if it is audited in the same way as BW, so I wouldn’t recommend it until you check that. BW can be self hosted as it is. VW is a rewrite with all the premium features unlocked for free

  • chrand@lemmy.ml
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    1
    ·
    9 days ago

    For native sync, the two good and reputable alternatives are Bitwarden and Proton Pass

    • mrmule@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      9 days ago

      2nding the Bitwarden, absolutely love it. I moved from LastPass years ago and never looked back.

  • who_knew@lemmy.ml
    link
    fedilink
    arrow-up
    19
    ·
    8 days ago

    I use KeepassXC on desktop, KeepassDX on my phone and keep it all synced with Syncthing. Works great

  • John Richard@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    3
    ·
    edit-2
    10 days ago

    KeePassXC. Despite a lot of room for improvement, overall it is pretty powerful & you don’t have to host a server. You can also sync your password file to cloud storage. With VaultWarden, it will store a cache of your passwords on your phone but you wont’ be able to update them away from home unless you also setup port forwarding, dynamic DNS, web server & all that.

    • Arkhive (they/she)@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      4
      ·
      9 days ago

      I also use Unix pass and self host a git repo over Tailscale to keep it synced across devices. Works like a charm so long as I remember to push whenever I edit a password somewhere.

      • toastal@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        8 days ago

        One of the big flaws of snapshot-based VCSs like get is the patch order mattering—which causes conflicts. I would love to see an alternative built on Darcs or Pijul with their Patch Theory-based VCS system that does not have the flaws Git does.

        • Arkhive (they/she)@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          1
          ·
          8 days ago

          Yeah agreed. I borked my repo a couple times and needed to rollback changes, re-sync everything, and resubmit changes. It was a bit scary, but that’s also kind of the beauty of the system, is it’s just files in a folder. I could move the conflicting files out, do a push/pull and then move the files back in and push. The biggest part is getting in the habit of doing a pull before I make any local changes on a device.

          I haven’t heard of the tools you mentioned, but you’ve got me curious, so I’ll definitely be looking into them and a potential fix. I’m sure I could automate things with some simple scripting, but until I make my final move off iOS I’m sort of stuck with the clunky Unix Pass app on that OS which causes most of my issues.

          Presumably you could just target the passwordstore folder with any version control, Unix Pass just has some git interaction built in.

  • lightnsfw@reddthat.com
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    8 days ago

    Big fan of Keeppass + syncing program of choice. It has served me well for years. If you don’t like nextcloud pick a different syncing app.

  • fireshell@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    9 days ago

    Good thing the KeepassXC can be used as a 2nd factor authenticator, though it has TOTP only, doesn’t offer HOTP.

  • untorquer@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    9 days ago

    I like to use SyncThing for my keepass vault. Imo it’s about as simple and elegant as it can get without involving third party services.

    I know you’re asking for an integrated sync but this has been flawless for me and only rarely notice a delay between machines including android, linux, and windows (less that 30s in any case)

      • yonder@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        8 days ago

        I’m not completely sure, but doesn’t Bitwarden encrypt all data before it reaches the server? That means the server implementation is a bit less important. I guess you probably don’t want to be leaking even encrypted databases though since there is a chance they could be cracked.

    • Hirom@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      8 days ago

      I hear good thing about Vaultwarden, but the web UI is horrible.

      Vaultwarden’s web UI is very confusing, especially the search feature. And it’s difficult to move items between folders/collection. The desktop app is available as DEB/RPM package but without auto-update, which isn’t great.

      Fon now I’m sticking to KeepassXC because the desktop app for my Linux distribution has a package for it and allows auto-update. The UI works well, and it has decent browser integration. Syncing isn’t smooth, but I can live with this.

      • foremanguy@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        8 days ago

        Vaultwarden is not to be used in itself you can for example use the bitwarden app but with your vaultwarden server

        • Hirom@beehaw.org
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          8 days ago

          You’re right. Above, I was referring to the bitwarden desktop app. See https://github.com/bitwarden/desktop

          It’s an electron app, and there’s no auto-update solution for DEB packages (ie no DEB repo for apt auto update).

          Some people are probably happy with it, but I prefer KeepassXC which is more lightweight (ie not electron based) and can auto update via APT.

  • Gayhitler@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 days ago

    There’s a lot of arguments for one solution or the other based on security or privacy, but let me present a different scenario:

    Imagine you’re in a natural disaster. Your home based self hosted server is down because of a general rolling network outage or just irrecoverably destroyed. Your offsite on the other side of the county is in a similar state. Can your cloud hosted backup be accessed at generic, public computer in a shelter or public building?

    Bitwarden can. It has specific instructions for doing so as safely as possible.