{"id":22884572,"url":"https://github.com/lstep/2fanginx","last_synced_at":"2025-05-07T07:36:09.446Z","repository":{"id":57526332,"uuid":"46552553","full_name":"lstep/2fanginx","owner":"lstep","description":"2FA NGINX + Lua auth portal","archived":false,"fork":false,"pushed_at":"2018-01-16T10:52:10.000Z","size":79,"stargazers_count":16,"open_issues_count":10,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T07:41:46.357Z","etag":null,"topics":["authentication","authorization","go","golang","lua","nginx","passwordless","proxy","reverse-proxy","secure","security","security-hardening"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lstep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-20T09:31:17.000Z","updated_at":"2024-09-09T20:48:25.000Z","dependencies_parsed_at":"2022-09-07T02:50:45.587Z","dependency_job_id":null,"html_url":"https://github.com/lstep/2fanginx","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lstep%2F2fanginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lstep%2F2fanginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lstep%2F2fanginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lstep%2F2fanginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lstep","download_url":"https://codeload.github.com/lstep/2fanginx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252834404,"owners_count":21811372,"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":["authentication","authorization","go","golang","lua","nginx","passwordless","proxy","reverse-proxy","secure","security","security-hardening"],"created_at":"2024-12-13T19:18:19.138Z","updated_at":"2025-05-07T07:36:09.425Z","avatar_url":"https://github.com/lstep.png","language":"Go","readme":"\n[![Total Downloads](https://img.shields.io/github/downloads/2fangnx/latest/total.svg?style=flat-square)](https://github.com/lstep/2fanginx/releases) [![License](http://img.shields.io/badge/license-apache-blue.svg?style=flat-square)](https://raw.githubusercontent.com/lstep/2fanginx/master/LICENSE) [![Go Report Card](http://goreportcard.com/badge/Masterminds/glide)](http://goreportcard.com/report/lstep/2fanginx)  [![Build Status](https://travis-ci.org/lstep/2fanginx.svg?branch=master)](https://travis-ci.org/lstep/2fanginx)\n\u003cspan class=\"badge-patreon\"\u003e\u003ca href=\"http://patreon.com/lstep\" title=\"Donate to this project using Patreon\"\u003e\u003cimg src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /\u003e\u003c/a\u003e\u003c/span\u003e\n\u003cspan class=\"badge-paypal\"\u003e\u003ca href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=3AZ4NQ7ESWJBC\u0026lc=US\u0026no_note=0\u0026cn=Ajouter%20des%20instructions%20particuli%c3%a8res%20pour%20le%20vendeur%20%3a\u0026no_shipping=2\u0026currency_code=EUR\u0026bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted\" title=\"Donate to this project using Paypal\"\u003e\u003cimg src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /\u003e\u003c/a\u003e\u003c/span\u003e\n\n*Documentation is being written right now*\n\n## Purpose\n\n2FANGINX is an auth module for 2FA (2 factors authentication) on NGINX (using \"standard\" Lua module from NGINX). It allows you to protect using 2FA a whole subdomain, without interfering with other security mesures below the domain hierarchy.\n\n## Features\n\n* Securely hashed (HMAC-SHA1) cookie (distributed only on HTTPS)\n* [Throttling connexions](https://github.com/throttled/throttled) to prevent brute force password attempts and DDoS\n\n## Requirements\n\n* Always use the most accessible software, and do not need to recompile a full NGINX isntance. So using the default NGINX Ubuntu/Debian package and the default Lua module addon also available as a package (`libnginx-mod-http-lua`).\n\n## References\n\n* Initially based on ([gist](https://gist.github.com/jebjerg/d1c4a23057d5f35a8157) written by [jebjerg](http://github.com/jebjerg))\n","funding_links":["http://patreon.com/lstep","https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=3AZ4NQ7ESWJBC\u0026lc=US\u0026no_note=0\u0026cn=Ajouter%20des%20instructions%20particuli%c3%a8res%20pour%20le%20vendeur%20%3a\u0026no_shipping=2\u0026currency_code=EUR\u0026bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flstep%2F2fanginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flstep%2F2fanginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flstep%2F2fanginx/lists"}