{"id":20837589,"url":"https://github.com/taojy123/git-easy-crypt","last_synced_at":"2026-04-16T14:39:26.146Z","repository":{"id":57434473,"uuid":"167112320","full_name":"taojy123/git-easy-crypt","owner":"taojy123","description":"The easy way to encrypt/decrypt private files in the git repo.","archived":false,"fork":false,"pushed_at":"2019-07-26T05:16:34.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T05:00:07.503Z","etag":null,"topics":["encrypt","git"],"latest_commit_sha":null,"homepage":"https://taojy123.github.io/git-easy-crypt","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/taojy123.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":"2019-01-23T03:42:11.000Z","updated_at":"2020-05-01T15:31:30.000Z","dependencies_parsed_at":"2022-09-04T15:30:54.254Z","dependency_job_id":null,"html_url":"https://github.com/taojy123/git-easy-crypt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taojy123/git-easy-crypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taojy123%2Fgit-easy-crypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taojy123%2Fgit-easy-crypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taojy123%2Fgit-easy-crypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taojy123%2Fgit-easy-crypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taojy123","download_url":"https://codeload.github.com/taojy123/git-easy-crypt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taojy123%2Fgit-easy-crypt/sbom","scorecard":{"id":868268,"data":{"date":"2025-08-11","repo":{"name":"github.com/taojy123/git-easy-crypt","commit":"a294123674fa2fd224ce4abc99ec1de2fdec6538"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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"}}]},"last_synced_at":"2025-08-24T03:22:56.165Z","repository_id":57434473,"created_at":"2025-08-24T03:22:56.165Z","updated_at":"2025-08-24T03:22:56.165Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31891037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["encrypt","git"],"created_at":"2024-11-18T01:08:02.555Z","updated_at":"2026-04-16T14:39:26.122Z","avatar_url":"https://github.com/taojy123.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-easy-crypt\n\nThe easy way to encrypt/decrypt private files in the git repo.\n\n\n## Install\n\nyou can install git-easy-crypt by pip:\n\n```\n$ pip install git-easy-crypt\n```\n\nor download the script directly:\n\n```\n$ sudo curl -o /usr/local/bin/gecrypt https://raw.githubusercontent.com/taojy123/git-easy-crypt/master/gecrypt.py \n$ sudo chmod a+x /usr/local/bin/gecrypt\n```\n\n\n---------------\n\n\n## Usage\n\n``` \ngecrypt setkey mysecretkey             Set a secret key for encrypt/decrypt in current repo\ngecrypt setkey mysecretkey -y          Set a secret key without input yes\ngecrypt showkey                        Show secret key\ngecrypt encrypt file                   Encrypt a file (decrypt file to file.sec)\ngecrypt encryptall                     Encrypt all decrypted files in current repo\ngecrypt decrypt file.sec               Decrypt a file (decrypt file.sec to file)\ngecrypt decrypt file.sec anther_file   Decrypt file.sec to anther_file\ngecrypt decryptall                     Decrypt all encrypted files in current repo\ngecrypt version                        Show version\ngecrypt help                           Show help for commands\n```\n\n\n---------------\n\n\n## Best Practice\n\n\n### As Alice, encrypt the secret files and push:\n\n```\n$ git clone https://github.com/taojy123/test\nCloning into 'test'...\n...\nUnpacking objects: 100% (3/3), done.\n$ cd test\n\n$ gecrypt setkey abc123\n`abc123` has saved in .git-easy-crypt-key\n\n$ echo MYSECRET=AAA \u003e keys.txt\n$ ls\nREADME.md    keys.txt\n\n$ gecrypt encrypt keys.txt \nEncrypt success!\nThe secret code has been saved in `keys.txt.sec`, and `keys.txt` is ignored by git.\nYou must keep the secret key `abc123` in mind for decrypt the file in the future!!!\n$ ls\nREADME.md    keys.txt     keys.txt.sec\n\n$ git add .\n$ git commit -m \"add encrypted secret file\"\n[master 3d8ef6f] add encrypted secret file\n 2 files changed, 5 insertions(+)\n create mode 100644 .gitignore\n create mode 100644 keys.txt.sec\n\n$ git push\n...\nTo https://github.com/taojy123/test\n   4d86b27..3d8ef6f  master -\u003e master\n$ \n```\n\n\n### As Bob, pull and decrypt the secret files:\n\n```\n$ git clone https://github.com/taojy123/test\nCloning into 'test'...\n...\nUnpacking objects: 100% (7/7), done.\n$ cd test\n\n$ ls\nREADME.md    keys.txt.sec\n\n$ gecrypt setkey abc123\n`abc123` has saved in .git-easy-crypt-key\n\n$ gecrypt decryptall\n`./keys.txt.sec` has been decrypted to `./keys.txt`.\n\n$ ls\nREADME.md    keys.txt     keys.txt.sec\n\n$ cat keys.txt\nMYSECRET=AAA \n$ \n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaojy123%2Fgit-easy-crypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaojy123%2Fgit-easy-crypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaojy123%2Fgit-easy-crypt/lists"}