{"id":22281669,"url":"https://github.com/edumfa/edumfa","last_synced_at":"2025-07-28T20:31:16.576Z","repository":{"id":225774883,"uuid":"765665817","full_name":"eduMFA/eduMFA","owner":"eduMFA","description":"Up-to-date multifactor authentication for academic institutions.","archived":false,"fork":false,"pushed_at":"2024-04-12T21:51:02.000Z","size":51337,"stargazers_count":20,"open_issues_count":13,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-13T00:40:46.219Z","etag":null,"topics":["mfa","passkeys","totp"],"latest_commit_sha":null,"homepage":"https://edumfa.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eduMFA.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null}},"created_at":"2024-03-01T11:26:55.000Z","updated_at":"2024-07-17T06:40:30.098Z","dependencies_parsed_at":"2024-04-15T07:42:07.460Z","dependency_job_id":"239ee3a1-550c-4817-bd97-22a3c2a298ca","html_url":"https://github.com/eduMFA/eduMFA","commit_stats":null,"previous_names":["edumfa/edumfa"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduMFA%2FeduMFA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduMFA%2FeduMFA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduMFA%2FeduMFA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduMFA%2FeduMFA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eduMFA","download_url":"https://codeload.github.com/eduMFA/eduMFA/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227953278,"owners_count":17846479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mfa","passkeys","totp"],"created_at":"2024-12-03T16:20:23.036Z","updated_at":"2025-07-28T20:31:16.562Z","avatar_url":"https://github.com/eduMFA.png","language":"Python","readme":"eduMFA\n===========\n\n.. image:: https://codecov.io/gh/eduMFA/eduMFA/coverage.svg?branch=main\n    :target: https://codecov.io/gh/eduMFA/eduMFA?branch=main\n\n.. image:: https://img.shields.io/pypi/v/eduMFA.svg\n    :alt: Latest Version\n    :target: https://pypi.python.org/pypi/eduMFA/#history\n\n.. image:: https://img.shields.io/pypi/pyversions/edumfa.svg\n    :alt: PyPI - Python Version\n    :target: https://pypi.python.org/pypi/edumfa/\n\n.. image:: https://img.shields.io/github/license/edumfa/edumfa.svg\n    :alt: License\n    :target: https://pypi.python.org/pypi/edumfa/\n    \n.. image:: https://readthedocs.org/projects/edumfa/badge/?version=latest\n    :alt: Documentation\n    :target: http://edumfa.readthedocs.org/en/latest/\n\n    \neduMFA is an open solution for strong two-factor authentication like\nOTP tokens, SMS, smartphones or SSH keys.\nUsing eduMFA you can enhance your existing applications like local login\n(PAM, Windows Credential Provider), \nVPN, remote access, SSH connections, access to websites or web portals with\na second factor during authentication. Thus boosting the security of your \nexisting applications.\n\nThe project eduMFA is based on the privacyIDEA Project and aims to provide up-to-date multifactor authentication for academic institutions.\n\nOverview\n========\n\neduMFA runs as an additional service in your network, and you can connect different\napplications to eduMFA.\n\neduMFA does not bind you to any decision of the authentication\nprotocol, nor does it dictate you where your user information should be\nstored. This is achieved by its totally modular architecture.\neduMFA is not only open as far as its modular architecture is\nconcerned. But eduMFA is completely licensed under the AGPLv3.\n\nIt supports a wide variety of authentication devices like OTP tokens \n(HMAC, HOTP, TOTP, OCRA, mOTP), Yubikey (HOTP, TOTP, AES), FIDO U2F, as well\nas FIDO2 WebAuthn devices like Yubikey and Plug-Up, smartphone Apps like Google\nAuthenticator, FreeOTP, Token2  or TiQR, SMS, Email, SSH keys, x509 certificates\nand Registration Codes for easy deployment.\n\neduMFA is based on Flask and SQLAlchemy as the python backend. The\nweb UI is based on angularJS and bootstrap.\nA MachineToken design lets you assign tokens to machines. Thus, you can use\nyour Yubikey to unlock LUKS, assign SSH keys to SSH servers or use Offline OTP\nwith PAM.\n\n\n\nSetup\n=====\n\nFor setting up the system to *run* it, please read install instructions \nat `edumfa.readthedocs.io \u003chttp://edumfa.readthedocs.io/en/latest/installation/index.html\u003e`_.\n\nIf you want to setup a development environment start like this::\n\n    git clone https://github.com/edumfa/edumfa.git\n    cd edumfa\n    virtualenv venv\n    source venv/bin/activate\n    pip install .\n    \n.. _testing_env:\n\nYou may additionally want to set up your environment for testing, by adding the\nadditional dependencies::\n\n    pip install .[test]\n\n\nGetting and updating submodules\n===============================\n\nThe client-side library for the registering and signing of WebAuthn-Credentials\nresides in a submodule.\n\nTo fetch all submodules for this repository, run::\n\n   git submodule update --init --recursive\n\nWhen pulling changes from upstream later, you can automatically update any outdated\nsubmodules, by running::\n\n   git pull --recurse-submodules\n\nRunning it\n==========\n\nFirst You need to create a `config-file \u003chttps://edumfa.readthedocs.io/en/latest/installation/system/inifile.html\u003e`_.\n\nThen create the database tables and the encryption key::\n\n    ./edumfa-manage create_tables\n    ./edumfa-manage create_enckey\n\nIf You want to keep the development database upgradable, You should `stamp\n\u003chttps://edumfa.readthedocs.io/en/latest/installation/upgrade.html\u003e`_ it\nto simplify updates::\n\n    ./edumfa-manage db stamp head -d migrations/\n\nCreate the key for the audit log::\n\n    ./edumfa-manage create_audit_keys\n\nCreate the first administrator::\n\n    ./edumfa-manage admin add \u003cusername\u003e\n\nRun it::\n\n    ./edumfa-manage runserver\n\nNow you can connect to ``http://localhost:5000`` with your browser and login\nas administrator.\n\nRun tests\n=========\n\nIf you have followed the steps above to set up your\n`environment for testing \u003c#testing-env\u003e`__, running the test suite should be as\neasy as running `pytest \u003chttp://pytest.org/\u003e`_ with the following options::\n\n    python -m pytest -v --cov=eduMFA --cov-report=html tests/\n\nContributing\n============\n\nThere are a lot of different ways to contribute to eduMFA, even\nif you are not a developer.\n\nIf you found a security vulnerability please report it to us using the reporting form provided by GitHub\n\nYou can find detailed information about contributing here:\nhttps://github.com/eduMFA/eduMFA/blob/main/CONTRIBUTING.md\n\nCode structure\n==============\n\nThe database models are defined in ``models.py`` and tested in \ntests/test_db_model.py.\n\nBased on the database models there are the libraries ``lib/config.py`` which is\nresponsible for basic configuration in the database table ``config``.\nAnd the library ``lib/resolver.py`` which provides functions for the database\ntable ``resolver``. This is tested in tests/test_lib_resolver.py.\n\nBased on the resolver there is the library ``lib/realm.py`` which provides\nfunctions\nfor the database table ``realm``. Several resolvers are combined into a realm.\n\nBased on the realm there is the library ``lib/user.py`` which provides functions \nfor users. There is no database table user, since users are dynamically read \nfrom the user sources like SQL, LDAP, SCIM or flat files.\n\nVersioning\n==========\neduMFA adheres to `Semantic Versioning \u003chttp://semver.org/\u003e`_.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedumfa%2Fedumfa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedumfa%2Fedumfa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedumfa%2Fedumfa/lists"}