{"id":27021339,"url":"https://github.com/oditynet/2fact-telegram","last_synced_at":"2026-03-14T07:32:06.972Z","repository":{"id":45729377,"uuid":"514251467","full_name":"oditynet/2fact-telegram","owner":"oditynet","description":"2fact telegram. авторизация  pam с получением кода по telegram каналу","archived":false,"fork":false,"pushed_at":"2025-03-10T08:42:39.000Z","size":133,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T09:40:36.898Z","etag":null,"topics":["2fact","pam","telegram"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oditynet.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-15T11:52:32.000Z","updated_at":"2025-03-10T08:42:43.000Z","dependencies_parsed_at":"2025-03-10T09:31:29.503Z","dependency_job_id":"cd6195af-04f7-48f9-9d7c-ac01e1f7d8d9","html_url":"https://github.com/oditynet/2fact-telegram","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oditynet%2F2fact-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oditynet%2F2fact-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oditynet%2F2fact-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oditynet%2F2fact-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oditynet","download_url":"https://codeload.github.com/oditynet/2fact-telegram/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247241696,"owners_count":20907056,"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":["2fact","pam","telegram"],"created_at":"2025-04-04T19:50:06.495Z","updated_at":"2026-03-14T07:32:06.964Z","avatar_url":"https://github.com/oditynet.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"GitHub code size in bytes\" src=\"https://img.shields.io/github/languages/code-size/oditynet/2fact-telegram\"\u003e\u003c/img\u003e\n\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/oditynet/2fact-telegram\"\u003e\u003c/img\u003e\n\u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/oditynet/2fact-telegram\"\u003e\u003c/img\u003e\n\n# 2FA with Telegram in a consoles and DE, SSH and etc \n\nThis is a PAM module for 2fa authorizate of Telegram channel\nEnter User\\password and code at your Telegram bot.\n\ncurl -s -X POST https://api.telegram.org/bot\u003cSECURITY\u003e/getUpdates - get info about id\n\n# Build:\n\n```\nmake\ncp 2fact.so /usr/lib/security\n```\n\n# Config \n\nPam.d config:\nAdd \"auth\trequisite\t2fact.so\" in a /etc/pam.d/system-auth\n\nExample:\n==========================\n\n\u003cimg src=\"https://github.com/oditynet/2fact-telegram/blob/main/out.jpg\" title=\"example\" width=\"500\" /\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foditynet%2F2fact-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foditynet%2F2fact-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foditynet%2F2fact-telegram/lists"}