GNU Affero General Public License v3.0

项目介绍

Bubka/2FAuth 是一个托管在 GitHub 上的开源项目,主要使用 PHP 编写,采用 GNU Affero General Public License v3.0 许可证,目前获得 4.2k 个 Star、303 次 Fork。

仓库全名
Bubka/2FAuth
开源许可证
GNU Affero General Public License v3.0
Star 数
4.2k
Fork 数
303
未关闭 Issue
13

README 摘要

2FAuth A web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes 2FAuth Demo Credentials (login - password) : [email protected] - demo Purpose 2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop. It aims to ease you perform your 2FA authentication steps whatever the device you…

完整内容见 GitHub 原始 README 或本页 。

常见问题

2FAuth 用什么语言开发?

主要使用 PHP 编写,采用 GNU Affero General Public License v3.0 许可证,目前有 4.2k 个 Star。

2FAuth 可以免费商用吗?

仓库标注的许可证为 GNU Affero General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 2FAuth 的源码?

可以直接克隆仓库:git clone https://github.com/Bubka/2FAuth.git,默认分支为 master;安装与运行步骤见仓库 README。

2FAuth 最近还在维护吗?

仓库最近一次更新为 3 天前,当前有 13 个未关闭 Issue;Star 数为 4.2k,可作为社区活跃度的参考。

简要分析

热度分
4845
价值分
2621
活跃状态
活跃

语言占比

PHP
Procfile
RobotFramework
TypeScript
Vue

Release

README

2FAuth

Docker build status https://codecov.io/gh/Bubka/2FAuth https://github.com/Bubka/2FAuth/blob/master/LICENSE

A web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes

screens

2FAuth Demo
Credentials (login - password) : [email protected] - demo

Purpose

2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop.

It aims to ease you perform your 2FA authentication steps whatever the device you handle, with a clean and suitable interface.

I created it because :

  • Most of the UIs for this kind of apps show tokens for all accounts in the same time with stressful countdowns (in my opinion)
  • I wanted my 2FA accounts to be stored in a standalone database I can easily backup and restore (did you already encountered a smartphone loss with all your 2FA accounts in Google Auth? I did…)
  • I hate taking out my smartphone to get an OTP when I use a desktop computer
  • I love coding and I love self-hosted solutions

Main features

  • Manage your 2FA accounts and organize them using Groups
  • Scan and decode any QR code to add account in no time
  • Add custom account without QR code thanks to an advanced form
  • Edit accounts, even the imported ones
  • Generate TOTP and HOTP security codes and Steam Guard codes

2FAuth is currently fully localized in English and French. See Contributing if you want to help on adding more languages.

Security

2FAuth provides several security mechanisms to protect your 2FA data as best as possible.

Multi-user app

You have to create a user account and authenticate yourself to use the app. Since version 4.0, you have the ability to allow multiple user accounts for different people. You can allow public registration, limit registration by email domain name, or turn registration off alltogether. You can also limit registration to SSO only.

Modern authentication

You can sign in 2FAuth using a security key like a Yubikey or a Titan key and disable the traditional login form.

Data encryption

Sensitive data stored in the database can be encrypted to protect them against db compromise. Encryption is provided as an option which is disabled by default. It is strongly recommended to backup the APP_KEY value of your .env file (or the whole file) when encryption is On.

Auto logout

2FAuth automatically log you out after an inactivity period to prevent long life session. The auto logout can be deactivated or triggered when a security code is copied.

RFC compliance

2FAuth generates OTP according to RFC 4226 (HOTP Algorithm) and RFC 6238 (TOTP Algorithm) thanks to Spomky-Labs/OTPHP php library.

Requirements

Installation guides

Upgrading

Migration

2FAuth supports importing from the following formats: 2FAuth (JSON), Google Auth (QR code), Aegis Auth (JSON, plain text), 2FAS Auth (JSON)

Contributing

You can contribute to 2FAuth in many ways:

License

AGPL-3.0

评论

暂无评论