{"id":18991041,"url":"https://github.com/pythongssapi/k5test","last_synced_at":"2026-03-18T02:33:08.100Z","repository":{"id":33116026,"uuid":"36754350","full_name":"pythongssapi/k5test","owner":"pythongssapi","description":"A library for setting up self-contained Kerberos 5 environments (based on code from MIT krb5, but supports Heimdal)","archived":false,"fork":false,"pushed_at":"2024-11-11T03:30:47.000Z","size":24,"stargazers_count":7,"open_issues_count":3,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-12-31T12:17:50.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythongssapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2015-06-02T18:48:48.000Z","updated_at":"2025-10-23T22:01:26.000Z","dependencies_parsed_at":"2024-01-30T21:35:01.797Z","dependency_job_id":"1f3bd577-bda1-4b88-ab8d-e28974ed8f9b","html_url":"https://github.com/pythongssapi/k5test","commit_stats":{"total_commits":32,"total_committers":10,"mean_commits":3.2,"dds":0.71875,"last_synced_commit":"17512bd2137ffcdd1fdb7ff4210891ad34d27803"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/pythongssapi/k5test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythongssapi%2Fk5test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythongssapi%2Fk5test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythongssapi%2Fk5test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythongssapi%2Fk5test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythongssapi","download_url":"https://codeload.github.com/pythongssapi/k5test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythongssapi%2Fk5test/sbom","scorecard":{"id":752354,"data":{"date":"2025-08-11","repo":{"name":"github.com/pythongssapi/k5test","commit":"349b79ecdff9a3ec00441c467511ff03e92450c9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":4,"reason":"Found 12/27 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/pythongssapi/k5test/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/pythongssapi/k5test/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/pythongssapi/k5test/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/pythongssapi/k5test/ci.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:37","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:38","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:39","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:64","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.10.0 not signed: https://api.github.com/repos/pythongssapi/k5test/releases/48042332","Warn: release artifact v0.10.0 does not have provenance: https://api.github.com/repos/pythongssapi/k5test/releases/48042332"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ci.yml:50"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T20:42:25.591Z","repository_id":33116026,"created_at":"2025-08-22T20:42:25.591Z","updated_at":"2025-08-22T20:42:25.591Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30642995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-18T01:41:58.583Z","status":"online","status_checked_at":"2026-03-18T02:00:07.824Z","response_time":104,"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":[],"created_at":"2024-11-08T17:12:32.439Z","updated_at":"2026-03-18T02:33:08.040Z","avatar_url":"https://github.com/pythongssapi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"K5Test\n======\n\n*k5test* is a library for setting up self-contained Kerberos 5 environments,\nand running Python unit tests inside those environments.  It is based on\nthe file of the same name found alongside the MIT Kerberos 5 unit tests.\n\nUsing k5test to set up a Kerberos 5 deployment\n----------------------------------------------\n\n*k5test* can be used to set up a self-contained MIT krb5 or Heimdal\nenvironment.  This is useful for testing applications without having to\nmanipulate existing Kerberos realms, or having to set up a full Kerberos\ndeployment by hand.\n\nTo set up a realm, use the `k5test.K5Realm` class.  The constructor accepts\nseveral useful arguments for controlling which parts get set up; refer to the\ninline documentation for more information.\n\nUsing k5test to run unit tests\n------------------------------\n\nInstead of having test cases inherit from `unittest.TestCase`, inherit from\n`k5test.KerberosTestCase`, which will automatically set up a Kerberos 5\nenvironment, before the test case, and tear it down afterwards.\n\nAdditionally, several decorators are defined.  the\n`k5test.gssapi_extension_test(extension_name, human_readable_name)` decorator\n(which requires `python-gssapi`) allows you to skip tests with installations\nthat don't support a particular GSSAPI extension.  The the\n`k5test.krb_minversion_test(target_version, problem_name)` decorator allows\nyou to skip tests when running a version of krb5 less that the required\nversion.  The `k5test.krb_plugin_test(plugin_type, plugin_name)` decorator\nallows you to skip tests for installations that don't have a particular plugin\ninstalled.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythongssapi%2Fk5test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythongssapi%2Fk5test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythongssapi%2Fk5test/lists"}