{"id":25497225,"url":"https://github.com/red-lichtie/sops-pre-commit-hook","last_synced_at":"2026-04-30T22:38:01.953Z","repository":{"id":277706641,"uuid":"933244642","full_name":"red-lichtie/sops-pre-commit-hook","owner":"red-lichtie","description":"Ensure secrets are encrypted using CNCF sops - git pre-commit-hook","archived":false,"fork":false,"pushed_at":"2025-02-22T08:46:04.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T11:45:40.935Z","etag":null,"topics":["cncf","git","kubernetes","secrets","sops"],"latest_commit_sha":null,"homepage":"https://github.com/red-lichtie/sops-pre-commit-hook","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/red-lichtie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2025-02-15T14:00:26.000Z","updated_at":"2025-02-22T08:43:18.000Z","dependencies_parsed_at":"2025-02-15T15:44:18.309Z","dependency_job_id":null,"html_url":"https://github.com/red-lichtie/sops-pre-commit-hook","commit_stats":null,"previous_names":["red-lichtie/sops-pre-commit-hook"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/red-lichtie/sops-pre-commit-hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-lichtie%2Fsops-pre-commit-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-lichtie%2Fsops-pre-commit-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-lichtie%2Fsops-pre-commit-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-lichtie%2Fsops-pre-commit-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/red-lichtie","download_url":"https://codeload.github.com/red-lichtie/sops-pre-commit-hook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-lichtie%2Fsops-pre-commit-hook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32479448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cncf","git","kubernetes","secrets","sops"],"created_at":"2025-02-19T01:18:52.185Z","updated_at":"2026-04-30T22:37:56.939Z","avatar_url":"https://github.com/red-lichtie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sops-pre-commit-hook\n\nEnsure that secrets are encrypted using sops before commiting to git.\n\n## Links\n* Requires: [pre-commit](https://pre-commit.com/)\n* Requires: [sops](https://github.com/getsops)\n* [CNCF - sops](https://www.cncf.io/projects/sops/)\n* [CNCF - Landscape](https://landscape.cncf.io/)\n\n## Configuration file `.sops.yaml` exists\nIt looks for the sops configuration file `.sops.yaml` in the project root\nor anywhere in the path above the file being tested.\n\nIf this file is found and it contains `creation_rules`, then the value of\n`path_regex` for each of the defined rules is used to check if a file should\nbe encrypted or not.\n\nIf a file name doesn't match any of the defined values for `path_regex` it\nwill **NOT** be evaluated.\n\n## No configuration file `.sops.yaml` exists\n\n**ONLY** when no configuration file is found, then all `.*.ya?ml` files are checked\nas having `kind: secret`, then they are evaluated.\n\n## Installation\nEnable this hook by adding this to your project's `.pre-commit-config.yaml`\n\n```yaml\nrepos:\n- repo: https://github.com/red-lichtie/sops-pre-commit-hook\n  rev: v1.1.1\n  hooks:\n    - id: sops-pre-commit-hook\n```\n\n## License\n\nThis software is licensed under the LGPL V3 license (see the [LICENSE](LICENSE.md) file).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred-lichtie%2Fsops-pre-commit-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fred-lichtie%2Fsops-pre-commit-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred-lichtie%2Fsops-pre-commit-hook/lists"}