2FAS is a free, open source password & secret management project written in Kotlin and released under GPL-3.0. It has 1,514 GitHub stars, 130 forks and 125 open issues, and was last pushed 2 days ago. On this registry it ranks #6 of 7 tracked projects in Password & Secret Management, with 5 head-to-head comparisons available. It gained 2 stars over the last 6 tracked days.

What is 2FAS?

What it is

2FAS is an open-source Android application for two-factor authentication, and its listing describes it as a local-first 2FA authenticator and password manager. The project lives in the password and secret management ecosystem, and the repository contains the source code for the 2FAS Auth Android app, written in Kotlin and licensed under the GNU General Public License v3.0. The README presents 2FAS as an authentication method that adds a second factor, such as a one-time password shown on a phone, alongside a username and password.

It solves the problem of credential-only account access. If a password is compromised, the second factor can still prevent unauthorized access because the service requires a code from the user's device. The README states that the app supports time-based one-time passwords and HMAC-based one-time passwords, and that it is compatible with services supporting those standards, including Google, Microsoft, and Dropbox. The project also notes that app graphics are not part of the open-source code and have separate licensing terms.

Key capabilities

  • The app generates time-based one-time passwords (TOTP) as a second authentication factor.
  • The app supports HMAC-based one-time passwords (HOTP) as an authentication standard.
  • The app works with services that support TOTP or HOTP, including Google, Microsoft, and Dropbox.
  • The project publishes the Android source code under the GNU General Public License v3.0, while graphics have separate licensing terms.
  • The README directs bug reports to GitHub issues and security vulnerabilities to [email protected].

Who uses it and how

  • Individuals protect accounts by entering a username and password, then supplying a phone-displayed one-time password.
  • Android users install the official app from the releases page and follow on-screen setup instructions.
  • Users of Google, Microsoft, Dropbox, or other services that support those standards can use the app during sign-in.
  • Contributors review the Kotlin source code, file bugs in GitHub issues, and follow the contribution guide.

Getting started

The README says to download the app from the releases page at 2fas.com, install it on an Android device, and follow the on-screen instructions to set up 2FAS for online accounts.

When to use it — and when not to

2FAS is appropriate when a user needs an official Android app for TOTP and HOTP authentication under GPL-3.0, and it is less appropriate when a user requires documented cross-platform password management, because the README describes only the Android 2FA app and separates graphics from the open-source code. The metadata lists 0 contributors, a 0-year repo age, and 125 open issues, so a prospective user should inspect the project before relying on it for account security.

project readme (upstream, from github) — read inline

Open Source 2FAS for Android

This is the official Android app for the Open Source 2FAS project.

What is 2FAS?

2FAS (Two-Factor Authentication Service) is a user authentication method that provides an additional layer of security for online accounts. In addition to a username and password, 2FAS uses a second factor, such as a one-time password (OTP) shown on a user's phone, to verify a user's identity. This helps prevent unauthorized access to accounts, even if a password is compromised.

Features

  • Support for time-based one-time passwords (TOTP) and HMAC-based on-time passwords (HOTP)
  • Compatible with any service that supports the TOTP and HOTP standard, including Google, Microsoft, and Dropbox
  • Easy to set up and use

Graphics

Please note that the graphics used in this app are not part of the open source project and are subject to their own separate licensing terms.

Bug Reporting

We use GitHub for bug reports. Please visit the 2FAS for Android issues page to search for and report any bugs you may have found. Before adding a new issue, please search for existing issues to avoid duplicates.

For reporting security issues only, please send a detailed description of the vulnerability to [email protected]. Do not use this address for general inquiries or bug reports unrelated to security concerns.

Getting Started

  1. Download the app from the releases page.
  2. Install the app on your Android device.
  3. Follow the on-screen instructions to set up 2FAS for your online accounts.

Contributing

We welcome contributions to the Open Source 2FAS project. If you would like to contribute, please see the contribution guide.

Donations

If you would like to support the development of the Open Source 2FAS project, you can make a donation. All donations will be used to support the ongoing development and maintenance of the project.

We appreciate your support!

License

Copyright (c) Two Factor Authentication Service, Inc. All rights reserved.

Licensed under the GNU General Public License v3.0.

Frequently asked questions

Is 2FAS free to use?

2FAS is open source under the GPL-3.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does 2FAS do?

Local-first 2FA authenticator and password manager

What is 2FAS written in?

2FAS is primarily written in Kotlin. Its source is publicly available at https://github.com/twofas/2fas-android, and it has 1,514 GitHub stars.