{"id":16909591,"url":"https://github.com/yjdoc2/kerberos-examples","last_synced_at":"2026-05-02T03:31:48.645Z","repository":{"id":42855764,"uuid":"256246519","full_name":"YJDoc2/Kerberos-Examples","owner":"YJDoc2","description":"Repository containing example usage of Kerberos-js and Kerberos-py repositories.","archived":false,"fork":false,"pushed_at":"2022-12-12T16:04:11.000Z","size":484,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T13:28:37.785Z","etag":null,"topics":["kerberos","nodejs","python3","security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YJDoc2.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":"2020-04-16T14:55:47.000Z","updated_at":"2020-09-28T08:08:29.000Z","dependencies_parsed_at":"2023-01-27T21:45:19.912Z","dependency_job_id":null,"html_url":"https://github.com/YJDoc2/Kerberos-Examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YJDoc2/Kerberos-Examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YJDoc2%2FKerberos-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YJDoc2%2FKerberos-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YJDoc2%2FKerberos-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YJDoc2%2FKerberos-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YJDoc2","download_url":"https://codeload.github.com/YJDoc2/Kerberos-Examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YJDoc2%2FKerberos-Examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["kerberos","nodejs","python3","security"],"created_at":"2024-10-13T18:56:28.263Z","updated_at":"2026-05-02T03:31:48.617Z","avatar_url":"https://github.com/YJDoc2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kerberos Examples\n\nA repository containing usage examples for Kerberos JS module and Python Library.\n\n## About\n\nThis contains two examples about how to use the Kerberos JS Module and Python library.\nThe Module and library can be found as :\u003cbr /\u003e\n\u003ca href='https://github.com/YJDoc2/Kerberos-JS-Module'\u003eKerberos JS Module\u003c/a\u003e\u003cbr /\u003e\n\u003ca href='https://github.com/YJDoc2/Kerberos-Python-Library'\u003eKerberos Python Library\u003c/a\u003e\n\n\u003cstrong\u003eNote\u003c/strong\u003e that neither of these implement the protocol on low c-like level. These only provide Classes that can be used over some other protocol.Which means that neither of them set up any kind of Server or client and that has to be done by use of some other means.\n\nThe explanation of working of them is done in the respective repositories and not repeated here.The API documentation can be found there as well.\n\nBoth examples demonstrate usage of these over HTTP protocol.\n\nBoth also show that JS module and library can be used with each other, and there is not a constraint to use same language module/library on Server and client side.\n\nThis repository contains two examples in two folders, whose explanation and working is in the respective README files in the respective folders. Basic explanation is given below.\n\n## Building\n\n\u003cstrong\u003eNOTE : for reducing the size of repository, as well as removing redundant copies and easier development, the actual module/library folder were linked using symlinks while development. Before running, replace all symlinks named 'Kerberos' with Kerberos python library, and symlink name 'Kerberos-JS' with Kerberos JS module.\u003c/strong\u003e\n\n## Flask Example\n\nThis uses Flask backend and a plain html-js frontend.\nThe Kerberos_KDC class is used on single server to handle both Authentication as well as Ticket Granting Services.This also handles display of the single front end page.\n\nThe second and third Servers acts as a server to be protected by this, and uses Server class.\n\nIn frontend Kerberos.min.js script is used to access the Client class, and external dependency of axios is used to make AJAX requests to backend servers.\n\n## Node Example\n\nThis uses NodeJS with ExpressJS backend and Tkinter GUI based client side.\n\nHere Two distinct servers listening on two different ports handle the Authentication Service and Ticket Granting Service.\nOne uses KerberosAS class and other used KerberosTGS class.\n\nA third Server on different port acts as a server to be protected by this, and uses Server class.\n\nThis shows that the AS and TGS can be set up on different servers, and does the same work as KDC class.\n\nOn client side, Tkinter GUI uses Python library Client class.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjdoc2%2Fkerberos-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjdoc2%2Fkerberos-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjdoc2%2Fkerberos-examples/lists"}