So basically what title says.

Im using 2FA with google authenticator for multiple accounts. What if my phone gets stolen? Can I have some kind of backup? Or maybe sync with some self hosted service?

Bonus question: what 2FA should I use instead of google?

  • Cotillion
    link
    fedilink
    301 year ago

    Use Aegis on android or 2FAS on iOS. And just backup your seed on hdd/usb stick. Dont upload on cloud.

    • @SamsonSeinfelder@feddit.de
      link
      fedilink
      -21 year ago

      IOS has a 2FA feature included in the key chain (passwords) settings. No need for a third party app. If you backup passwords via icloud, you are already set.

      • Cotillion
        link
        fedilink
        11 year ago

        Never upload your passwords to any cloud. Always use good foss instead of proprietary software.

  • Max_Power
    link
    fedilink
    English
    12
    edit-2
    1 year ago

    There are many forms of 2FA. I’m guessing you mean TOTPs oh you actually wrote that, my bad lol.

    I copy the keys from Aegis to KeePassXC. KeyPassXC’s database is part of my regular backup. This way I have two apps generating the same TOTPs.

    • @rambos@lemm.eeOP
      link
      fedilink
      61 year ago

      I was afraid of using keypassxc since I dont trust myself, but using it as a backup sounds like amazing solution. Thank you

    • @ebits21@lemmy.ca
      link
      fedilink
      English
      41 year ago

      Personally I recommend just using KeePassXC and a KeePass app (I use KeePassium on iPhone).

      You always have access to all your data that way. No company is monitoring you. A lot of apps make it very difficult to backup!

      My totp database is in the cloud for syncing but needs a key file I don’t keep in the cloud (and a password). My passwords are entirely separate.

  • @rambos@lemm.eeOP
    link
    fedilink
    101 year ago

    Thank you all for tips. I got Aegis and backing it up to my selfhosted nextcloud. I will also keep google app in use for now, but I might get keypassxc or vaultwarden in the future

    Cheers

  • @akilou@sh.itjust.works
    link
    fedilink
    91 year ago

    I use Authy and am logged in on multiple devices so if I lose my phone I can still access the 2FA on my laptop. Then log back into the new phone using the laptop.

  • s3rvant
    link
    fedilink
    41 year ago

    I use Aegis like several others here and then backup my codes to a Cryptomator vault which I can then sync online for cloud backup

  • Dessalines
    link
    fedilink
    41 year ago

    Keepass + Syncthing

    KeepassDX is a good android client, and it supports TOTP.

  • @m0yP@lemmy.ml
    link
    fedilink
    41 year ago

    Aegis or Ente Auth for Android. Backup your databases in your cloud of choice. Do not use Google Authenticator.

  • @Synthead@lemmy.world
    link
    fedilink
    English
    41 year ago

    All you need is the TOTP secret, and it will generate OTPs. If you enter the secret in another TOTP app, you’ll also get OTPs. Here’s a Ruby lib that will render OTPs from a secret, for example: https://github.com/mdp/rotp

    For an Android TOTP tool, I like FreeOTP+. You can even use it for Steam OTPs.

  • elgordio
    link
    fedilink
    31 year ago

    When enrolling with the 2FA take a screenshot of the QR code, print it and add it to wherever you keep your secure documents. The QR code is your private key, just scan it again to add a new device if you lose your original.

    Obviously you need to keep the code secure!

  • @Zerush@lemmy.ml
    link
    fedilink
    31 year ago

    I prefer an authentication code, which I can save on a pendrive or, if not, a second email. I never use 2FA with a phone number, precisely because a phone is never secure and is also a privacy hole. It’s enough that they know my email, it’s not necessary that they also know my phone number.

    • 6h0st_in_the_machin3
      link
      fedilink
      11 year ago

      This, I’ve just installed it this week and I think it’s better than Google (though I’m suspicious of the “free” service.

  • @peasntanks@lemmy.ml
    link
    fedilink
    0
    edit-2
    1 year ago

    You could use a python script with oathtool copied onto each of your devices. This is not a good suggestion.