{"id":16687275,"url":"https://github.com/highb/secret-clean-repo","last_synced_at":"2026-04-22T18:31:34.008Z","repository":{"id":190683863,"uuid":"683150552","full_name":"highb/secret-clean-repo","owner":"highb","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-16T02:30:30.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T03:45:30.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/highb.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":"2023-08-25T18:10:50.000Z","updated_at":"2023-08-25T18:11:13.000Z","dependencies_parsed_at":"2024-11-19T09:48:27.828Z","dependency_job_id":"151e337f-269d-4e0f-8f53-b1121d1c1345","html_url":"https://github.com/highb/secret-clean-repo","commit_stats":null,"previous_names":["highb/secret-clean-repo"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/highb/secret-clean-repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highb%2Fsecret-clean-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highb%2Fsecret-clean-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highb%2Fsecret-clean-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highb%2Fsecret-clean-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highb","download_url":"https://codeload.github.com/highb/secret-clean-repo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highb%2Fsecret-clean-repo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32149388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T17:06:48.269Z","status":"ssl_error","status_checked_at":"2026-04-22T17:06:19.037Z","response_time":58,"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":[],"created_at":"2024-10-12T15:08:35.292Z","updated_at":"2026-04-22T18:31:33.976Z","avatar_url":"https://github.com/highb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# secret-clean-repo\n\nThis is copy of the [secret-leaking-repo](https://github.com/highb/secret-leaking-repo).\nWhere all secrets have been removed using `git-filter-repo` by following the docs [provided by GitHub](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository).\n\nSpecifically, the following commands were used to remove all secrets from the repo:\n\n```bash\n[11:13:32]❮ gh repo clone highb/secret-clean-repo\nCloning into 'secret-clean-repo'...\nremote: Enumerating objects: 15, done.\nremote: Counting objects: 100% (15/15), done.\nremote: Compressing objects: 100% (9/9), done.\nremote: Total 15 (delta 3), reused 15 (delta 3), pack-reused 0\nReceiving objects: 100% (15/15), done.\nResolving deltas: 100% (3/3), done.\n\n[11:13:35]❯ cd secret-clean-repo\n\n[11:13:38]❯ git filter-repo --invert-paths --path secret.env --path secret.json --path secrets.bak.new/test.env\nFound existing alias for \"git\". You should use: \"g\"\nParsed 4 commits\nNew history written in 0.18 seconds; now repacking/cleaning...\nRepacking your repo and cleaning out old unneeded objects\nHEAD is now at 25682d7 Create README.md\nEnumerating objects: 12, done.\nCounting objects: 100% (12/12), done.\nDelta compression using up to 12 threads\nCompressing objects: 100% (7/7), done.\nWriting objects: 100% (12/12), done.\nTotal 12 (delta 2), reused 6 (delta 2), pack-reused 0\nCompletely finished after 0.40 seconds.\n\n[11:13:42]❯ echo \"secret.env\" \u003e\u003e .gitignore\n\n[11:14:11]❯ echo \"secret.json\" \u003e\u003e .gitignore\n\n[11:14:14]❮ echo \"secrets.bak.new/test.env\" \u003e\u003e .gitignore\n\n[11:14:39]❯ git add .gitignore\nFound existing alias for \"git add\". You should use: \"ga\"\n\n[11:14:40]❯ gc\n[main 0b41111] Add secret paths to .gitignore\n 1 file changed, 3 insertions(+)\n create mode 100644 .gitignore\n\n[11:14:50]❯ glo\n0b41111 (HEAD -\u003e main) Add secret paths to .gitignore\n25682d7 Create README.md\nd7feefb (tag: v2020.0.0) Migrate to the cloud 😎\nb6bb1c4 URGENT PRODUCTION FIX\nc41ed43 (tag: v1.0.0) Initial commit of script\n\n[11:14:56]❯ git show b6bb1c4\nFound existing alias for \"git show\". You should use: \"gsh\"\ncommit b6bb1c46f3be50d5db89d3fa52c81f76c28fa2e1\nAuthor: Brandon High \u003chighb@users.noreply.github.com\u003e\nDate:   Fri Aug 25 10:56:01 2023 -0700\n\n    URGENT PRODUCTION FIX\n\n\nΔ main.py\n─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n\n──────────────────────────────────────────────────────────────────────────────────────┐\n• 30: encrypted_secret_data = base64.b64encode(encrypted_secret_data).decode(\"utf-8\") │\n──────────────────────────────────────────────────────────────────────────────────────┘\n# POST the encrypted data to the server\n\n# This is the URL of the server\nurl = \"https://example.com/api\"\nurl = \"https://example.com/api/secret\"\n\n# This is the JSON payload that will be sent to the server\npayload = {\n\n[11:15:02]❯ git show d7feefb\nFound existing alias for \"git show\". You should use: \"gsh\"\ncommit d7feefb840de9f6d942b0be861ec654f0d9ee67f (tag: v2020.0.0)\nAuthor: Brandon High \u003chighb@users.noreply.github.com\u003e\nDate:   Fri Aug 25 10:58:18 2023 -0700\n\n    Migrate to the cloud 😎\n\n\nΔ main.py\n─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n\n──────────────────────────────────────────────────────────────────────────────────────┐\n• 30: encrypted_secret_data = base64.b64encode(encrypted_secret_data).decode(\"utf-8\") │\n──────────────────────────────────────────────────────────────────────────────────────┘\n# POST the encrypted data to the server\n\n# This is the URL of the server\nurl = \"https://example.com/api/secret\"\nurl = \"https://cloud.example.com/api/secret\"\n\n# This is the JSON payload that will be sent to the server\npayload = {\n\n[11:15:59]❯ gr add origin https://github.com/highb/secret-clean-repo\n\n[11:16:01]❯ git push origin --force --all\nFound existing alias for \"git push\". You should use: \"gp\"\nEnumerating objects: 14, done.\nCounting objects: 100% (14/14), done.\nDelta compression using up to 12 threads\nCompressing objects: 100% (8/8), done.\nWriting objects: 100% (12/12), 1.42 KiB | 1.42 MiB/s, done.\nTotal 12 (delta 2), reused 8 (delta 1), pack-reused 0\nremote: Resolving deltas: 100% (2/2), completed with 1 local object.\nTo https://github.com/highb/secret-clean-repo\n + 1b08044...0b41111 main -\u003e main (forced update)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighb%2Fsecret-clean-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighb%2Fsecret-clean-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighb%2Fsecret-clean-repo/lists"}