{"id":23291748,"url":"https://github.com/albertoeaf/git-sign-off","last_synced_at":"2025-08-05T02:14:12.035Z","repository":{"id":55830598,"uuid":"304990437","full_name":"AlbertoEAF/git-sign-off","owner":"AlbertoEAF","description":"Scripts to generate and validate git signatures after you pass certain challenges/tests/tasks.","archived":false,"fork":false,"pushed_at":"2020-12-11T17:11:57.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T01:06:08.766Z","etag":null,"topics":["certificate","git-sign","signature","signature-check"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlbertoEAF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-17T23:58:48.000Z","updated_at":"2020-12-11T17:27:08.000Z","dependencies_parsed_at":"2022-08-15T07:31:28.871Z","dependency_job_id":null,"html_url":"https://github.com/AlbertoEAF/git-sign-off","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlbertoEAF/git-sign-off","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertoEAF%2Fgit-sign-off","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertoEAF%2Fgit-sign-off/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertoEAF%2Fgit-sign-off/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertoEAF%2Fgit-sign-off/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbertoEAF","download_url":"https://codeload.github.com/AlbertoEAF/git-sign-off/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertoEAF%2Fgit-sign-off/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268820501,"owners_count":24312402,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"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":["certificate","git-sign","signature","signature-check"],"created_at":"2024-12-20T05:27:49.734Z","updated_at":"2025-08-05T02:14:11.996Z","avatar_url":"https://github.com/AlbertoEAF.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-sign-off\n\nAdd and check git signatures to your repository to check conditions/tasks automatically.\n\nDo you like automation?! So do we!\n\nCheck any command success through `git sign-off` calls in your git pre-commit hooks. On your CI, check that they are up-to-date with a simple `git sign-off-check`.\n\nThis way you can even ensure your fellow developers have their hooks installed and running correctly.\n\n# Installation\n\n```bash\npip install git-sign-off\n```\n\nThis installs programs `git-sign-off` and `git-sign-off-check`. Use them directly or through git commands.\n\n# Usage\n\n\n### Create certificate\n\nProve that a command ran successfully locally through:\n\n```bash\ngit sign-off -c bash \u003crun_my_local_sensitive_test.sh\u003e\n```\n\nIf the \"challenge\" command executes successfully a certificate is added to your commit. You will then see the message:\n\u003e Added git-sign-off signature for task 'default'.\n\n\n### Check certificate\n\nUseful in CI or for other developers:\n\n```bash\ngit sign-off-check\n```\nIf your certificate is up-to-date you will see:\n\u003e Signature check for task 'default' passed.\n\nIf your certificate is not up-to-date you will have an error like:\n\u003eSignatureError: Outdated signature found. Latest signature was generated after commit:\n\u003e5c1537d3502b8bc17172b5a03a4531b010024754\n\n\n# Using pre-commit\n\nAn easy way to use **git-sign-off** is through [`pre-commit`](https://pre-commit.com/) hooks. \n\nTo use it first install pre-commit:\n\n```bash\npip install pre-commit\n```\n\nThen add a file named `.pre-commit-config.yaml` to your repo with the hook:\n\n```yml\nrepos:\n-   repo: https://github.com/AlbertoEAF/git-sign-off\n    rev: master\n    hooks:\n    -   id: git-sign-off\n        args: [\"-c\", \"bash\", \"\u003crun_my_local_sensitive_test.sh\u003e\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoeaf%2Fgit-sign-off","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertoeaf%2Fgit-sign-off","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoeaf%2Fgit-sign-off/lists"}