I currently use Authy on my android and my Linux system.

It syncs every new authenticator between my devices but I dont want to trust companies with my security anymore.

I host a nextcloud instance on my homelab. Does anyone know a good FOSS authenticator that can use my nextcloud to sync between Linux and android? Provided that it is available on both of course.

Thanks for any input!

    • Cargon@lemmy.ml
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      This is what I used as well (KeePassXC specifically), with Syncthing sharing the .kdbx file across devices.

    • daco@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I’m using this with Nextcloud through WebDAV.

      There is a keepass app in Nextcloud to access your keepass database using a web browser (keeweb), keepassXC has a client for Linux, Mac and windows (and all of them work great) and there are many apps for iOS and android.

      I use the free version of Strongbox with WebDAV and I haven’t had any problems.

      You can just backup the keepass database file and you can also have several databases. Each database has its own password.

  • confusedbytheBasics@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

    Self-hosted Bitwarden. I just pay $10 for their pro hosted version because they’ve not given me any reason to doubt them yet but I hear self-hosted is easy.

  • SGG@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    I use vaultwarden (open source implementation of bitwarden server). Yes it’s a seperate service to manage, but it’s a dedicated password/secrets manager that can do otp codes.

    I’ve been running the docker container for a few years now and it’s been rock solid.

    • RandomLegend [He/Him]@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Interesting… I found the idea of hosting my own password manager daunting. What if I mess up, lose access, etc… But now a days I believe to have a solid setup, more understanding… Guess I could go that route

      • SGG@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Losing things is one of the risks of any setup. With paid for services you are putting trust that the provider has put in place methods to prevent downtime/data loss. Self-hosting means the onus is on you. Make sure you document things, make sure you have some kind of backup in place, and update things regularly (but maybe not straight away, just in case).

        Also expect to occasionally run into weird issues that you need to figure out a fix for. I am 99% sure it was for my NextCloud-AIO setup a year or so ago, but there was an update to it that broke the setup if you had created the containers previousy at a certian time. You needed to run a particular command inside one of the containers to fix it up.

        There was also the time where I migrated things off a physical server to a VM, but missed the script that was doing my certbot DNS challenge renewal. I had not documented things back then and a few months later all my services stopped working, that took a bit to re-do.

        I do make sure to keep backups of my VM’s, and for the VPS I run I pay a bit extra for vultr to keep backups/snapshots there. Along with actual documentation of how I did the setup, I’ve got things stable for the most part.

        Here’s my Heimdall homepage to give an example of different services I run, as well as some links to other websites. Blanked out a few things for privacy and eyepatch reasons (not sure if that’s allowed here).

        • RandomLegend [He/Him]@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Yeah i had some issues once when i ran all my services inside a VM on TrueNAS. Some config prohibited it from using too much of the CPU and it locked up the Ubuntu install all the time… fun times.

          Now i have 3 physical servers and run 36 services and what not…nothing of this is critical for my security though. As there is more to it than just making sure you keep your servers running and accessible. I know how to fix most of the stuff that could go wrong. I don’t know how to stop a malicious actor that wants to fuck with me…and there is my dilemma. A big company (in my case 1password) has teams full of security specialists. They are more hard to crack than i could ever be… but since they’re big they are also a bigger target. And with their team-size the risk of social engineering also goes up. It’s a dilemma^^

          Btw. are you the SGG from Garuda-Linux?

  • 👁️👄👁️@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    1 year ago

    I just bitwarden pass manager to store all my 2fa stuff. I just let the company host my account, but if you don’t want that then you can self host your own bitwarden server for free. It’s very convenient, especially with the autofill on desktop and mobile.

  • Dsklnsadog@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I’m surprised no one has recommended “2FAS” yet. It’s the open-source alternative. The app is primarily designed for mobile, but they also offer a browser extension that you could install on Linux if you wanted to. Personally, I always try to keep my 2FA apps unsynchronized with a desktop PC.

    Oh, and you can export your secrets at any time. Not like Authy.

  • Envis10n@lemm.ee
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    andOTP is a good option for Android. It does offer backup capabilities which could be used for syncing. Bitwarden is also good