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?

39 points

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

permalink
report
reply
5 points

Thx, looks perfect!

permalink
report
parent
reply
-2 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
17 points
*

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.

permalink
report
reply
8 points

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

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
15 points

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

permalink
report
reply
3 points

As a user of Nextcloud, Aegis, and Vaultwarden, I can say it’s a great set of tools. I don’t know how I ever got by without Bitwarden/Vaultwarden.

permalink
report
parent
reply
11 points
*

Aegis is a free open source TOTP 2FA app like Google Authenticator, and available on both F-Droid and Google Play. You should be able to export from Google Authenticator and import into Aegis.

Edit: I had assumed because Aegis had an option to import from Google Authenticator that this would mean you could export in bulk. Bad assumption to make, it sounds like you can do it if you have a rooted phone but Authenticator doesn’t make it easy. I did find this that shows a method to do a handful at once: https://blog.jay2k1.com/2021/11/17/how-to-bulk-migrate-from-google-authenticator-to-aegis/

permalink
report
reply
5 points

Most comments recommend aegis, Im installing it right now. Thx

permalink
report
parent
reply
3 points

You should be able to export from Google Authenticator and import into Aegis.

If there is a way, I was unable to find it

permalink
report
parent
reply
3 points

Yes, I just did it. Go to google auth - transfer accounts - you get QR code, screenshot it - and import in Aegis

permalink
report
parent
reply
1 point

Huh. I was not able to make it work, perhaps I just overlooked something.

permalink
report
parent
reply
3 points

I had assumed because Aegis had an option to import from Google Authenticator that this would mean you could export in bulk. Bad assumption to make, it sounds like you can do it if you have a rooted phone but Authenticator doesn’t make it easy. I did find this that shows a method to do a handful at once: https://blog.jay2k1.com/2021/11/17/how-to-bulk-migrate-from-google-authenticator-to-aegis/

permalink
report
parent
reply
2 points

What’s the benefit of Aegis over FreeOTP+?

permalink
report
parent
reply
4 points
*

For one, Aegis is more well known. Aegis has 6k+ stars where FreeOTP+ has about 500. This doesn’t mean it’s better, just that people are more likely to recommend it.

Aegis also has more features, and can import from many different authenticator apps (though as many don’t allow exports, this may require technical knowledge to get the database and feed it in). If you have root then Aegis can pull directly from the other apps.

Aegis claims they are better than FreeOTP because the encrypt passwords at rest.

One big difference is FreeOTP+ lets you not have to enter a pin/password to see the codes while Aegis you need to enter a pin, password, or biometric to see your codes.

permalink
report
parent
reply
2 points

Popularity aside, you sold me on the import compatibility. FreeOTP+ can export to other FreeOTP+ installations, but I’ve had issues with exporting to other apps. I had to manually import using the secrets displayed within FreeOTP+. The encryption sold me. I will be migrating to Aegis. I haven’t heard of it until this post, and have been using FreeOTP+ sans encryption.

permalink
report
parent
reply
11 points

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.

permalink
report
reply

Privacy

!privacy@lemmy.ml

Create post

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

Community stats

  • 7.3K

    Monthly active users

  • 2.7K

    Posts

  • 74K

    Comments