sodcalculator

10 Tech How-To

Aegis Authenticator 2FA Backups and Setup

Guide 10-50479 · Updated · Step by step

Aegis Authenticator is a free, open-source two-factor authentication (2FA) app for Android. It stores the one-time codes you use to sign in to services like Google, GitHub, or your bank. This article explains how to set up Aegis, how to back up your codes so you don’t get locked out, and how to restore them on a new phone.

What Aegis Authenticator Does

Aegis generates time-based one-time passwords (TOTP) and HMAC-based one-time passwords (HOTP). When you enable 2FA on a website, you scan a QR code with Aegis. The app then shows a 6-digit code that changes every 30 seconds. You enter that code along with your password to sign in.

Unlike Google Authenticator, Aegis stores your codes locally on your phone, not in the cloud. That means you control the data, but it also means you must back up your codes yourself. If you lose your phone without a backup, you could be locked out of every account that uses Aegis.

How to Set Up Aegis Authenticator

  1. Install Aegis from the Google Play Store or F-Droid. It is free and open source.
  2. Open the app. On first launch, it asks you to create a password. This password encrypts your vault. Choose a strong one and store it in a password manager, because Aegis does not have a password recovery option.
  3. To add an account, tap the plus button. Select “Scan QR code” and point your camera at the QR code from the website where you are enabling 2FA. If the site gives you a manual setup key instead, tap “Enter key manually” and paste it.
  4. After scanning, Aegis shows the account name and the current code. Enter that code on the website to finish enabling 2FA.

You can also create folders and icons for your accounts. That is purely organizational and does not affect the codes.

How to Back Up Your Aegis Vault

Aegis backups are encrypted files that contain all your 2FA secrets. You can create them manually or set up automatic backups.

  • Manual backup: Go to Settings → Backup and restore → “Create backup”. Choose a location (e.g., Google Drive, a file manager folder, or an SD card). Aegis creates a file with a .json extension, encrypted with your vault password.
  • Automatic backup: In the same settings screen, enable “Automatic backups”. You can choose a frequency (daily, weekly, etc.) and a location. The app will overwrite the previous backup file.

Important: The backup file is encrypted, but it is only as secure as your vault password. If someone gets the file and guesses your password, they can access your 2FA codes. Use a long, unique password.

How to Restore a Backup

  1. Install Aegis on your new phone.
  2. Open the app. On the welcome screen, tap “Restore from backup”.
  3. Navigate to the backup file (e.g., in Google Drive or your downloads folder). Select it.
  4. Enter the vault password that you set when you created the backup.
  5. Aegis imports all your accounts. Verify that the codes match what your services expect.

If you do not have a backup, you must re-enable 2FA on every account manually. That is why backups are critical.

Common Problems and Misconceptions

“I lost my phone and didn’t back up. Can I recover my codes?” No. Aegis has no cloud sync and no recovery mechanism. You will need to use the backup codes that most services provide when you enable 2FA. If you don’t have those, you may need to contact each service’s support and prove your identity.

“My codes are wrong after restoring.” This usually happens if the backup is old and you added new accounts after the backup. Always make a fresh backup after adding or removing accounts. Also check that the time on your phone is correct; TOTP codes rely on accurate time.

“Is Aegis safe?” Aegis is open source, which means the code is publicly auditable. It stores your data locally and encrypts it with AES-256. No cloud account is required. However, you must protect your phone with a lock screen and your vault with a strong password.

Aegis vs. Google Authenticator

Google Authenticator is the most common 2FA app, but it has limitations. It does not offer encrypted backups; if you lose your phone, you lose your codes. Aegis gives you full control over backups, supports multiple themes, and lets you organize accounts. The trade-off is that you must manage the backup yourself.

Some users prefer apps like Authy, which sync to the cloud, but that requires a phone number and introduces a third party. Aegis is better for users who want privacy and control.

Security Tips for Aegis Users

  • Enable the app lock feature in Aegis settings so that opening the app requires a PIN or biometric unlock.
  • Store your vault password in a password manager, not in plain text.
  • Keep at least two backup copies in different locations (e.g., one on Google Drive, one on a USB drive).
  • If you use a cloud service for backups, ensure that account has its own strong password and 2FA.

Frequently Asked Questions

Can I use Aegis on iOS? No. Aegis is Android-only. iOS users can use Raivo OTP or Tofu, which are similar local-first apps.

Does Aegis support Google Authenticator import? Yes. In Aegis, go to Settings → Backup and restore → “Import”. You can import from Google Authenticator by scanning the QR codes that Google Authenticator shows when you export your accounts.

What happens if I forget my Aegis vault password? There is no recovery. Your vault is encrypted with that password. If you forget it, you lose access to all your codes. You must then reset 2FA on each account individually.

Can I back up to a cloud service automatically? Yes. Aegis can save backups to any folder that your phone can write to, including Google Drive, Dropbox, or Nextcloud if you have the app installed. The backup file is encrypted, so cloud storage is safe as long as your password is strong.

Is Aegis really free? Yes. Aegis is free and open source, with no ads and no in-app purchases. It is developed by volunteers and available on F-Droid and the Play Store.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →