opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

An encrypted 2FA vault for Android that actually supports backups
GitHub RepoViews7

Project Description

View on GitHub

Your 2FA App Shouldn't Be a Single Point of Failure

You've probably got two-factor authentication set up on most of your accounts by now, which is good. But here's a question worth asking: what happens to all those codes if you lose your phone, or your authenticator app decides to wipe its data during an update? If you're using one of the popular authenticators that doesn't do backups, the answer is usually a long, painful afternoon of account recovery. Aegis Authenticator is an Android 2FA app built to fix exactly that problem.

What It Does

Aegis Authenticator is a free, open source 2FA app for Android that supports both HOTP and TOTP, which means it works with thousands of services out there. It's compatible with Google Authenticator, so if you're migrating from that, you won't lose anything in the process.

The core of the app is an encrypted vault. Your secrets are protected with AES-256-GCM, and you unlock the vault either with a password (using scrypt for key derivation) or with biometrics via the Android Keystore. The app also prevents screen captures and supports tap-to-reveal for individual codes, so your secrets aren't just sitting on screen for anyone to grab. If you want the gory details of the security design, the project includes a dedicated document describing the vault format and the threat model behind it.

Beyond the vault itself, Aegis handles the day-to-day logistics of managing a lot of accounts: alphabetic or custom sorting, grouping, search by name or issuer, and custom or automatically generated icons.

Why It's Cool

The headline feature is the one that's weirdly missing from so many competitors: proper backups. Aegis lets you export your vault (either in plaintext or encrypted) and set up automatic backups to a location of your choosing. That's it. That's the feature that should be table stakes and somehow isn't. If your phone dies, you restore from your backup and move on with your life instead of filing support tickets.

  • Encryption isn't an afterthought. The vault is encrypted at rest with AES-256-GCM, and the project documents the design rather than hand-waving it. For an app that holds the keys to your entire online life, that matters.

  • Import support is genuinely broad. You can pull entries in from 2FAS Authenticator, Authenticator Plus, Authy, andOTP, FreeOTP, FreeOTP+, Google Authenticator, Microsoft Authenticator, plain text, Steam, TOTP Authenticator, and WinAuth. Some of those require root access, and the README is upfront about that. But the list is long enough that you probably won't get stuck.

  • Adding entries is flexible. Scan a QR code, scan an image of a QR code (handy when you're setting things up on a desktop and only have a screenshot), or enter details manually.

  • It's actually pleasant to use. Material design with Light, Dark, and AMOLED themes. That sounds like a small thing until you're opening this app several times a day.

  • It's free and open source. No subscription, no upsell, no telemetry you have to worry about. You can read the code, and the build status is public via GitHub Actions.

How to Try It

Getting started is straightforward since this is a consumer app rather than a library:

  1. Install Aegis from the Google Play Store or F-Droid.
  2. Open the app and set up your vault with either a password or biometrics.
  3. Add your accounts by scanning QR codes, importing from another authenticator, or entering details manually.
  4. Set up automatic backups to a location of your choosing (do this immediately, not later).
  5. Optionally export an encrypted copy of your vault as a second safety net.

If you want to build it yourself or poke around the source, the repository is at github.com/beemdevelopment/aegis. There's also an FAQ in the repo if you hit questions, and a Matrix room linked from the README if you want to talk to the maintainers and other users. The project accepts translations through Crowdin, so if you speak another language, that's one way to contribute.

Final Thoughts

Aegis is the kind of project that makes you wonder why backups aren't standard in every authenticator. It's aimed at Android users who take their account security seriously and don't want to be one lost phone away from a disaster. The encryption design is documented, the import path from other apps is well-covered, and the backup story is exactly what you'd want. If you've been putting off moving your 2FA setup somewhere more robust, this is a solid place to land.


Follow @githubprojects for more developer tools and open source projects.

Back to Projects
Project ID: aegisLast updated: December 6, 2026 at 05:56 AM