{"id":20376690,"url":"https://github.com/andrebriggs/git-crypt-demo","last_synced_at":"2026-06-09T05:01:55.668Z","repository":{"id":150973716,"uuid":"223150145","full_name":"andrebriggs/git-crypt-demo","owner":"andrebriggs","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-27T10:16:02.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T21:42:18.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/andrebriggs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-21T10:38:26.000Z","updated_at":"2021-09-14T23:37:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"da3d358d-a5c3-4e22-9eef-76c8465a43d9","html_url":"https://github.com/andrebriggs/git-crypt-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrebriggs/git-crypt-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fgit-crypt-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fgit-crypt-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fgit-crypt-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fgit-crypt-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrebriggs","download_url":"https://codeload.github.com/andrebriggs/git-crypt-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fgit-crypt-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34092262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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-15T01:39:10.180Z","updated_at":"2026-06-09T05:01:54.964Z","avatar_url":"https://github.com/andrebriggs.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-crypt automated walkthrough\n\n## Requirements\n\nRun `brew install git-crypt` to install [git-crypt](https://github.com/AGWA/git-crypt)\n\n## Instructions\n\nRun `sh demo-encryption.sh` and view the output. It will look something like this:\n\n\u003cpre\u003e\n$ sh example.sh\nInitialized empty Git repository in /private/var/folders/lj/9dqdzw193jg2jhjp9x19fyb00000gn/T/git-crypt-example.qadG8zCJ/.git/\nGenerating key...\n[master (root-commit) 56f46ae] Initial commit\n 2 files changed, 2 insertions(+)\n create mode 100644 .gitattributes\n create mode 100644 README.md\n    \u003cb\u003eencrypted: config.secret.yaml\u003c/b\u003e\nnot encrypted: config.yaml\nnot encrypted: .gitattributes\nnot encrypted: README.md\n[master ec04ae9] Adding yaml files\n 2 files changed, 0 insertions(+), 0 deletions(-)\n create mode 100644 config.secret.yaml\n create mode 100644 config.yaml\n \u003c/pre\u003e\n\n Notice that `config.secret.yaml` is encrypted but `config.yaml` is not. If we were to push the created git repo to a remote origin the `config.secret.yaml` file would be encrypted. You can see an example live repo [here](https://github.com/andrebriggs/git-crypt-demo-example)\n\n## Use Cases\n\n A pattern like this can be used in CI/CD orchestrations such as Azure DevOps pipelines to provide plain sight encryption to files. This could be useful in GitOps patterns where obfuscation via environment variables might not be preferred.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrebriggs%2Fgit-crypt-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrebriggs%2Fgit-crypt-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrebriggs%2Fgit-crypt-demo/lists"}