From 2cc2519302d58ac122e09f32b0fca7e582dfee03 Mon Sep 17 00:00:00 2001 From: Eli Schleifer <1265982+EliSchleifer@users.noreply.github.com> Date: Thu, 9 Sep 2021 00:06:48 -0700 Subject: [PATCH 1/5] Fix README link Fix up readme link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c8594451..bd616a72 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ gitleaks --path=path/to/local/repo -v --unstaged ### Configuration Provide your own gitleaks configurations with `--config-path` or `--repo-config-path`. `--config-path` loads a local gitleaks configuration whereas `--repo-config-path` will load a configuration present just in the repo you want to scan. For example, `gitleaks --repo-config-path=".github/gitleaks.config"`. -The default configuration Gitleaks uses is located [here](https://github.com/zricethezav/gitleaks/blob/master/config/default.go). More configuration examples can be seen [here](https://github.com/zricethezav/gitleaks/tree/master/examples). Configuration files will contain a few different toml tables. Further explanation is provided below. +The default configuration Gitleaks uses is located [here](https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml). More configuration examples can be seen [here](https://github.com/zricethezav/gitleaks/tree/master/examples). Configuration files will contain a few different toml tables. Further explanation is provided below. ### Rules summary From 6adc045580c3911a7a936be7b977979a5519aa29 Mon Sep 17 00:00:00 2001 From: Zachary Rice Date: Thu, 9 Sep 2021 11:46:31 -0500 Subject: [PATCH 2/5] Simplify tests and continue on object not found errors (#633) * adding files * init better tests * add basic .git * more tests and test data * nogit, unstaged tests * removing unused testdata * adding empty testdata * rm gitmodules * fixing tests * remove with config * adding with_config * removing old test_data, updating config tests * removing hooks in testdata repos --- config/config_test.go | 58 +- scan/commit_test.go | 90 +++ scan/commits.go | 9 +- scan/commits_test.go | 102 +++ scan/filesatcommit_test.go | 81 ++ scan/nogit.go | 6 +- scan/nogit_test.go | 81 ++ scan/repo_test.go | 88 ++ scan/scan_test.go | 762 +----------------- scan/unstaged_test.go | 111 +++ test_data/test_additional_config.json | 19 - test_data/test_allow_list_docx_no_git.json | 87 -- test_data/test_allow_list_file.json | 19 - test_data/test_allow_list_file_no_git.json | 36 - test_data/test_append_repo.json | 19 - test_data/test_entropy.json | 16 - test_data/test_file1_aws_leak.json | 19 - test_data/test_local_owner_aws_leak.json | 393 --------- ...t_local_owner_aws_leak_allowlist_repo.json | 376 --------- .../test_local_owner_aws_leak_depth_2.json | 121 --- test_data/test_local_repo_eight.json | 53 -- ...test_local_repo_five_at_latest_commit.json | 18 - test_data/test_local_repo_five_commit.json | 18 - .../test_local_repo_five_files_at_commit.json | 34 - ...ocal_repo_five_files_at_latest_commit.json | 34 - ...st_local_repo_four_alt_config_entropy.json | 36 - ...ocal_repo_four_leaks_commit_timerange.json | 36 - test_data/test_local_repo_nine_aws_leak.json | 18 - test_data/test_local_repo_one_aws_leak.json | 19 - ...local_repo_one_aws_leak_and_file_leak.json | 18 - .../test_local_repo_one_aws_leak_commit.json | 18 - ...local_repo_seven_aws_leak_uncommitted.json | 18 - test_data/test_local_repo_six.json | 47 -- test_data/test_local_repo_six_filename.json | 34 - test_data/test_local_repo_six_filepath.json | 18 - ...test_local_repo_six_filepath_filename.json | 18 - .../test_local_repo_six_leaks_since_date.json | 18 - .../test_local_repo_six_leaks_until_date.json | 18 - ...al_repo_six_path_globally_allowlisted.json | 18 - test_data/test_local_repo_three_leaks.json | 70 -- ...l_repo_three_leaks_with_report_groups.json | 53 -- ...test_local_repo_two_allowlist_commits.json | 19 - test_data/test_local_repo_two_leaks.json | 53 -- ...test_local_repo_two_leaks_commit_from.json | 36 - ...est_local_repo_two_leaks_commit_range.json | 36 - .../test_local_repo_two_leaks_commit_to.json | 19 - ...t_local_repo_two_leaks_commit_to_from.json | 19 - .../test_local_repo_two_leaks_deletion.json | 98 --- ...ocal_repo_two_leaks_file_commit_range.json | 36 - test_data/test_only_files_no_git.json | 155 ---- .../test_options/test_local_repo_commits.txt | 5 - test_data/test_regex_allowlist.json | 1 - test_data/test_regex_entropy.json | 18 - test_data/test_repos/no_repo/tmp.tmp | 1 - .../test_repos/test_dir_1/server.test.py | 9 - .../test_repos/test_dir_1/server.test2.py | 9 - .../test_repo_1/dotGit/COMMIT_EDITMSG | 1 - .../test_repos/test_repo_1/dotGit/config | 7 - test_data/test_repos/test_repo_1/dotGit/index | Bin 126 -> 0 bytes .../test_repo_1/dotGit/info/exclude | 6 - .../test_repos/test_repo_1/dotGit/logs/HEAD | 2 - .../test_repo_1/dotGit/logs/refs/heads/master | 2 - .../10/fa14c5ab0134436e2ae435138bf921eb477c60 | Bin 784 -> 0 bytes .../3a/76f3781306faf5612017bf18a4b4bdb9f927bf | Bin 138 -> 0 bytes .../41/42082bcb939bbc17985a69ba748491ac6b62a5 | Bin 281 -> 0 bytes .../49/8b267a8c7812490d6479839c5577eaaec79d62 | Bin 77 -> 0 bytes .../60/c9e47f150a6b713e247e6105b77f1b961f844f | Bin 23 -> 0 bytes .../61/87dbf4390fc6e28445dd3d988aefb9d1111988 | Bin 708 -> 0 bytes .../65/57c92612d3b35979bd426d429255b3bf9fab74 | Bin 133 -> 0 bytes .../6a/756416384c210ada2631f17862f5c01fffa478 | Bin 946 -> 0 bytes .../6c/9406b7d9320db083eca69b3f8bee9a6c7b50d4 | Bin 114 -> 0 bytes .../6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 | Bin 2176 -> 0 bytes .../80/8b12c5ca4b142367932e7045d555a639fc148c | Bin 209 -> 0 bytes .../80/ba94135cc378364af9d3cb2450df48e51faf2c | Bin 1247 -> 0 bytes .../9e/523225b31add24e72f2feb0b2645cfb36542dc | 3 - .../a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 | 3 - .../a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d | Bin 57 -> 0 bytes .../a5/196d1be8fb59edf8062bef36d3a602e0812139 | 1 - .../a5/d7b84a673458d14d9aab082183a1968c2c7492 | Bin 299 -> 0 bytes .../b5/8d1184a9d43a39c0d95f32453efc78581877d6 | Bin 529 -> 0 bytes .../c9/8e6c52cbd1f50de572ff12a3441271fccff705 | Bin 158 -> 0 bytes .../cb/089cd89a7d7686d284d8761201649346b5aa1c | Bin 37 -> 0 bytes .../cb/19a50e8cdeb7011eccdb13f3b739f00d775bab | 2 - .../d2/74003914c707212cbe84e3e466a00013ccb639 | Bin 154 -> 0 bytes .../e6/73bb3980f3c286291809e05f80873852bc3e9c | Bin 1646 -> 0 bytes .../e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 | Bin 59 -> 0 bytes .../ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e | 2 - .../fe/f3190e94723e78847ab9f0daaa15add4ffd4ef | Bin 58 -> 0 bytes .../test_repo_1/dotGit/refs/heads/master | 1 - .../test_repos/test_repo_1/server.test.py | 9 - test_data/test_repos/test_repo_10/.gitignore | 1 - .../test_repos/test_repo_10/.gitleaks.toml | 11 - test_data/test_repos/test_repo_10/README.md | 1 - test_data/test_repos/test_repo_10/bad.zip | 1 - test_data/test_repos/test_repo_10/creds.git | 0 test_data/test_repos/test_repo_10/dotGit/HEAD | 1 - .../test_repos/test_repo_10/dotGit/bad.zip | 0 .../test_repos/test_repo_10/dotGit/index | Bin 397 -> 0 bytes .../test_repo_10/dotGit/info/exclude | 6 - .../test_repos/test_repo_10/dotGit/logs/HEAD | 1 - .../test_repo_10/dotGit/logs/refs/heads/main | 1 - .../dotGit/logs/refs/remotes/origin/HEAD | 1 - ...11838b7e60925aeee8a41a4a2b508b576b4b4c.idx | Bin 1436 -> 0 bytes ...1838b7e60925aeee8a41a4a2b508b576b4b4c.pack | Bin 2747 -> 0 bytes .../test_repo_10/dotGit/packed-refs | 2 - .../test_repo_10/dotGit/refs/heads/main | 1 - .../dotGit/refs/remotes/origin/HEAD | 1 - test_data/test_repos/test_repo_10/gitfile.txt | 1 - .../test_repo_10/somedir.git/secret.key | 1 - .../test_repos/test_repo_10/tmp/bad.docx | 1 - .../test_repo_2/dotGit/COMMIT_EDITMSG | 1 - .../test_repos/test_repo_2/dotGit/config | 7 - .../test_repos/test_repo_2/dotGit/description | 1 - test_data/test_repos/test_repo_2/dotGit/index | Bin 225 -> 0 bytes .../test_repo_2/dotGit/info/exclude | 6 - .../test_repos/test_repo_2/dotGit/logs/HEAD | 8 - .../test_repo_2/dotGit/logs/refs/heads/master | 8 - .../0b/c3a0c9536cc7273b74f48edcc6adead16333f7 | Bin 55 -> 0 bytes .../0e/cd6aeaa0b76f5cad8077ae5be8420457403bfc | Bin 115 -> 0 bytes .../15/40f193bc25b494cde092597a79af04013807ec | Bin 3391 -> 0 bytes .../17/471a5fda722a9e423f1a0d3f0d267ea009d41c | Bin 181 -> 0 bytes .../20/ef26716304570775cb395f37cb2d626bbd0a82 | Bin 83 -> 0 bytes .../24/3d535d84ed97fbc20d09c9d2c2f417507fe461 | Bin 59 -> 0 bytes .../3d/dab16668fe919638b76dd48c96bedf0e2276ca | Bin 94 -> 0 bytes .../51/f6dcf6b89b93f4075ba92c400b075631a6cc93 | 3 - .../5d/5c8724e8787e69cebcc9ea4bceb47d9941656e | Bin 83 -> 0 bytes .../5d/630e1163864c8b5616199962390a36a8a53b69 | Bin 53 -> 0 bytes .../5e/a982157d053ce35a9b79394973c7c8901f317c | Bin 83 -> 0 bytes .../69/b7669aa8e125ef0e14abce31911e84dd09e25e | Bin 83 -> 0 bytes .../85/699e429f33e75541530998a5b5d457a12e6285 | Bin 124 -> 0 bytes .../8c/b18882408aad0b2abf556bf1f2c5478ef328f5 | Bin 68 -> 0 bytes .../96/c1c0a3632af796efd3942cc1d81d7af48ead3e | Bin 133 -> 0 bytes .../99/6865bb912f3bc45898a370a13aadb315014b55 | 3 - .../a6/214eec6a6290fec81fe250e5b73b86d634a981 | Bin 67 -> 0 bytes .../b1/0b3e2cb320a8c211fda94c4567299d37de7776 | Bin 164 -> 0 bytes .../b2/eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba | Bin 162 -> 0 bytes .../c0/23aab082c73abd327675ad485fe78bb427ae21 | Bin 84 -> 0 bytes .../c1/bfab622827026dbd2eba4e2d75a8c523e55dc2 | Bin 95 -> 0 bytes .../d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a | 1 - .../e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 | Bin 54 -> 0 bytes .../f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 | 2 - .../test_repo_2/dotGit/refs/heads/master | 1 - .../test_repos/test_repo_2/no_secrets.md | 1 - test_data/test_repos/test_repo_2/secrets.md | 3 - .../test_repo_3/dotGit/COMMIT_EDITMSG | 1 - test_data/test_repos/test_repo_3/dotGit/HEAD | 1 - .../test_repos/test_repo_3/dotGit/config | 7 - .../test_repos/test_repo_3/dotGit/description | 1 - test_data/test_repos/test_repo_3/dotGit/index | Bin 225 -> 0 bytes .../test_repo_3/dotGit/info/exclude | 6 - .../test_repos/test_repo_3/dotGit/logs/HEAD | 14 - .../test_repo_3/dotGit/logs/refs/heads/dev | 3 - .../test_repo_3/dotGit/logs/refs/heads/master | 10 - .../0b/c3a0c9536cc7273b74f48edcc6adead16333f7 | Bin 55 -> 0 bytes .../0e/cd6aeaa0b76f5cad8077ae5be8420457403bfc | Bin 115 -> 0 bytes .../15/40f193bc25b494cde092597a79af04013807ec | Bin 3391 -> 0 bytes .../17/471a5fda722a9e423f1a0d3f0d267ea009d41c | Bin 181 -> 0 bytes .../18/5715c36f82be353f34845811270a4d0ae4b24e | Bin 83 -> 0 bytes .../20/ef26716304570775cb395f37cb2d626bbd0a82 | Bin 83 -> 0 bytes .../24/3d535d84ed97fbc20d09c9d2c2f417507fe461 | Bin 59 -> 0 bytes .../3d/dab16668fe919638b76dd48c96bedf0e2276ca | Bin 94 -> 0 bytes .../4a/3ffb6df0f421fdf325afae19dc749f8f6b1bfb | Bin 125 -> 0 bytes .../4b/a23978297d33c8d7744f059cc5bca2385e262d | Bin 83 -> 0 bytes .../51/f6dcf6b89b93f4075ba92c400b075631a6cc93 | 3 - .../5d/5c8724e8787e69cebcc9ea4bceb47d9941656e | Bin 83 -> 0 bytes .../5d/630e1163864c8b5616199962390a36a8a53b69 | Bin 53 -> 0 bytes .../5e/a982157d053ce35a9b79394973c7c8901f317c | Bin 83 -> 0 bytes .../64/cfcee9aad1c84581631636bfc54f2050718d1a | Bin 156 -> 0 bytes .../68/b020592645020c9afb7462e17842a1cc723071 | Bin 83 -> 0 bytes .../69/b7669aa8e125ef0e14abce31911e84dd09e25e | Bin 83 -> 0 bytes .../82/4b8a2b468fcfa244e096bd54b83508b85ef488 | Bin 115 -> 0 bytes .../83/c50b16ff4b3149142517a2adc8662f04b5b323 | Bin 54 -> 0 bytes .../84/ac4e80d4dbf2c968b64e9d4005f5079795bb81 | 3 - .../85/699e429f33e75541530998a5b5d457a12e6285 | Bin 124 -> 0 bytes .../8c/b18882408aad0b2abf556bf1f2c5478ef328f5 | Bin 68 -> 0 bytes .../96/c1c0a3632af796efd3942cc1d81d7af48ead3e | Bin 133 -> 0 bytes .../99/6865bb912f3bc45898a370a13aadb315014b55 | 3 - .../a6/214eec6a6290fec81fe250e5b73b86d634a981 | Bin 67 -> 0 bytes .../b1/07a0d7a337f04413efa73d337461f548aef336 | Bin 83 -> 0 bytes .../b1/0b3e2cb320a8c211fda94c4567299d37de7776 | Bin 164 -> 0 bytes .../b2/eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba | Bin 162 -> 0 bytes .../b8/a52870f2b093699e0d98cb896387c87e0c98a6 | Bin 66 -> 0 bytes .../c0/23aab082c73abd327675ad485fe78bb427ae21 | Bin 84 -> 0 bytes .../c1/bfab622827026dbd2eba4e2d75a8c523e55dc2 | Bin 95 -> 0 bytes .../cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 | 3 - .../d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a | 1 - .../de/ea550dd6c7acaf0e59432600593533984a2125 | Bin 158 -> 0 bytes .../e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 | Bin 54 -> 0 bytes .../f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 | 2 - .../test_repo_3/dotGit/refs/heads/dev | 1 - .../test_repo_3/dotGit/refs/heads/master | 1 - .../test_repos/test_repo_3/no_secrets.md | 1 - test_data/test_repos/test_repo_3/secrets.md | 2 - .../test_repo_4/dotGit/COMMIT_EDITMSG | 1 - test_data/test_repos/test_repo_4/dotGit/HEAD | 1 - .../test_repos/test_repo_4/dotGit/config | 7 - .../test_repos/test_repo_4/dotGit/description | 1 - test_data/test_repos/test_repo_4/dotGit/index | Bin 305 -> 0 bytes .../test_repo_4/dotGit/info/exclude | 6 - .../test_repos/test_repo_4/dotGit/logs/HEAD | 18 - .../test_repo_4/dotGit/logs/refs/heads/dev | 3 - .../test_repo_4/dotGit/logs/refs/heads/master | 14 - .../0b/c3a0c9536cc7273b74f48edcc6adead16333f7 | Bin 55 -> 0 bytes .../0e/cd6aeaa0b76f5cad8077ae5be8420457403bfc | Bin 115 -> 0 bytes .../15/40f193bc25b494cde092597a79af04013807ec | Bin 3391 -> 0 bytes .../17/471a5fda722a9e423f1a0d3f0d267ea009d41c | Bin 181 -> 0 bytes .../18/51114bbb7484cccd61f18c71649699d73ede6c | Bin 121 -> 0 bytes .../18/5715c36f82be353f34845811270a4d0ae4b24e | Bin 83 -> 0 bytes .../20/ef26716304570775cb395f37cb2d626bbd0a82 | Bin 83 -> 0 bytes .../24/3d535d84ed97fbc20d09c9d2c2f417507fe461 | Bin 59 -> 0 bytes .../29/b514fe50d6a7b2aa18cd581b46a85b84c2d4b3 | Bin 425 -> 0 bytes .../3d/dab16668fe919638b76dd48c96bedf0e2276ca | Bin 94 -> 0 bytes .../4a/3ffb6df0f421fdf325afae19dc749f8f6b1bfb | Bin 125 -> 0 bytes .../4b/a23978297d33c8d7744f059cc5bca2385e262d | Bin 83 -> 0 bytes .../4b/c47c2d3aaa25385e3354ea34136456c2260a12 | Bin 121 -> 0 bytes .../51/f6dcf6b89b93f4075ba92c400b075631a6cc93 | 3 - .../5a/ccbc40c35906d99f073881fb8746c314f9d59f | 1 - .../5d/5c8724e8787e69cebcc9ea4bceb47d9941656e | Bin 83 -> 0 bytes .../5d/630e1163864c8b5616199962390a36a8a53b69 | Bin 53 -> 0 bytes .../5e/a982157d053ce35a9b79394973c7c8901f317c | Bin 83 -> 0 bytes .../64/99d414147df9f56cbecd26ca710c39e4834024 | Bin 97 -> 0 bytes .../64/cfcee9aad1c84581631636bfc54f2050718d1a | Bin 156 -> 0 bytes .../67/c45b6048e42a2bd5512662ca6cd2bfc74c7842 | 5 - .../68/b020592645020c9afb7462e17842a1cc723071 | Bin 83 -> 0 bytes .../69/b7669aa8e125ef0e14abce31911e84dd09e25e | Bin 83 -> 0 bytes .../7b/2eba252004b7c867413def2a0984d545daab8b | Bin 160 -> 0 bytes .../82/4b8a2b468fcfa244e096bd54b83508b85ef488 | Bin 115 -> 0 bytes .../82/8595723b76e4a35b5253d9f2ccb4f897f1845a | Bin 163 -> 0 bytes .../83/c50b16ff4b3149142517a2adc8662f04b5b323 | Bin 54 -> 0 bytes .../84/ac4e80d4dbf2c968b64e9d4005f5079795bb81 | 3 - .../85/699e429f33e75541530998a5b5d457a12e6285 | Bin 124 -> 0 bytes .../8c/b18882408aad0b2abf556bf1f2c5478ef328f5 | Bin 68 -> 0 bytes .../96/c1c0a3632af796efd3942cc1d81d7af48ead3e | Bin 133 -> 0 bytes .../99/6865bb912f3bc45898a370a13aadb315014b55 | 3 - .../a6/214eec6a6290fec81fe250e5b73b86d634a981 | Bin 67 -> 0 bytes .../b1/07a0d7a337f04413efa73d337461f548aef336 | Bin 83 -> 0 bytes .../b1/0b3e2cb320a8c211fda94c4567299d37de7776 | Bin 164 -> 0 bytes .../b2/eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba | Bin 162 -> 0 bytes .../b4/70f07d2aaf2b537808b285cab667259b4e0ca7 | Bin 121 -> 0 bytes .../b8/a52870f2b093699e0d98cb896387c87e0c98a6 | Bin 66 -> 0 bytes .../c0/23aab082c73abd327675ad485fe78bb427ae21 | Bin 84 -> 0 bytes .../c1/bfab622827026dbd2eba4e2d75a8c523e55dc2 | Bin 95 -> 0 bytes .../cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 | 3 - .../ce/835da266b3f8c34e4b7f398693ed068f67cb30 | 1 - .../d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a | 1 - .../de/ea550dd6c7acaf0e59432600593533984a2125 | Bin 158 -> 0 bytes .../e0/894b9037d76464dbb8d25768c9a036987d6ace | Bin 121 -> 0 bytes .../e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 | Bin 54 -> 0 bytes .../ef/8fd94f0a1a6f503949ac4b56f3604ec4e942e3 | Bin 99 -> 0 bytes .../f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 | 2 - .../test_repo_4/dotGit/refs/heads/dev | 1 - .../test_repo_4/dotGit/refs/heads/master | 1 - .../test_repos/test_repo_4/gitleaks.toml | 9 - .../test_repos/test_repo_4/no_secrets.md | 1 - test_data/test_repos/test_repo_4/secrets.md | 21 - .../test_repo_5/dotGit/COMMIT_EDITMSG | 1 - test_data/test_repos/test_repo_5/dotGit/HEAD | 1 - .../test_repos/test_repo_5/dotGit/config | 7 - .../test_repos/test_repo_5/dotGit/description | 1 - test_data/test_repos/test_repo_5/dotGit/index | Bin 217 -> 0 bytes .../test_repo_5/dotGit/info/exclude | 6 - .../test_repos/test_repo_5/dotGit/logs/HEAD | 4 - .../test_repo_5/dotGit/logs/refs/heads/master | 4 - .../00/9114bb4fc3521c478aeb1666f4fc87a4fe2964 | Bin 123 -> 0 bytes .../1f/2a4abc47dabf991e6af6f9770867ce0ac1f360 | 2 - .../2b/8f95ef90b07889acd0607a91a22bee87ac4a46 | Bin 67 -> 0 bytes .../54/7bc0caa26ce3f20bea9ad9bb0f7e3e9dc749ec | 4 - .../5d/bb39e8aa13063310c7cd4787a62d3119674be0 | Bin 87 -> 0 bytes .../81/723dcbff8ae8bbcb2fb3051bfd12c79bd4b8fb | Bin 87 -> 0 bytes .../97/2ea8fcf4f3d9a216644c8eb11df1382b6e02ab | Bin 20 -> 0 bytes .../a4/c9fb737d5552fd96fce5cc7eedb23353ba9ed0 | 2 - .../ca/71fcdeda15f25f0cc661d90e8785c255925c27 | 1 - .../cd/4f2dbbeb8c026390c7e31fd89c624f0552bdc2 | Bin 53 -> 0 bytes .../f6/878b4d8b01947b3bd9bf23de8446cb6cae335e | Bin 77 -> 0 bytes .../fe/2074a5245bc33007255e6f4fe2e6e7464f2b55 | Bin 87 -> 0 bytes .../test_repo_5/dotGit/refs/heads/master | 1 - test_data/test_repos/test_repo_5/notes.md | 1 - test_data/test_repos/test_repo_5/secrets.py | 9 - .../test_repos/test_repo_6/application.yaml | 3 - .../test_repo_6/config/application.properties | 3 - .../test_repo_6/dotGit/COMMIT_EDITMSG | 1 - test_data/test_repos/test_repo_6/dotGit/HEAD | 1 - .../test_repos/test_repo_6/dotGit/config | 7 - .../test_repos/test_repo_6/dotGit/description | 1 - test_data/test_repos/test_repo_6/dotGit/index | Bin 333 -> 0 bytes .../test_repo_6/dotGit/info/exclude | 6 - .../test_repos/test_repo_6/dotGit/logs/HEAD | 4 - .../test_repo_6/dotGit/logs/refs/heads/master | 3 - .../10/fa14c5ab0134436e2ae435138bf921eb477c60 | Bin 784 -> 0 bytes .../3a/76f3781306faf5612017bf18a4b4bdb9f927bf | Bin 138 -> 0 bytes .../41/42082bcb939bbc17985a69ba748491ac6b62a5 | Bin 281 -> 0 bytes .../49/8b267a8c7812490d6479839c5577eaaec79d62 | Bin 77 -> 0 bytes .../5c/b000d0f4965e9b0c080814478dbf4e87c114c7 | Bin 111 -> 0 bytes .../60/c9e47f150a6b713e247e6105b77f1b961f844f | Bin 23 -> 0 bytes .../61/87dbf4390fc6e28445dd3d988aefb9d1111988 | Bin 708 -> 0 bytes .../65/57c92612d3b35979bd426d429255b3bf9fab74 | Bin 133 -> 0 bytes .../69/465772e5c3a14379da6c369cdb46edbaa6d097 | Bin 133 -> 0 bytes .../6a/756416384c210ada2631f17862f5c01fffa478 | Bin 946 -> 0 bytes .../6c/9406b7d9320db083eca69b3f8bee9a6c7b50d4 | Bin 114 -> 0 bytes .../6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 | Bin 2176 -> 0 bytes .../80/8b12c5ca4b142367932e7045d555a639fc148c | Bin 209 -> 0 bytes .../80/ba94135cc378364af9d3cb2450df48e51faf2c | Bin 1247 -> 0 bytes .../98/b6c7cb3fb29a5993c4c95c56a2dc53050b9247 | Bin 176 -> 0 bytes .../9e/523225b31add24e72f2feb0b2645cfb36542dc | 3 - .../a1/ddd32febf3bde66331218f877ff637c85c5f92 | Bin 208 -> 0 bytes .../a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 | 3 - .../a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d | Bin 57 -> 0 bytes .../a5/196d1be8fb59edf8062bef36d3a602e0812139 | 1 - .../a5/d7b84a673458d14d9aab082183a1968c2c7492 | Bin 299 -> 0 bytes .../b5/8d1184a9d43a39c0d95f32453efc78581877d6 | Bin 529 -> 0 bytes .../bc/379e22c22a97ca5ffc871c1449af854f6f26c4 | Bin 195 -> 0 bytes .../c9/8e6c52cbd1f50de572ff12a3441271fccff705 | Bin 158 -> 0 bytes .../cb/089cd89a7d7686d284d8761201649346b5aa1c | Bin 37 -> 0 bytes .../cb/19a50e8cdeb7011eccdb13f3b739f00d775bab | 2 - .../d2/74003914c707212cbe84e3e466a00013ccb639 | Bin 154 -> 0 bytes .../db/4ccd6cc9ef282e9bf2f8c5f7877f0d40520724 | Bin 67 -> 0 bytes .../dd/6e8207f130e113c97f5ed15238e7901290ee42 | Bin 106 -> 0 bytes .../dd/cd9ac6904950dcc48e4c04ba043707e9e0117f | Bin 132 -> 0 bytes .../e6/73bb3980f3c286291809e05f80873852bc3e9c | Bin 1646 -> 0 bytes .../e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 | Bin 59 -> 0 bytes .../ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e | 2 - .../fe/f3190e94723e78847ab9f0daaa15add4ffd4ef | Bin 58 -> 0 bytes .../test_repo_6/dotGit/refs/heads/master | 1 - .../test_repos/test_repo_6/server.test.py | 10 - test_data/test_repos/test_repo_7/dotGit/HEAD | 1 - .../test_repos/test_repo_7/dotGit/config | 7 - .../test_repos/test_repo_7/dotGit/description | 1 - .../test_repo_7/dotGit/info/exclude | 6 - test_data/test_repos/test_repo_7/file | 6 - test_data/test_repos/test_repo_8/README.md | 2 - test_data/test_repos/test_repo_8/dotGit/HEAD | 1 - .../test_repos/test_repo_8/dotGit/description | 1 - test_data/test_repos/test_repo_8/dotGit/index | Bin 297 -> 0 bytes .../test_repo_8/dotGit/info/exclude | 6 - .../test_repos/test_repo_8/dotGit/logs/HEAD | 1 - .../test_repo_8/dotGit/logs/refs/heads/master | 1 - .../dotGit/logs/refs/remotes/origin/HEAD | 1 - .../0b/aadf22eda42ba55c4fec3e14973edc6cec783a | 4 - .../0c/4994567bb2c77bebe47868d3bf1dd287d20452 | Bin 131 -> 0 bytes .../0c/79fa4384c973e9a6fe794491492da04ea289aa | Bin 131 -> 0 bytes .../16/f577ee2b9f9e185ae792092d779dc7e9a5d90f | Bin 514 -> 0 bytes .../17/f5d7f87925bdad6793b0fc7e338378ffb93166 | Bin 131 -> 0 bytes .../23/efedf4961168dc048e896f68eda78bcfb8e51f | Bin 131 -> 0 bytes .../2a/5fecc2737429b02047e5a99d9c0ac6e76a3ac2 | Bin 554 -> 0 bytes .../36/09cadde7b3c8323d95943d6edfcf9c7a58dbdf | Bin 566 -> 0 bytes .../3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce | 4 - .../46/7192699b9e6aaf85401389e1db50ce9685ab56 | Bin 87 -> 0 bytes .../54/759376585b8a4e0318b1ecc0e770f69a6c4230 | Bin 120 -> 0 bytes .../61/4a498fb4c38af5f5909718481e8b371f118901 | Bin 54 -> 0 bytes .../64/b4391ddf2b399fb5218ee44cf90111d3f7ca9a | Bin 565 -> 0 bytes .../64/dbb271509f9b9647106da59914a6f5320de7c4 | Bin 131 -> 0 bytes .../74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f | 5 - .../75/ead74004eb27c7e9e1ddf391f089ea0441f242 | Bin 386 -> 0 bytes .../84/5ebbfaf21dd869057da0e2a3494f2b8dea8cde | Bin 382 -> 0 bytes .../92/67bc86ec1497471cbc6f3308f3527f7ef34b9d | Bin 554 -> 0 bytes .../b0/e4c4f24e7787b8ae08521f56b5dd9a76f90011 | Bin 43 -> 0 bytes .../b2/6121273b1bf2eb385ae14ad0a0f186e3a47f4b | Bin 393 -> 0 bytes .../b3/aeb0f5be4a83bbeaee1d6ae5b755502020819e | Bin 102 -> 0 bytes .../b3/bec734a41357c480b7856e0298de649a5fef14 | Bin 566 -> 0 bytes .../b9/01f643b1eeeaeb7ff12931213bd0d9a47254d1 | Bin 131 -> 0 bytes .../ce/6e0398cd8a40085cad12a8f4c96e580c2200c1 | Bin 611 -> 0 bytes .../ce/7e8177bbf8a172c06b6a1e370a374d5c19f660 | Bin 554 -> 0 bytes .../fc/8b31a54e5975bc41e901965e0c7dee18ed202f | Bin 74 -> 0 bytes .../test_repos/test_repo_8/dotGit/packed-refs | 4 - .../test_repo_8/dotGit/refs/heads/master | 1 - .../dotGit/refs/remotes/origin/HEAD | 1 - test_data/test_repos/test_repo_8/dummy.txt | 8 - .../test_repo_8/ufos_might_be_real.txt | 19 - .../test_repo_9/dotGit/COMMIT_EDITMSG | 1 - test_data/test_repos/test_repo_9/dotGit/HEAD | 1 - .../test_repos/test_repo_9/dotGit/config | 7 - .../test_repos/test_repo_9/dotGit/description | 1 - test_data/test_repos/test_repo_9/dotGit/index | Bin 145 -> 0 bytes .../test_repo_9/dotGit/info/exclude | 6 - .../test_repos/test_repo_9/dotGit/logs/HEAD | 3 - .../test_repo_9/dotGit/logs/refs/heads/master | 3 - .../10/fa14c5ab0134436e2ae435138bf921eb477c60 | Bin 784 -> 0 bytes .../3a/76f3781306faf5612017bf18a4b4bdb9f927bf | Bin 138 -> 0 bytes .../41/42082bcb939bbc17985a69ba748491ac6b62a5 | Bin 281 -> 0 bytes .../49/8b267a8c7812490d6479839c5577eaaec79d62 | Bin 77 -> 0 bytes .../60/c9e47f150a6b713e247e6105b77f1b961f844f | Bin 23 -> 0 bytes .../61/87dbf4390fc6e28445dd3d988aefb9d1111988 | Bin 708 -> 0 bytes .../65/57c92612d3b35979bd426d429255b3bf9fab74 | Bin 133 -> 0 bytes .../6a/756416384c210ada2631f17862f5c01fffa478 | Bin 946 -> 0 bytes .../6c/9406b7d9320db083eca69b3f8bee9a6c7b50d4 | Bin 114 -> 0 bytes .../6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 | Bin 2176 -> 0 bytes .../80/8b12c5ca4b142367932e7045d555a639fc148c | Bin 209 -> 0 bytes .../80/ba94135cc378364af9d3cb2450df48e51faf2c | Bin 1247 -> 0 bytes .../8d/1fb60d2d80f0590f191ed5ace1e45ef780909a | 2 - .../9e/523225b31add24e72f2feb0b2645cfb36542dc | 3 - .../a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 | 3 - .../a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d | Bin 57 -> 0 bytes .../a5/196d1be8fb59edf8062bef36d3a602e0812139 | 1 - .../a5/d7b84a673458d14d9aab082183a1968c2c7492 | Bin 299 -> 0 bytes .../b5/8d1184a9d43a39c0d95f32453efc78581877d6 | Bin 529 -> 0 bytes .../c1/f3c6341548a65be1eded56b4f7cacec7fe9090 | Bin 59 -> 0 bytes .../c9/8e6c52cbd1f50de572ff12a3441271fccff705 | Bin 158 -> 0 bytes .../cb/089cd89a7d7686d284d8761201649346b5aa1c | Bin 37 -> 0 bytes .../cb/19a50e8cdeb7011eccdb13f3b739f00d775bab | 2 - .../d2/74003914c707212cbe84e3e466a00013ccb639 | Bin 154 -> 0 bytes .../e6/73bb3980f3c286291809e05f80873852bc3e9c | Bin 1646 -> 0 bytes .../e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 | Bin 59 -> 0 bytes .../ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e | 2 - .../f9/f2f36962fa38ca4525b99ef702fba03e3a79a7 | Bin 220 -> 0 bytes .../fe/f3190e94723e78847ab9f0daaa15add4ffd4ef | Bin 58 -> 0 bytes .../test_repo_9/dotGit/refs/heads/master | 1 - .../test_repos/test_repo_9/server.test.py | 9 - .../configs}/allowlist_allow_all_repo_1.toml | 0 .../configs}/allowlist_bad_docx_10.toml | 0 .../configs}/allowlist_commit.toml | 0 .../configs}/allowlist_docx.toml | 0 .../configs}/allowlist_files.toml | 0 .../configs}/allowlist_global_files.toml | 0 .../configs}/aws_key.toml | 0 .../configs}/aws_key_allowlist_files.toml | 0 .../aws_key_allowlist_python_files.toml | 0 .../configs}/aws_key_aws_allowlisted.toml | 0 .../configs}/aws_key_file_regex.toml | 0 .../aws_key_global_allowlist_file.toml | 0 .../aws_key_global_allowlist_path.toml | 0 .../aws_key_local_owner_allowlist_repo.toml | 0 .../configs}/aws_key_with_report_groups.toml | 0 .../configs}/bad_aws_key.toml | 0 .../configs}/bad_aws_key_file_regex.toml | 0 .../bad_aws_key_global_allowlist_file.toml | 0 .../configs}/bad_entropy_1.toml | 0 .../configs}/bad_entropy_2.toml | 0 .../configs}/bad_entropy_3.toml | 0 .../configs}/bad_entropy_4.toml | 0 .../configs}/bad_entropy_5.toml | 0 .../configs}/bad_entropy_6.toml | 0 .../configs}/bad_entropy_7.toml | 0 .../configs}/bad_regex_aws_key.toml | 0 .../configs}/bug_453.toml | 0 .../configs}/entropy.toml | 0 .../configs}/generic.toml | 0 .../configs}/large.toml | 0 .../large_with_global_allowlist_regex.toml | 0 .../configs}/nozips.toml | 0 .../configs}/onlyFiles.toml | 0 .../configs}/regex_entropy.toml | 0 .../configs}/regex_filename.toml | 0 .../configs}/regex_filepath.toml | 0 .../configs}/regex_filepath_filename.toml | 0 testdata/expect/basic/results.json | 36 + testdata/expect/basic/results_208ae46.json | 19 + .../basic/results_ae8db4a2_208ae46.json | 19 + testdata/expect/basic/results_depth_1.json | 19 + .../basic/results_files_at_208ae46.json | 36 + .../expect/basic/results_no_git.json | 16 +- .../expect/basic/results_unstaged.json | 8 +- testdata/expect/with_config/results.json | 87 ++ .../with_config/results_ae8db4a_e7c0aff.json | 70 ++ .../expect/with_config/results_e7c0aff3.json | 70 ++ testdata/repos/basic/README.md | 3 + testdata/repos/basic/dotGit/COMMIT_EDITMSG | 1 + .../repos/basic}/dotGit/HEAD | 0 .../repos/basic}/dotGit/config | 2 +- .../repos/basic}/dotGit/description | 0 testdata/repos/basic/dotGit/index | Bin 0 -> 217 bytes testdata/repos/basic/dotGit/logs/HEAD | 3 + .../repos/basic/dotGit/logs/refs/heads/master | 3 + .../dotGit/logs/refs/remotes/origin/master | 1 + .../20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 | 2 + .../99/6c2014f0d17615fea521a2f91106eb5d9da74f | Bin 0 -> 411 bytes .../9d/71e524a96e53e4d34728893e9ac2befcfbc13b | Bin 0 -> 432 bytes .../a1/5bcabc59a3c53cfafc0e5797c768117022a6a7 | Bin 0 -> 54 bytes .../ae/8db4a2306798fcb3a5b9cbe8c486027fc1931f | Bin 0 -> 145 bytes .../b1/db8ec404791b70cccb2124223199e6ec9b1520 | Bin 0 -> 88 bytes .../b4/55f02a800f044630f9c25a51fd7a81536fea08 | Bin 0 -> 88 bytes .../d6/0ecde32fc65bbd7a3847aa09a3f67adb85ae45 | 2 + .../e7/c0aff3e8a60b50a85432fdf933f8beff013743 | 1 + .../fa/7b9d237113616f787330f2d5ed688abe85ea18 | Bin 0 -> 62 bytes testdata/repos/basic/dotGit/refs/heads/master | 1 + .../basic/dotGit/refs/remotes/origin/master | 1 + testdata/repos/basic/secrets.py | 13 + testdata/repos/empty/.gitignore | 4 + testdata/repos/with_config/README.md | 3 + .../repos/with_config/dotGit/COMMIT_EDITMSG | 1 + .../repos/with_config}/dotGit/HEAD | 0 .../repos/with_config}/dotGit/config | 6 +- .../repos/with_config}/dotGit/description | 0 testdata/repos/with_config/dotGit/index | Bin 0 -> 217 bytes testdata/repos/with_config/dotGit/logs/HEAD | 3 + .../with_config/dotGit/logs/refs/heads/master | 3 + .../dotGit/logs/refs/remotes/origin/master | 1 + .../20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 | 2 + .../99/6c2014f0d17615fea521a2f91106eb5d9da74f | Bin 0 -> 411 bytes .../9d/71e524a96e53e4d34728893e9ac2befcfbc13b | Bin 0 -> 432 bytes .../a1/5bcabc59a3c53cfafc0e5797c768117022a6a7 | Bin 0 -> 54 bytes .../ae/8db4a2306798fcb3a5b9cbe8c486027fc1931f | Bin 0 -> 145 bytes .../b1/db8ec404791b70cccb2124223199e6ec9b1520 | Bin 0 -> 88 bytes .../b4/55f02a800f044630f9c25a51fd7a81536fea08 | Bin 0 -> 88 bytes .../d6/0ecde32fc65bbd7a3847aa09a3f67adb85ae45 | 2 + .../e7/c0aff3e8a60b50a85432fdf933f8beff013743 | 1 + .../fa/7b9d237113616f787330f2d5ed688abe85ea18 | Bin 0 -> 62 bytes .../with_config/dotGit/refs/heads/master | 1 + .../dotGit/refs/remotes/origin/master | 1 + testdata/repos/with_config/gitleaks.toml | 8 + testdata/repos/with_config/secrets.py | 13 + 500 files changed, 1062 insertions(+), 3525 deletions(-) create mode 100644 scan/commit_test.go create mode 100644 scan/commits_test.go create mode 100644 scan/filesatcommit_test.go create mode 100644 scan/nogit_test.go create mode 100644 scan/repo_test.go create mode 100644 scan/unstaged_test.go delete mode 100644 test_data/test_additional_config.json delete mode 100644 test_data/test_allow_list_docx_no_git.json delete mode 100644 test_data/test_allow_list_file.json delete mode 100644 test_data/test_allow_list_file_no_git.json delete mode 100644 test_data/test_append_repo.json delete mode 100644 test_data/test_entropy.json delete mode 100644 test_data/test_file1_aws_leak.json delete mode 100644 test_data/test_local_owner_aws_leak.json delete mode 100644 test_data/test_local_owner_aws_leak_allowlist_repo.json delete mode 100644 test_data/test_local_owner_aws_leak_depth_2.json delete mode 100644 test_data/test_local_repo_eight.json delete mode 100644 test_data/test_local_repo_five_at_latest_commit.json delete mode 100644 test_data/test_local_repo_five_commit.json delete mode 100644 test_data/test_local_repo_five_files_at_commit.json delete mode 100644 test_data/test_local_repo_five_files_at_latest_commit.json delete mode 100644 test_data/test_local_repo_four_alt_config_entropy.json delete mode 100644 test_data/test_local_repo_four_leaks_commit_timerange.json delete mode 100644 test_data/test_local_repo_nine_aws_leak.json delete mode 100644 test_data/test_local_repo_one_aws_leak.json delete mode 100644 test_data/test_local_repo_one_aws_leak_and_file_leak.json delete mode 100644 test_data/test_local_repo_one_aws_leak_commit.json delete mode 100644 test_data/test_local_repo_seven_aws_leak_uncommitted.json delete mode 100644 test_data/test_local_repo_six.json delete mode 100644 test_data/test_local_repo_six_filename.json delete mode 100644 test_data/test_local_repo_six_filepath.json delete mode 100644 test_data/test_local_repo_six_filepath_filename.json delete mode 100644 test_data/test_local_repo_six_leaks_since_date.json delete mode 100644 test_data/test_local_repo_six_leaks_until_date.json delete mode 100644 test_data/test_local_repo_six_path_globally_allowlisted.json delete mode 100644 test_data/test_local_repo_three_leaks.json delete mode 100644 test_data/test_local_repo_three_leaks_with_report_groups.json delete mode 100644 test_data/test_local_repo_two_allowlist_commits.json delete mode 100644 test_data/test_local_repo_two_leaks.json delete mode 100644 test_data/test_local_repo_two_leaks_commit_from.json delete mode 100644 test_data/test_local_repo_two_leaks_commit_range.json delete mode 100644 test_data/test_local_repo_two_leaks_commit_to.json delete mode 100644 test_data/test_local_repo_two_leaks_commit_to_from.json delete mode 100644 test_data/test_local_repo_two_leaks_deletion.json delete mode 100644 test_data/test_local_repo_two_leaks_file_commit_range.json delete mode 100644 test_data/test_only_files_no_git.json delete mode 100644 test_data/test_options/test_local_repo_commits.txt delete mode 100644 test_data/test_regex_allowlist.json delete mode 100644 test_data/test_regex_entropy.json delete mode 100644 test_data/test_repos/no_repo/tmp.tmp delete mode 100644 test_data/test_repos/test_dir_1/server.test.py delete mode 100644 test_data/test_repos/test_dir_1/server.test2.py delete mode 100644 test_data/test_repos/test_repo_1/dotGit/COMMIT_EDITMSG delete mode 100644 test_data/test_repos/test_repo_1/dotGit/config delete mode 100644 test_data/test_repos/test_repo_1/dotGit/index delete mode 100644 test_data/test_repos/test_repo_1/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_1/dotGit/logs/HEAD delete mode 100644 test_data/test_repos/test_repo_1/dotGit/logs/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/10/fa14c5ab0134436e2ae435138bf921eb477c60 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/3a/76f3781306faf5612017bf18a4b4bdb9f927bf delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/41/42082bcb939bbc17985a69ba748491ac6b62a5 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/49/8b267a8c7812490d6479839c5577eaaec79d62 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/60/c9e47f150a6b713e247e6105b77f1b961f844f delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/61/87dbf4390fc6e28445dd3d988aefb9d1111988 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/65/57c92612d3b35979bd426d429255b3bf9fab74 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/6a/756416384c210ada2631f17862f5c01fffa478 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/6c/9406b7d9320db083eca69b3f8bee9a6c7b50d4 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/80/8b12c5ca4b142367932e7045d555a639fc148c delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/80/ba94135cc378364af9d3cb2450df48e51faf2c delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/a5/196d1be8fb59edf8062bef36d3a602e0812139 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/a5/d7b84a673458d14d9aab082183a1968c2c7492 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/b5/8d1184a9d43a39c0d95f32453efc78581877d6 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/c9/8e6c52cbd1f50de572ff12a3441271fccff705 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/cb/089cd89a7d7686d284d8761201649346b5aa1c delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/cb/19a50e8cdeb7011eccdb13f3b739f00d775bab delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/d2/74003914c707212cbe84e3e466a00013ccb639 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/e6/73bb3980f3c286291809e05f80873852bc3e9c delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e delete mode 100644 test_data/test_repos/test_repo_1/dotGit/objects/fe/f3190e94723e78847ab9f0daaa15add4ffd4ef delete mode 100644 test_data/test_repos/test_repo_1/dotGit/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_1/server.test.py delete mode 100644 test_data/test_repos/test_repo_10/.gitignore delete mode 100644 test_data/test_repos/test_repo_10/.gitleaks.toml delete mode 100644 test_data/test_repos/test_repo_10/README.md delete mode 100644 test_data/test_repos/test_repo_10/bad.zip delete mode 100644 test_data/test_repos/test_repo_10/creds.git delete mode 100644 test_data/test_repos/test_repo_10/dotGit/HEAD delete mode 100644 test_data/test_repos/test_repo_10/dotGit/bad.zip delete mode 100644 test_data/test_repos/test_repo_10/dotGit/index delete mode 100644 test_data/test_repos/test_repo_10/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_10/dotGit/logs/HEAD delete mode 100644 test_data/test_repos/test_repo_10/dotGit/logs/refs/heads/main delete mode 100644 test_data/test_repos/test_repo_10/dotGit/logs/refs/remotes/origin/HEAD delete mode 100644 test_data/test_repos/test_repo_10/dotGit/objects/pack/pack-bb11838b7e60925aeee8a41a4a2b508b576b4b4c.idx delete mode 100644 test_data/test_repos/test_repo_10/dotGit/objects/pack/pack-bb11838b7e60925aeee8a41a4a2b508b576b4b4c.pack delete mode 100644 test_data/test_repos/test_repo_10/dotGit/packed-refs delete mode 100644 test_data/test_repos/test_repo_10/dotGit/refs/heads/main delete mode 100644 test_data/test_repos/test_repo_10/dotGit/refs/remotes/origin/HEAD delete mode 100644 test_data/test_repos/test_repo_10/gitfile.txt delete mode 100644 test_data/test_repos/test_repo_10/somedir.git/secret.key delete mode 100644 test_data/test_repos/test_repo_10/tmp/bad.docx delete mode 100644 test_data/test_repos/test_repo_2/dotGit/COMMIT_EDITMSG delete mode 100644 test_data/test_repos/test_repo_2/dotGit/config delete mode 100644 test_data/test_repos/test_repo_2/dotGit/description delete mode 100644 test_data/test_repos/test_repo_2/dotGit/index delete mode 100644 test_data/test_repos/test_repo_2/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_2/dotGit/logs/HEAD delete mode 100644 test_data/test_repos/test_repo_2/dotGit/logs/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/0b/c3a0c9536cc7273b74f48edcc6adead16333f7 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/0e/cd6aeaa0b76f5cad8077ae5be8420457403bfc delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/15/40f193bc25b494cde092597a79af04013807ec delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/17/471a5fda722a9e423f1a0d3f0d267ea009d41c delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/20/ef26716304570775cb395f37cb2d626bbd0a82 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/24/3d535d84ed97fbc20d09c9d2c2f417507fe461 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/3d/dab16668fe919638b76dd48c96bedf0e2276ca delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/51/f6dcf6b89b93f4075ba92c400b075631a6cc93 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/5d/5c8724e8787e69cebcc9ea4bceb47d9941656e delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/5d/630e1163864c8b5616199962390a36a8a53b69 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/5e/a982157d053ce35a9b79394973c7c8901f317c delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/69/b7669aa8e125ef0e14abce31911e84dd09e25e delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/85/699e429f33e75541530998a5b5d457a12e6285 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/8c/b18882408aad0b2abf556bf1f2c5478ef328f5 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/96/c1c0a3632af796efd3942cc1d81d7af48ead3e delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/a6/214eec6a6290fec81fe250e5b73b86d634a981 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/b1/0b3e2cb320a8c211fda94c4567299d37de7776 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/b2/eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/c0/23aab082c73abd327675ad485fe78bb427ae21 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/c1/bfab622827026dbd2eba4e2d75a8c523e55dc2 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/objects/f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 delete mode 100644 test_data/test_repos/test_repo_2/dotGit/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_2/no_secrets.md delete mode 100644 test_data/test_repos/test_repo_2/secrets.md delete mode 100644 test_data/test_repos/test_repo_3/dotGit/COMMIT_EDITMSG delete mode 100644 test_data/test_repos/test_repo_3/dotGit/HEAD delete mode 100644 test_data/test_repos/test_repo_3/dotGit/config delete mode 100644 test_data/test_repos/test_repo_3/dotGit/description delete mode 100644 test_data/test_repos/test_repo_3/dotGit/index delete mode 100644 test_data/test_repos/test_repo_3/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_3/dotGit/logs/HEAD delete mode 100644 test_data/test_repos/test_repo_3/dotGit/logs/refs/heads/dev delete mode 100644 test_data/test_repos/test_repo_3/dotGit/logs/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/0b/c3a0c9536cc7273b74f48edcc6adead16333f7 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/0e/cd6aeaa0b76f5cad8077ae5be8420457403bfc delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/15/40f193bc25b494cde092597a79af04013807ec delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/17/471a5fda722a9e423f1a0d3f0d267ea009d41c delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/18/5715c36f82be353f34845811270a4d0ae4b24e delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/20/ef26716304570775cb395f37cb2d626bbd0a82 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/24/3d535d84ed97fbc20d09c9d2c2f417507fe461 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/3d/dab16668fe919638b76dd48c96bedf0e2276ca delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/4a/3ffb6df0f421fdf325afae19dc749f8f6b1bfb delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/4b/a23978297d33c8d7744f059cc5bca2385e262d delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/51/f6dcf6b89b93f4075ba92c400b075631a6cc93 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/5d/5c8724e8787e69cebcc9ea4bceb47d9941656e delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/5d/630e1163864c8b5616199962390a36a8a53b69 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/5e/a982157d053ce35a9b79394973c7c8901f317c delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/64/cfcee9aad1c84581631636bfc54f2050718d1a delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/68/b020592645020c9afb7462e17842a1cc723071 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/69/b7669aa8e125ef0e14abce31911e84dd09e25e delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/82/4b8a2b468fcfa244e096bd54b83508b85ef488 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/83/c50b16ff4b3149142517a2adc8662f04b5b323 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/84/ac4e80d4dbf2c968b64e9d4005f5079795bb81 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/85/699e429f33e75541530998a5b5d457a12e6285 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/8c/b18882408aad0b2abf556bf1f2c5478ef328f5 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/96/c1c0a3632af796efd3942cc1d81d7af48ead3e delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/a6/214eec6a6290fec81fe250e5b73b86d634a981 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/b1/07a0d7a337f04413efa73d337461f548aef336 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/b1/0b3e2cb320a8c211fda94c4567299d37de7776 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/b2/eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/b8/a52870f2b093699e0d98cb896387c87e0c98a6 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/c0/23aab082c73abd327675ad485fe78bb427ae21 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/c1/bfab622827026dbd2eba4e2d75a8c523e55dc2 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/de/ea550dd6c7acaf0e59432600593533984a2125 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/objects/f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 delete mode 100644 test_data/test_repos/test_repo_3/dotGit/refs/heads/dev delete mode 100644 test_data/test_repos/test_repo_3/dotGit/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_3/no_secrets.md delete mode 100644 test_data/test_repos/test_repo_3/secrets.md delete mode 100644 test_data/test_repos/test_repo_4/dotGit/COMMIT_EDITMSG delete mode 100644 test_data/test_repos/test_repo_4/dotGit/HEAD delete mode 100644 test_data/test_repos/test_repo_4/dotGit/config delete mode 100644 test_data/test_repos/test_repo_4/dotGit/description delete mode 100644 test_data/test_repos/test_repo_4/dotGit/index delete mode 100644 test_data/test_repos/test_repo_4/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_4/dotGit/logs/HEAD delete mode 100644 test_data/test_repos/test_repo_4/dotGit/logs/refs/heads/dev delete mode 100644 test_data/test_repos/test_repo_4/dotGit/logs/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/0b/c3a0c9536cc7273b74f48edcc6adead16333f7 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/0e/cd6aeaa0b76f5cad8077ae5be8420457403bfc delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/15/40f193bc25b494cde092597a79af04013807ec delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/17/471a5fda722a9e423f1a0d3f0d267ea009d41c delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/18/51114bbb7484cccd61f18c71649699d73ede6c delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/18/5715c36f82be353f34845811270a4d0ae4b24e delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/20/ef26716304570775cb395f37cb2d626bbd0a82 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/24/3d535d84ed97fbc20d09c9d2c2f417507fe461 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/29/b514fe50d6a7b2aa18cd581b46a85b84c2d4b3 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/3d/dab16668fe919638b76dd48c96bedf0e2276ca delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/4a/3ffb6df0f421fdf325afae19dc749f8f6b1bfb delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/4b/a23978297d33c8d7744f059cc5bca2385e262d delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/4b/c47c2d3aaa25385e3354ea34136456c2260a12 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/51/f6dcf6b89b93f4075ba92c400b075631a6cc93 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/5a/ccbc40c35906d99f073881fb8746c314f9d59f delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/5d/5c8724e8787e69cebcc9ea4bceb47d9941656e delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/5d/630e1163864c8b5616199962390a36a8a53b69 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/5e/a982157d053ce35a9b79394973c7c8901f317c delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/64/99d414147df9f56cbecd26ca710c39e4834024 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/64/cfcee9aad1c84581631636bfc54f2050718d1a delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/67/c45b6048e42a2bd5512662ca6cd2bfc74c7842 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/68/b020592645020c9afb7462e17842a1cc723071 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/69/b7669aa8e125ef0e14abce31911e84dd09e25e delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/7b/2eba252004b7c867413def2a0984d545daab8b delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/82/4b8a2b468fcfa244e096bd54b83508b85ef488 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/82/8595723b76e4a35b5253d9f2ccb4f897f1845a delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/83/c50b16ff4b3149142517a2adc8662f04b5b323 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/84/ac4e80d4dbf2c968b64e9d4005f5079795bb81 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/85/699e429f33e75541530998a5b5d457a12e6285 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/8c/b18882408aad0b2abf556bf1f2c5478ef328f5 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/96/c1c0a3632af796efd3942cc1d81d7af48ead3e delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/a6/214eec6a6290fec81fe250e5b73b86d634a981 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/b1/07a0d7a337f04413efa73d337461f548aef336 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/b1/0b3e2cb320a8c211fda94c4567299d37de7776 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/b2/eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/b4/70f07d2aaf2b537808b285cab667259b4e0ca7 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/b8/a52870f2b093699e0d98cb896387c87e0c98a6 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/c0/23aab082c73abd327675ad485fe78bb427ae21 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/c1/bfab622827026dbd2eba4e2d75a8c523e55dc2 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/ce/835da266b3f8c34e4b7f398693ed068f67cb30 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/de/ea550dd6c7acaf0e59432600593533984a2125 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/e0/894b9037d76464dbb8d25768c9a036987d6ace delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/ef/8fd94f0a1a6f503949ac4b56f3604ec4e942e3 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/objects/f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 delete mode 100644 test_data/test_repos/test_repo_4/dotGit/refs/heads/dev delete mode 100644 test_data/test_repos/test_repo_4/dotGit/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_4/gitleaks.toml delete mode 100644 test_data/test_repos/test_repo_4/no_secrets.md delete mode 100644 test_data/test_repos/test_repo_4/secrets.md delete mode 100644 test_data/test_repos/test_repo_5/dotGit/COMMIT_EDITMSG delete mode 100644 test_data/test_repos/test_repo_5/dotGit/HEAD delete mode 100644 test_data/test_repos/test_repo_5/dotGit/config delete mode 100644 test_data/test_repos/test_repo_5/dotGit/description delete mode 100644 test_data/test_repos/test_repo_5/dotGit/index delete mode 100644 test_data/test_repos/test_repo_5/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_5/dotGit/logs/HEAD delete mode 100644 test_data/test_repos/test_repo_5/dotGit/logs/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/00/9114bb4fc3521c478aeb1666f4fc87a4fe2964 delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/1f/2a4abc47dabf991e6af6f9770867ce0ac1f360 delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/2b/8f95ef90b07889acd0607a91a22bee87ac4a46 delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/54/7bc0caa26ce3f20bea9ad9bb0f7e3e9dc749ec delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/5d/bb39e8aa13063310c7cd4787a62d3119674be0 delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/81/723dcbff8ae8bbcb2fb3051bfd12c79bd4b8fb delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/97/2ea8fcf4f3d9a216644c8eb11df1382b6e02ab delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/a4/c9fb737d5552fd96fce5cc7eedb23353ba9ed0 delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/ca/71fcdeda15f25f0cc661d90e8785c255925c27 delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/cd/4f2dbbeb8c026390c7e31fd89c624f0552bdc2 delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/f6/878b4d8b01947b3bd9bf23de8446cb6cae335e delete mode 100644 test_data/test_repos/test_repo_5/dotGit/objects/fe/2074a5245bc33007255e6f4fe2e6e7464f2b55 delete mode 100644 test_data/test_repos/test_repo_5/dotGit/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_5/notes.md delete mode 100644 test_data/test_repos/test_repo_5/secrets.py delete mode 100644 test_data/test_repos/test_repo_6/application.yaml delete mode 100644 test_data/test_repos/test_repo_6/config/application.properties delete mode 100644 test_data/test_repos/test_repo_6/dotGit/COMMIT_EDITMSG delete mode 100644 test_data/test_repos/test_repo_6/dotGit/HEAD delete mode 100644 test_data/test_repos/test_repo_6/dotGit/config delete mode 100644 test_data/test_repos/test_repo_6/dotGit/description delete mode 100644 test_data/test_repos/test_repo_6/dotGit/index delete mode 100644 test_data/test_repos/test_repo_6/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_6/dotGit/logs/HEAD delete mode 100644 test_data/test_repos/test_repo_6/dotGit/logs/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/10/fa14c5ab0134436e2ae435138bf921eb477c60 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/3a/76f3781306faf5612017bf18a4b4bdb9f927bf delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/41/42082bcb939bbc17985a69ba748491ac6b62a5 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/49/8b267a8c7812490d6479839c5577eaaec79d62 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/5c/b000d0f4965e9b0c080814478dbf4e87c114c7 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/60/c9e47f150a6b713e247e6105b77f1b961f844f delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/61/87dbf4390fc6e28445dd3d988aefb9d1111988 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/65/57c92612d3b35979bd426d429255b3bf9fab74 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/69/465772e5c3a14379da6c369cdb46edbaa6d097 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/6a/756416384c210ada2631f17862f5c01fffa478 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/6c/9406b7d9320db083eca69b3f8bee9a6c7b50d4 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/80/8b12c5ca4b142367932e7045d555a639fc148c delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/80/ba94135cc378364af9d3cb2450df48e51faf2c delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/98/b6c7cb3fb29a5993c4c95c56a2dc53050b9247 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/a1/ddd32febf3bde66331218f877ff637c85c5f92 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/a5/196d1be8fb59edf8062bef36d3a602e0812139 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/a5/d7b84a673458d14d9aab082183a1968c2c7492 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/b5/8d1184a9d43a39c0d95f32453efc78581877d6 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/bc/379e22c22a97ca5ffc871c1449af854f6f26c4 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/c9/8e6c52cbd1f50de572ff12a3441271fccff705 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/cb/089cd89a7d7686d284d8761201649346b5aa1c delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/cb/19a50e8cdeb7011eccdb13f3b739f00d775bab delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/d2/74003914c707212cbe84e3e466a00013ccb639 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/db/4ccd6cc9ef282e9bf2f8c5f7877f0d40520724 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/dd/6e8207f130e113c97f5ed15238e7901290ee42 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/dd/cd9ac6904950dcc48e4c04ba043707e9e0117f delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/e6/73bb3980f3c286291809e05f80873852bc3e9c delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e delete mode 100644 test_data/test_repos/test_repo_6/dotGit/objects/fe/f3190e94723e78847ab9f0daaa15add4ffd4ef delete mode 100644 test_data/test_repos/test_repo_6/dotGit/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_6/server.test.py delete mode 100644 test_data/test_repos/test_repo_7/dotGit/HEAD delete mode 100644 test_data/test_repos/test_repo_7/dotGit/config delete mode 100644 test_data/test_repos/test_repo_7/dotGit/description delete mode 100644 test_data/test_repos/test_repo_7/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_7/file delete mode 100644 test_data/test_repos/test_repo_8/README.md delete mode 100644 test_data/test_repos/test_repo_8/dotGit/HEAD delete mode 100644 test_data/test_repos/test_repo_8/dotGit/description delete mode 100644 test_data/test_repos/test_repo_8/dotGit/index delete mode 100644 test_data/test_repos/test_repo_8/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_8/dotGit/logs/HEAD delete mode 100644 test_data/test_repos/test_repo_8/dotGit/logs/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_8/dotGit/logs/refs/remotes/origin/HEAD delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/0b/aadf22eda42ba55c4fec3e14973edc6cec783a delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/0c/4994567bb2c77bebe47868d3bf1dd287d20452 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/0c/79fa4384c973e9a6fe794491492da04ea289aa delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/16/f577ee2b9f9e185ae792092d779dc7e9a5d90f delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/17/f5d7f87925bdad6793b0fc7e338378ffb93166 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/23/efedf4961168dc048e896f68eda78bcfb8e51f delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/2a/5fecc2737429b02047e5a99d9c0ac6e76a3ac2 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/36/09cadde7b3c8323d95943d6edfcf9c7a58dbdf delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/46/7192699b9e6aaf85401389e1db50ce9685ab56 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/54/759376585b8a4e0318b1ecc0e770f69a6c4230 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/61/4a498fb4c38af5f5909718481e8b371f118901 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/64/b4391ddf2b399fb5218ee44cf90111d3f7ca9a delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/64/dbb271509f9b9647106da59914a6f5320de7c4 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/75/ead74004eb27c7e9e1ddf391f089ea0441f242 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/84/5ebbfaf21dd869057da0e2a3494f2b8dea8cde delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/92/67bc86ec1497471cbc6f3308f3527f7ef34b9d delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b0/e4c4f24e7787b8ae08521f56b5dd9a76f90011 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b2/6121273b1bf2eb385ae14ad0a0f186e3a47f4b delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b3/aeb0f5be4a83bbeaee1d6ae5b755502020819e delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b3/bec734a41357c480b7856e0298de649a5fef14 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/b9/01f643b1eeeaeb7ff12931213bd0d9a47254d1 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/ce/6e0398cd8a40085cad12a8f4c96e580c2200c1 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/ce/7e8177bbf8a172c06b6a1e370a374d5c19f660 delete mode 100644 test_data/test_repos/test_repo_8/dotGit/objects/fc/8b31a54e5975bc41e901965e0c7dee18ed202f delete mode 100644 test_data/test_repos/test_repo_8/dotGit/packed-refs delete mode 100644 test_data/test_repos/test_repo_8/dotGit/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_8/dotGit/refs/remotes/origin/HEAD delete mode 100644 test_data/test_repos/test_repo_8/dummy.txt delete mode 100644 test_data/test_repos/test_repo_8/ufos_might_be_real.txt delete mode 100644 test_data/test_repos/test_repo_9/dotGit/COMMIT_EDITMSG delete mode 100644 test_data/test_repos/test_repo_9/dotGit/HEAD delete mode 100644 test_data/test_repos/test_repo_9/dotGit/config delete mode 100644 test_data/test_repos/test_repo_9/dotGit/description delete mode 100644 test_data/test_repos/test_repo_9/dotGit/index delete mode 100644 test_data/test_repos/test_repo_9/dotGit/info/exclude delete mode 100644 test_data/test_repos/test_repo_9/dotGit/logs/HEAD delete mode 100644 test_data/test_repos/test_repo_9/dotGit/logs/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/10/fa14c5ab0134436e2ae435138bf921eb477c60 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/3a/76f3781306faf5612017bf18a4b4bdb9f927bf delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/41/42082bcb939bbc17985a69ba748491ac6b62a5 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/49/8b267a8c7812490d6479839c5577eaaec79d62 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/60/c9e47f150a6b713e247e6105b77f1b961f844f delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/61/87dbf4390fc6e28445dd3d988aefb9d1111988 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/65/57c92612d3b35979bd426d429255b3bf9fab74 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/6a/756416384c210ada2631f17862f5c01fffa478 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/6c/9406b7d9320db083eca69b3f8bee9a6c7b50d4 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/80/8b12c5ca4b142367932e7045d555a639fc148c delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/80/ba94135cc378364af9d3cb2450df48e51faf2c delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/8d/1fb60d2d80f0590f191ed5ace1e45ef780909a delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/a5/196d1be8fb59edf8062bef36d3a602e0812139 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/a5/d7b84a673458d14d9aab082183a1968c2c7492 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/b5/8d1184a9d43a39c0d95f32453efc78581877d6 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/c1/f3c6341548a65be1eded56b4f7cacec7fe9090 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/c9/8e6c52cbd1f50de572ff12a3441271fccff705 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/cb/089cd89a7d7686d284d8761201649346b5aa1c delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/cb/19a50e8cdeb7011eccdb13f3b739f00d775bab delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/d2/74003914c707212cbe84e3e466a00013ccb639 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/e6/73bb3980f3c286291809e05f80873852bc3e9c delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/f9/f2f36962fa38ca4525b99ef702fba03e3a79a7 delete mode 100644 test_data/test_repos/test_repo_9/dotGit/objects/fe/f3190e94723e78847ab9f0daaa15add4ffd4ef delete mode 100644 test_data/test_repos/test_repo_9/dotGit/refs/heads/master delete mode 100644 test_data/test_repos/test_repo_9/server.test.py rename {test_data/test_configs => testdata/configs}/allowlist_allow_all_repo_1.toml (100%) rename {test_data/test_configs => testdata/configs}/allowlist_bad_docx_10.toml (100%) rename {test_data/test_configs => testdata/configs}/allowlist_commit.toml (100%) rename {test_data/test_configs => testdata/configs}/allowlist_docx.toml (100%) rename {test_data/test_configs => testdata/configs}/allowlist_files.toml (100%) rename {test_data/test_configs => testdata/configs}/allowlist_global_files.toml (100%) rename {test_data/test_configs => testdata/configs}/aws_key.toml (100%) rename {test_data/test_configs => testdata/configs}/aws_key_allowlist_files.toml (100%) rename {test_data/test_configs => testdata/configs}/aws_key_allowlist_python_files.toml (100%) rename {test_data/test_configs => testdata/configs}/aws_key_aws_allowlisted.toml (100%) rename {test_data/test_configs => testdata/configs}/aws_key_file_regex.toml (100%) rename {test_data/test_configs => testdata/configs}/aws_key_global_allowlist_file.toml (100%) rename {test_data/test_configs => testdata/configs}/aws_key_global_allowlist_path.toml (100%) rename {test_data/test_configs => testdata/configs}/aws_key_local_owner_allowlist_repo.toml (100%) rename {test_data/test_configs => testdata/configs}/aws_key_with_report_groups.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_aws_key.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_aws_key_file_regex.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_aws_key_global_allowlist_file.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_entropy_1.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_entropy_2.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_entropy_3.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_entropy_4.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_entropy_5.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_entropy_6.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_entropy_7.toml (100%) rename {test_data/test_configs => testdata/configs}/bad_regex_aws_key.toml (100%) rename {test_data/test_configs => testdata/configs}/bug_453.toml (100%) rename {test_data/test_configs => testdata/configs}/entropy.toml (100%) rename {test_data/test_configs => testdata/configs}/generic.toml (100%) rename {test_data/test_configs => testdata/configs}/large.toml (100%) rename {test_data/test_configs => testdata/configs}/large_with_global_allowlist_regex.toml (100%) rename {test_data/test_configs => testdata/configs}/nozips.toml (100%) rename {test_data/test_configs => testdata/configs}/onlyFiles.toml (100%) rename {test_data/test_configs => testdata/configs}/regex_entropy.toml (100%) rename {test_data/test_configs => testdata/configs}/regex_filename.toml (100%) rename {test_data/test_configs => testdata/configs}/regex_filepath.toml (100%) rename {test_data/test_configs => testdata/configs}/regex_filepath_filename.toml (100%) create mode 100644 testdata/expect/basic/results.json create mode 100644 testdata/expect/basic/results_208ae46.json create mode 100644 testdata/expect/basic/results_ae8db4a2_208ae46.json create mode 100644 testdata/expect/basic/results_depth_1.json create mode 100644 testdata/expect/basic/results_files_at_208ae46.json rename test_data/test_dir1_aws_leak.json => testdata/expect/basic/results_no_git.json (56%) rename test_data/test_local_repo_one_aws_leak_uncommitted.json => testdata/expect/basic/results_unstaged.json (70%) create mode 100644 testdata/expect/with_config/results.json create mode 100644 testdata/expect/with_config/results_ae8db4a_e7c0aff.json create mode 100644 testdata/expect/with_config/results_e7c0aff3.json create mode 100644 testdata/repos/basic/README.md create mode 100644 testdata/repos/basic/dotGit/COMMIT_EDITMSG rename {test_data/test_repos/test_repo_1 => testdata/repos/basic}/dotGit/HEAD (100%) rename {test_data/test_repos/test_repo_8 => testdata/repos/basic}/dotGit/config (82%) rename {test_data/test_repos/test_repo_1 => testdata/repos/basic}/dotGit/description (100%) create mode 100644 testdata/repos/basic/dotGit/index create mode 100644 testdata/repos/basic/dotGit/logs/HEAD create mode 100644 testdata/repos/basic/dotGit/logs/refs/heads/master create mode 100644 testdata/repos/basic/dotGit/logs/refs/remotes/origin/master create mode 100644 testdata/repos/basic/dotGit/objects/20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 create mode 100644 testdata/repos/basic/dotGit/objects/99/6c2014f0d17615fea521a2f91106eb5d9da74f create mode 100644 testdata/repos/basic/dotGit/objects/9d/71e524a96e53e4d34728893e9ac2befcfbc13b create mode 100644 testdata/repos/basic/dotGit/objects/a1/5bcabc59a3c53cfafc0e5797c768117022a6a7 create mode 100644 testdata/repos/basic/dotGit/objects/ae/8db4a2306798fcb3a5b9cbe8c486027fc1931f create mode 100644 testdata/repos/basic/dotGit/objects/b1/db8ec404791b70cccb2124223199e6ec9b1520 create mode 100644 testdata/repos/basic/dotGit/objects/b4/55f02a800f044630f9c25a51fd7a81536fea08 create mode 100644 testdata/repos/basic/dotGit/objects/d6/0ecde32fc65bbd7a3847aa09a3f67adb85ae45 create mode 100644 testdata/repos/basic/dotGit/objects/e7/c0aff3e8a60b50a85432fdf933f8beff013743 create mode 100644 testdata/repos/basic/dotGit/objects/fa/7b9d237113616f787330f2d5ed688abe85ea18 create mode 100644 testdata/repos/basic/dotGit/refs/heads/master create mode 100644 testdata/repos/basic/dotGit/refs/remotes/origin/master create mode 100644 testdata/repos/basic/secrets.py create mode 100644 testdata/repos/empty/.gitignore create mode 100644 testdata/repos/with_config/README.md create mode 100644 testdata/repos/with_config/dotGit/COMMIT_EDITMSG rename {test_data/test_repos/test_repo_2 => testdata/repos/with_config}/dotGit/HEAD (100%) rename {test_data/test_repos/test_repo_10 => testdata/repos/with_config}/dotGit/config (69%) rename {test_data/test_repos/test_repo_10 => testdata/repos/with_config}/dotGit/description (100%) create mode 100644 testdata/repos/with_config/dotGit/index create mode 100644 testdata/repos/with_config/dotGit/logs/HEAD create mode 100644 testdata/repos/with_config/dotGit/logs/refs/heads/master create mode 100644 testdata/repos/with_config/dotGit/logs/refs/remotes/origin/master create mode 100644 testdata/repos/with_config/dotGit/objects/20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 create mode 100644 testdata/repos/with_config/dotGit/objects/99/6c2014f0d17615fea521a2f91106eb5d9da74f create mode 100644 testdata/repos/with_config/dotGit/objects/9d/71e524a96e53e4d34728893e9ac2befcfbc13b create mode 100644 testdata/repos/with_config/dotGit/objects/a1/5bcabc59a3c53cfafc0e5797c768117022a6a7 create mode 100644 testdata/repos/with_config/dotGit/objects/ae/8db4a2306798fcb3a5b9cbe8c486027fc1931f create mode 100644 testdata/repos/with_config/dotGit/objects/b1/db8ec404791b70cccb2124223199e6ec9b1520 create mode 100644 testdata/repos/with_config/dotGit/objects/b4/55f02a800f044630f9c25a51fd7a81536fea08 create mode 100644 testdata/repos/with_config/dotGit/objects/d6/0ecde32fc65bbd7a3847aa09a3f67adb85ae45 create mode 100644 testdata/repos/with_config/dotGit/objects/e7/c0aff3e8a60b50a85432fdf933f8beff013743 create mode 100644 testdata/repos/with_config/dotGit/objects/fa/7b9d237113616f787330f2d5ed688abe85ea18 create mode 100644 testdata/repos/with_config/dotGit/refs/heads/master create mode 100644 testdata/repos/with_config/dotGit/refs/remotes/origin/master create mode 100644 testdata/repos/with_config/gitleaks.toml create mode 100644 testdata/repos/with_config/secrets.py diff --git a/config/config_test.go b/config/config_test.go index 491d5de0..d1eea0b8 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -1,15 +1,19 @@ -package config +package config_test import ( "fmt" "io/ioutil" "os" + "path/filepath" "regexp" "testing" + "github.com/zricethezav/gitleaks/v7/config" "github.com/zricethezav/gitleaks/v7/options" ) +const configPath = "../testdata/configs/" + func TestParse(t *testing.T) { tests := []struct { description string @@ -17,7 +21,7 @@ func TestParse(t *testing.T) { wantErr error wantFileRegex *regexp.Regexp wantMessages *regexp.Regexp - wantAllowlist AllowList + wantAllowlist config.AllowList }{ { description: "default config", @@ -26,102 +30,102 @@ func TestParse(t *testing.T) { { description: "test successful load", opts: options.Options{ - ConfigPath: "../test_data/test_configs/aws_key.toml", + ConfigPath: filepath.Join(configPath, "aws_key.toml"), }, }, { description: "test bad toml", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_aws_key.toml", + ConfigPath: filepath.Join(configPath, "bad_aws_key.toml"), }, wantErr: fmt.Errorf("Near line 7 (last key parsed 'rules.description'): expected value but found \"AWS\" instead"), }, { description: "test bad regex", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_regex_aws_key.toml", + ConfigPath: filepath.Join(configPath, "bad_regex_aws_key.toml"), }, wantErr: fmt.Errorf("problem loading config: error parsing regexp: invalid nested repetition operator: `???`"), }, { description: "test bad global allowlist file regex", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_aws_key_global_allowlist_file.toml", + ConfigPath: filepath.Join(configPath, "bad_aws_key_global_allowlist_file.toml"), }, wantErr: fmt.Errorf("problem loading config: error parsing regexp: missing argument to repetition operator: `??`"), }, { description: "test bad global file regex", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_aws_key_file_regex.toml", + ConfigPath: filepath.Join(configPath, "bad_aws_key_file_regex.toml"), }, wantErr: fmt.Errorf("problem loading config: error parsing regexp: missing argument to repetition operator: `??`"), }, { description: "test successful load big ol thing", opts: options.Options{ - ConfigPath: "../test_data/test_configs/large.toml", + ConfigPath: filepath.Join(configPath, "large.toml"), }, }, { description: "test load entropy", opts: options.Options{ - ConfigPath: "../test_data/test_configs/entropy.toml", + ConfigPath: filepath.Join(configPath, "entropy.toml"), }, }, { description: "test entropy bad range", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_entropy_1.toml", + ConfigPath: filepath.Join(configPath, "bad_entropy_1.toml"), }, wantErr: fmt.Errorf("problem loading config: entropy Min value cannot be higher than Max value"), }, { description: "test entropy value max", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_entropy_2.toml", + ConfigPath: filepath.Join(configPath, "bad_entropy_2.toml"), }, wantErr: fmt.Errorf("strconv.ParseFloat: parsing \"x\": invalid syntax"), }, { description: "test entropy value min", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_entropy_3.toml", + ConfigPath: filepath.Join(configPath, "bad_entropy_3.toml"), }, wantErr: fmt.Errorf("strconv.ParseFloat: parsing \"x\": invalid syntax"), }, { description: "test entropy value group", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_entropy_4.toml", + ConfigPath: filepath.Join(configPath, "bad_entropy_4.toml"), }, wantErr: fmt.Errorf("strconv.ParseInt: parsing \"x\": invalid syntax"), }, { description: "test entropy value group", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_entropy_5.toml", + ConfigPath: filepath.Join(configPath, "bad_entropy_5.toml"), }, wantErr: fmt.Errorf("problem loading config: group cannot be lower than 0"), }, { description: "test entropy value group", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_entropy_6.toml", + ConfigPath: filepath.Join(configPath, "bad_entropy_6.toml"), }, wantErr: fmt.Errorf("problem loading config: group cannot be higher than number of groups in regexp"), }, { description: "test entropy range limits", opts: options.Options{ - ConfigPath: "../test_data/test_configs/bad_entropy_7.toml", + ConfigPath: filepath.Join(configPath, "bad_entropy_7.toml"), }, wantErr: fmt.Errorf("problem loading config: invalid entropy ranges, must be within 0.0-8.0"), }, } for _, test := range tests { - _, err := NewConfig(test.opts) + _, err := config.NewConfig(test.opts) if err != nil { if test.wantErr == nil { t.Error(test.description, err) @@ -151,7 +155,7 @@ func TestParseFields(t *testing.T) { t.Fatal(err) } - config, err := NewConfig(options.Options{ConfigPath: configPath}) + config, err := config.NewConfig(options.Options{ConfigPath: configPath}) if err != nil { t.Fatalf("Couldn't parse config: %v", err) } @@ -185,7 +189,7 @@ func TestParseFields(t *testing.T) { } } -func findRuleByDescription(rules []Rule, description string) (*Rule, error) { +func findRuleByDescription(rules []config.Rule, description string) (*config.Rule, error) { for _, rule := range rules { if rule.Description == description { return &rule, nil @@ -216,7 +220,7 @@ func TestAppendingConfiguration(t *testing.T) { testRegexA, _ := regexp.Compile("a") testRegexB, _ := regexp.Compile("b") - allowListA := AllowList{ + allowListA := config.AllowList{ Description: "Test Description", Commits: []string{"a"}, Files: []*regexp.Regexp{testRegexA}, @@ -225,7 +229,7 @@ func TestAppendingConfiguration(t *testing.T) { Repos: []*regexp.Regexp{testRegexA}, } - allowListB := AllowList{ + allowListB := config.AllowList{ Description: "Test Description", Commits: []string{"b"}, Files: []*regexp.Regexp{testRegexB}, @@ -234,18 +238,18 @@ func TestAppendingConfiguration(t *testing.T) { Repos: []*regexp.Regexp{testRegexB}, } - ruleA := Rule{Description: "a"} - ruleB := Rule{Description: "b"} + ruleA := config.Rule{Description: "a"} + ruleB := config.Rule{Description: "b"} - rulesA := []Rule{ruleA} - rulesB := []Rule{ruleB} + rulesA := []config.Rule{ruleA} + rulesB := []config.Rule{ruleB} - cfgA := Config{ + cfgA := config.Config{ Rules: rulesA, Allowlist: allowListA, } - cfgB := Config{ + cfgB := config.Config{ Rules: rulesB, Allowlist: allowListB, } diff --git a/scan/commit_test.go b/scan/commit_test.go new file mode 100644 index 00000000..65fddb62 --- /dev/null +++ b/scan/commit_test.go @@ -0,0 +1,90 @@ +package scan_test + +import ( + "path/filepath" + "testing" + + "github.com/zricethezav/gitleaks/v7/config" + "github.com/zricethezav/gitleaks/v7/options" + "github.com/zricethezav/gitleaks/v7/scan" +) + +func TestCommitScan(t *testing.T) { + err := moveDotGit("dotGit", ".git") + if err != nil { + t.Fatal(err) + } + defer moveDotGit(".git", "dotGit") + tests := []struct { + description string + opts options.Options + wantPath string + empty bool + }{ + { + description: "empty repo", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "empty"), + Report: filepath.Join(expectPath, "empty", "empty_report.json.got"), + }, + empty: true, + }, + { + description: "basic repo with default config at specific commit", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results_208ae46.json.got"), + ReportFormat: "json", + Commit: "208ae4669ade2563fcaf9f12922fa2c0a5b37c63", + }, + wantPath: filepath.Join(expectPath, "basic", "results_208ae46.json"), + }, + { + description: "basic repo with custom config at specific commit", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "with_config"), + Report: filepath.Join(expectPath, "with_config", "results_e7c0aff3.json.got"), + ReportFormat: "json", + RepoConfigPath: "gitleaks.toml", + Commit: "e7c0aff3e8a60b50a85432fdf933f8beff013743", + }, + wantPath: filepath.Join(expectPath, "with_config", "results_e7c0aff3.json"), + }, + } + + for _, test := range tests { + cfg, err := config.NewConfig(test.opts) + if err != nil { + t.Error(err) + } + + scanner, err := scan.NewScanner(test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + scannerReport, err := scanner.Scan() + if err != nil { + t.Fatal(test.description, err) + } + + err = scan.WriteReport(scannerReport, test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + if test.empty { + if len(scannerReport.Leaks) != 0 { + t.Errorf("%s wanted no leaks but got some instead: %+v", test.description, scannerReport.Leaks) + } + continue + } + + if test.wantPath != "" { + err := fileCheck(test.wantPath, test.opts.Report) + if err != nil { + t.Error(test.description, err) + } + } + } +} diff --git a/scan/commits.go b/scan/commits.go index c2dd2f29..26c8f696 100644 --- a/scan/commits.go +++ b/scan/commits.go @@ -2,6 +2,8 @@ package scan import ( "github.com/go-git/go-git/v5" + log "github.com/sirupsen/logrus" + "github.com/zricethezav/gitleaks/v7/config" "github.com/zricethezav/gitleaks/v7/options" ) @@ -30,10 +32,11 @@ func NewCommitsScanner(opts options.Options, cfg config.Config, repo *git.Reposi // Scan kicks off a CommitsScanner Scan func (css *CommitsScanner) Scan() (Report, error) { var scannerReport Report - for _, c := range css.commits { - c, err := obtainCommit(css.repo, c) + for _, commitHash := range css.commits { + c, err := obtainCommit(css.repo, commitHash) if err != nil { - return scannerReport, nil + log.Errorf("skipping %s, err: %v", commitHash, err) + continue } cs := NewCommitScanner(css.opts, css.cfg, css.repo, c) commitReport, err := cs.Scan() diff --git a/scan/commits_test.go b/scan/commits_test.go new file mode 100644 index 00000000..2dbd88d7 --- /dev/null +++ b/scan/commits_test.go @@ -0,0 +1,102 @@ +package scan_test + +import ( + "path/filepath" + "testing" + + "github.com/zricethezav/gitleaks/v7/config" + "github.com/zricethezav/gitleaks/v7/options" + "github.com/zricethezav/gitleaks/v7/scan" +) + +func TestCommitsScan(t *testing.T) { + err := moveDotGit("dotGit", ".git") + if err != nil { + t.Fatal(err) + } + defer moveDotGit(".git", "dotGit") + tests := []struct { + description string + opts options.Options + wantPath string + empty bool + }{ + { + description: "basic repo with default config ranging first and third commit", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results_ae8db4a2_208ae46.json.got"), + ReportFormat: "json", + Commits: "ae8db4a2306798fcb3a5b9cbe8c486027fc1931f,208ae4669ade2563fcaf9f12922fa2c0a5b37c63", + }, + wantPath: filepath.Join(expectPath, "basic", "results_ae8db4a2_208ae46.json"), + }, + { + description: "repo with config first two commits", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "with_config"), + Report: filepath.Join(expectPath, "with_config", "results_ae8db4a_e7c0aff.json.got"), + ReportFormat: "json", + RepoConfigPath: "gitleaks.toml", + Commits: "ae8db4a2306798fcb3a5b9cbe8c486027fc1931f,e7c0aff3e8a60b50a85432fdf933f8beff013743", + }, + wantPath: filepath.Join(expectPath, "with_config", "results_ae8db4a_e7c0aff.json"), + }, + { + description: "basic repo with depth=1", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results_depth_1.json.got"), + ReportFormat: "json", + Depth: 1, + }, + wantPath: filepath.Join(expectPath, "basic", "results_depth_1.json"), + }, + { + description: "basic repo with default config ranging first and third commit with a non-existent commit in middle", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results_ae8db4a2_208ae46.json.got"), + ReportFormat: "json", + Commits: "ae8db4a2306798fcb3a5b9cbe8c486027fc1931f,nocommithere,208ae4669ade2563fcaf9f12922fa2c0a5b37c63", + }, + wantPath: filepath.Join(expectPath, "basic", "results_ae8db4a2_208ae46.json"), + }, + } + + for _, test := range tests { + cfg, err := config.NewConfig(test.opts) + if err != nil { + t.Error(err) + } + + scanner, err := scan.NewScanner(test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + scannerReport, err := scanner.Scan() + if err != nil { + t.Fatal(test.description, err) + } + + err = scan.WriteReport(scannerReport, test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + if test.empty { + if len(scannerReport.Leaks) != 0 { + t.Errorf("%s wanted no leaks but got some instead: %+v", test.description, scannerReport.Leaks) + } + continue + } + + if test.wantPath != "" { + err := fileCheck(test.wantPath, test.opts.Report) + if err != nil { + t.Error(test.description, err) + } + } + } +} diff --git a/scan/filesatcommit_test.go b/scan/filesatcommit_test.go new file mode 100644 index 00000000..9316724b --- /dev/null +++ b/scan/filesatcommit_test.go @@ -0,0 +1,81 @@ +package scan_test + +import ( + "path/filepath" + "testing" + + "github.com/zricethezav/gitleaks/v7/config" + "github.com/zricethezav/gitleaks/v7/options" + "github.com/zricethezav/gitleaks/v7/scan" +) + +func TestFilesAtCommitScan(t *testing.T) { + err := moveDotGit("dotGit", ".git") + if err != nil { + t.Fatal(err) + } + defer moveDotGit(".git", "dotGit") + tests := []struct { + description string + opts options.Options + wantPath string + empty bool + }{ + { + description: "basic repo with no secrets present in files at first commit", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results_files_at_ae8db4a2.json.got"), + ReportFormat: "json", + FilesAtCommit: "ae8db4a2306798fcb3a5b9cbe8c486027fc1931f", + }, + empty: true, + }, + { + description: "basic repo with secrets present in files at third commit", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results_files_at_208ae46.json.got"), + ReportFormat: "json", + FilesAtCommit: "208ae4669ade2563fcaf9f12922fa2c0a5b37c63", + }, + wantPath: filepath.Join(expectPath, "basic", "results_files_at_208ae46.json"), + }, + } + + for _, test := range tests { + cfg, err := config.NewConfig(test.opts) + if err != nil { + t.Error(err) + } + + scanner, err := scan.NewScanner(test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + scannerReport, err := scanner.Scan() + if err != nil { + t.Fatal(test.description, err) + } + + err = scan.WriteReport(scannerReport, test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + if test.empty { + if len(scannerReport.Leaks) != 0 { + t.Errorf("%s wanted no leaks but got some instead: %+v", test.description, scannerReport.Leaks) + } + continue + } + + if test.wantPath != "" { + err := fileCheck(test.wantPath, test.opts.Report) + if err != nil { + t.Error(test.description, err) + } + } + } +} diff --git a/scan/nogit.go b/scan/nogit.go index 9a526675..540883ee 100644 --- a/scan/nogit.go +++ b/scan/nogit.go @@ -9,11 +9,10 @@ import ( "sync" log "github.com/sirupsen/logrus" + "golang.org/x/sync/errgroup" "github.com/zricethezav/gitleaks/v7/config" "github.com/zricethezav/gitleaks/v7/options" - - "golang.org/x/sync/errgroup" ) // NoGitScanner is a scanner that absolutely despises git @@ -47,11 +46,8 @@ func NewNoGitScanner(opts options.Options, cfg config.Config) *NoGitScanner { // Scan kicks off a NoGitScanner Scan func (ngs *NoGitScanner) Scan() (Report, error) { var scannerReport Report - g, _ := errgroup.WithContext(context.Background()) - paths := make(chan string) - g.Go(func() error { defer close(paths) return filepath.Walk(ngs.opts.Path, diff --git a/scan/nogit_test.go b/scan/nogit_test.go new file mode 100644 index 00000000..fd3f34ac --- /dev/null +++ b/scan/nogit_test.go @@ -0,0 +1,81 @@ +package scan_test + +import ( + "path/filepath" + "testing" + + "github.com/zricethezav/gitleaks/v7/config" + "github.com/zricethezav/gitleaks/v7/options" + "github.com/zricethezav/gitleaks/v7/scan" +) + +func TestNoGit(t *testing.T) { + err := moveDotGit("dotGit", ".git") + if err != nil { + t.Fatal(err) + } + defer moveDotGit(".git", "dotGit") + tests := []struct { + description string + opts options.Options + wantPath string + empty bool + }{ + { + description: "[nogit] basic repo", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results_no_git.json.got"), + ReportFormat: "json", + NoGit: true, + }, + wantPath: filepath.Join(expectPath, "basic", "results_no_git.json"), + }, + { + description: "[nogit] empty", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "empty"), + Report: filepath.Join(expectPath, "empty", "results_no_git_empty.json.got"), + ReportFormat: "json", + NoGit: true, + }, + empty: true, + }, + } + + for _, test := range tests { + cfg, err := config.NewConfig(test.opts) + if err != nil { + t.Error(err) + } + + scanner, err := scan.NewScanner(test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + scannerReport, err := scanner.Scan() + if err != nil { + t.Fatal(test.description, err) + } + + err = scan.WriteReport(scannerReport, test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + if test.empty { + if len(scannerReport.Leaks) != 0 { + t.Errorf("%s wanted no leaks but got some instead: %+v", test.description, scannerReport.Leaks) + } + continue + } + + if test.wantPath != "" { + err := fileCheck(test.wantPath, test.opts.Report) + if err != nil { + t.Error(test.description, err) + } + } + } +} diff --git a/scan/repo_test.go b/scan/repo_test.go new file mode 100644 index 00000000..4c14f05e --- /dev/null +++ b/scan/repo_test.go @@ -0,0 +1,88 @@ +package scan_test + +import ( + "path/filepath" + "testing" + + "github.com/zricethezav/gitleaks/v7/config" + "github.com/zricethezav/gitleaks/v7/options" + "github.com/zricethezav/gitleaks/v7/scan" +) + +func TestRepoScan(t *testing.T) { + err := moveDotGit("dotGit", ".git") + if err != nil { + t.Fatal(err) + } + defer moveDotGit(".git", "dotGit") + tests := []struct { + description string + opts options.Options + wantPath string + empty bool + }{ + { + description: "empty repo", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "empty"), + Report: filepath.Join(expectPath, "empty", "empty_report.json.got"), + }, + empty: true, + }, + { + description: "basic repo with default config", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results.json.got"), + ReportFormat: "json", + }, + wantPath: filepath.Join(expectPath, "basic", "results.json"), + }, + { + description: "with_config repo", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "with_config"), + Report: filepath.Join(expectPath, "with_config", "results.json.got"), + RepoConfigPath: "gitleaks.toml", + ReportFormat: "json", + }, + wantPath: filepath.Join(expectPath, "with_config", "results.json"), + }, + } + + for _, test := range tests { + cfg, err := config.NewConfig(test.opts) + if err != nil { + t.Error(err) + } + + scanner, err := scan.NewScanner(test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + scannerReport, err := scanner.Scan() + if err != nil { + t.Fatal(test.description, err) + } + + err = scan.WriteReport(scannerReport, test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + if test.empty { + if len(scannerReport.Leaks) != 0 { + t.Errorf("%s wanted no leaks but got some instead: %+v", test.description, scannerReport.Leaks) + } + continue + } + + if test.wantPath != "" { + err := fileCheck(test.wantPath, test.opts.Report) + if err != nil { + t.Error(test.description, err) + } + } + } +} diff --git a/scan/scan_test.go b/scan/scan_test.go index c8b4f845..af3ffe77 100644 --- a/scan/scan_test.go +++ b/scan/scan_test.go @@ -1,732 +1,52 @@ -package scan +package scan_test import ( "encoding/json" "fmt" "io/ioutil" "os" - "runtime" - "testing" - "github.com/zricethezav/gitleaks/v7/config" - "github.com/zricethezav/gitleaks/v7/options" + "github.com/zricethezav/gitleaks/v7/scan" ) -const testRepoBase = "../test_data/test_repos/" +const repoBasePath = "../testdata/repos/" +const expectPath = "../testdata/expect/" -func TestScan(t *testing.T) { - err := moveDotGit("dotGit", ".git") +func moveDotGit(from, to string) error { + repoDirs, err := ioutil.ReadDir("../testdata/repos") if err != nil { - t.Fatal(err) + return err } - defer moveDotGit(".git", "dotGit") - tests := []struct { - description string - opts options.Options - wantPath string - wantErr error - wantScanErr error - emptyRepo bool - wantEmpty bool - }{ - { - description: "test local repo one aws leak", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_1", - Report: "../test_data/test_local_repo_one_aws_leak.json.got", - ReportFormat: "json", - Threads: runtime.GOMAXPROCS(0), - }, - wantPath: "../test_data/test_local_repo_one_aws_leak.json", - }, - { - description: "test local repo one aws leak threaded", - opts: options.Options{ - Threads: runtime.GOMAXPROCS(0), - Path: "../test_data/test_repos/test_repo_1", - Report: "../test_data/test_local_repo_one_aws_leak.json.got", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_one_aws_leak.json", - }, - { - description: "test non existent repo", - opts: options.Options{ - Path: "../test_data/test_repos/no_repo_here", - ReportFormat: "json", - }, - wantErr: fmt.Errorf("stat ../test_data/test_repos/no_repo_here: no such file or directory"), - emptyRepo: true, - }, - { - description: "test local repo one aws leak allowlisted", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_1", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/aws_key_allowlist_python_files.toml", - }, - wantEmpty: true, - }, - { - description: "test local repo two leaks", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_2", - Report: "../test_data/test_local_repo_two_leaks.json.got", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_two_leaks.json", - }, - { - description: "test local repo two leaks from Commit", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_2", - Report: "../test_data/test_local_repo_two_leaks_commit_from.json.got", - ReportFormat: "json", - CommitFrom: "996865bb912f3bc45898a370a13aadb315014b55", - }, - wantPath: "../test_data/test_local_repo_two_leaks_commit_from.json", - }, - { - description: "test local repo two leaks to Commit", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_2", - Report: "../test_data/test_local_repo_two_leaks_commit_to.json.got", - ReportFormat: "json", - CommitTo: "996865bb912f3bc45898a370a13aadb315014b55", - }, - wantPath: "../test_data/test_local_repo_two_leaks_commit_to.json", - }, - { - description: "test local repo two leaks to from Commit", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_2", - Report: "../test_data/test_local_repo_two_leaks_commit_to_from.json.got", - ReportFormat: "json", - CommitFrom: "d8ac0b73aeeb45843319cdc5ce506516eb49bf7a", - CommitTo: "51f6dcf6b89b93f4075ba92c400b075631a6cc93", - }, - wantPath: "../test_data/test_local_repo_two_leaks_commit_to_from.json", - }, - { - description: "test local repo two leaks list Commits", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_2", - Report: "../test_data/test_local_repo_two_leaks_commit_range.json.got", - ReportFormat: "json", - Commits: "d8ac0b73aeeb45843319cdc5ce506516eb49bf7a,996865bb912f3bc45898a370a13aadb315014b55,17471a5fda722a9e423f1a0d3f0d267ea009d41c,51f6dcf6b89b93f4075ba92c400b075631a6cc93,b10b3e2cb320a8c211fda94c4567299d37de7776", - }, - wantPath: "../test_data/test_local_repo_two_leaks_commit_range.json", - }, - { - description: "test local repo two leaks file list commits", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_2", - Report: "../test_data/test_local_repo_two_leaks_file_commit_range.json.got", - ReportFormat: "json", - CommitsFile: "../test_data/test_options/test_local_repo_commits.txt", - Threads: runtime.GOMAXPROCS(0), - }, - wantPath: "../test_data/test_local_repo_two_leaks_file_commit_range.json", - }, - { - description: "test local repo two leaks globally allowlisted", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_2", - ConfigPath: "../test_data/test_configs/aws_key_global_allowlist_file.toml", - ReportFormat: "json", - }, - wantEmpty: true, - }, - { - description: "test local repo two leaks allowlisted", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_2", - ConfigPath: "../test_data/test_configs/aws_key_allowlist_files.toml", - ReportFormat: "json", - }, - wantEmpty: true, - }, - { - description: "test local repo three leaks dev branch with reportGroup set", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_3", - Report: "../test_data/test_local_repo_three_leaks_with_report_groups.json.got", - ConfigPath: "../test_data/test_configs/aws_key_with_report_groups.toml", - Branch: "dev", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_three_leaks_with_report_groups.json", - }, - { - description: "test local repo three leaks dev branch", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_3", - Report: "../test_data/test_local_repo_three_leaks.json.got", - ConfigPath: "../test_data/test_configs/aws_key.toml", - Branch: "dev", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_three_leaks.json", - }, - { - description: "test local repo branch does not exist", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_3", - Branch: "nobranch", - ReportFormat: "json", - }, - wantScanErr: fmt.Errorf("could not find branch nobranch"), - }, - { - description: "test local repo one aws leak single Commit", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_1", - Report: "../test_data/test_local_repo_one_aws_leak_commit.json.got", - Commit: "6557c92612d3b35979bd426d429255b3bf9fab74", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_one_aws_leak_commit.json", - }, - { - description: "test local repo one aws leak AND leak on python files", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_1", - Report: "../test_data/test_local_repo_one_aws_leak_and_file_leak.json.got", - ConfigPath: "../test_data/test_configs/aws_key_file_regex.toml", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_one_aws_leak_and_file_leak.json", - }, - { - description: "test owner path", - opts: options.Options{ - Path: "../test_data/test_repos/", - Report: "../test_data/test_local_owner_aws_leak.json.got", - ReportFormat: "json", - Threads: runtime.GOMAXPROCS(0), - }, - wantPath: "../test_data/test_local_owner_aws_leak.json", - }, - { - description: "test owner path allowlist repo", - opts: options.Options{ - Path: "../test_data/test_repos/", - Report: "../test_data/test_local_owner_aws_leak_allowlist_repo.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/aws_key_local_owner_allowlist_repo.toml", - }, - wantPath: "../test_data/test_local_owner_aws_leak_allowlist_repo.json", - }, - { - description: "test entropy and regex", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_1", - Report: "../test_data/test_regex_entropy.json.got", - ConfigPath: "../test_data/test_configs/regex_entropy.toml", - ReportFormat: "json", - Threads: runtime.GOMAXPROCS(0), - }, - wantPath: "../test_data/test_regex_entropy.json", - }, - { - description: "test local repo four entropy alternative config", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_4", - Report: "../test_data/test_local_repo_four_alt_config_entropy.json.got", - RepoConfigPath: "gitleaks.toml", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_four_alt_config_entropy.json", - }, - { - description: "test local repo four entropy alternative config", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_1", - Report: "../test_data/test_regex_allowlist.json.got", - ConfigPath: "../test_data/test_configs/aws_key_aws_allowlisted.toml", - ReportFormat: "json", - }, - wantEmpty: true, - }, - { - description: "test owner path depth=2", - opts: options.Options{ - Path: "../test_data/test_repos/", - Report: "../test_data/test_local_owner_aws_leak_depth_2.json.got", - ReportFormat: "json", - Depth: 2, - }, - wantPath: "../test_data/test_local_owner_aws_leak_depth_2.json", - }, - { - description: "test local repo five files at Commit", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_5", - Report: "../test_data/test_local_repo_five_files_at_commit.json.got", - FilesAtCommit: "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_five_files_at_commit.json", - }, - { - description: "test local repo five files at latest Commit", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_5", - Report: "../test_data/test_local_repo_five_files_at_latest_commit.json.got", - FilesAtCommit: "latest", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_five_files_at_commit.json", - }, - { - description: "test local repo five at Commit", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_5", - Report: "../test_data/test_local_repo_five_commit.json.got", - Commit: "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/generic.toml", - }, - wantPath: "../test_data/test_local_repo_five_commit.json", - }, - { - description: "test local repo five at latest Commit", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_5", - Report: "../test_data/test_local_repo_five_at_latest_commit.json.got", - Commit: "latest", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/generic.toml", - }, - wantPath: "../test_data/test_local_repo_five_at_latest_commit.json", - }, - { - description: "test local repo six filename", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_6", - Report: "../test_data/test_local_repo_six_filename.json.got", - ConfigPath: "../test_data/test_configs/regex_filename.toml", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_six_filename.json", - }, - { - description: "test local repo six filepath", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_6", - Report: "../test_data/test_local_repo_six_filepath.json.got", - ConfigPath: "../test_data/test_configs/regex_filepath.toml", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_six_filepath.json", - }, - { - description: "test local repo six filename and filepath", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_6", - Report: "../test_data/test_local_repo_six_filepath_filename.json.got", - ConfigPath: "../test_data/test_configs/regex_filepath_filename.toml", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_six_filepath_filename.json", - }, - { - description: "test local repo six path globally allowlisted", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_6", - Report: "../test_data/test_local_repo_six_path_globally_allowlisted.json.got", - ConfigPath: "../test_data/test_configs/aws_key_global_allowlist_path.toml", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_six_path_globally_allowlisted.json", - }, - { - description: "test local repo six leaks since date", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_6", - Report: "../test_data/test_local_repo_six_leaks_since_date.json.got", - ReportFormat: "json", - CommitSince: "2019-10-25", - }, - wantPath: "../test_data/test_local_repo_six_leaks_since_date.json", - }, - { - description: "test local repo two leaks until date", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_6", - Report: "../test_data/test_local_repo_six_leaks_until_date.json.got", - ReportFormat: "json", - CommitUntil: "2019-10-25", - }, - wantPath: "../test_data/test_local_repo_six_leaks_until_date.json", - }, - { - description: "test local repo four leaks timerange Commit", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_4", - Report: "../test_data/test_local_repo_four_leaks_commit_timerange.json.got", - ReportFormat: "json", - CommitSince: "2019-10-25T13:01:27-0400", - CommitUntil: "2019-10-25T13:12:32-0400", - }, - wantPath: "../test_data/test_local_repo_four_leaks_commit_timerange.json", - }, - { - description: "test local repo two allowlist Commit config", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_2", - Report: "../test_data/test_local_repo_two_allowlist_commits.json.got", - ConfigPath: "../test_data/test_configs/allowlist_commit.toml", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_two_allowlist_commits.json", - }, - { - description: "test local repo eight (merges)", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_8", - Report: "../test_data/test_local_repo_eight.json.got", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_eight.json", - }, - { - description: "test local repo nine", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_9", - Report: "../test_data/test_local_repo_nine_aws_leak.json.got", - ConfigPath: "../test_data/test_configs/large_with_global_allowlist_regex.toml", - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_nine_aws_leak.json", - }, - { - description: "test dir one no git", - opts: options.Options{ - Path: "../test_data/test_repos/test_dir_1", - Report: "../test_data/test_dir1_aws_leak.json.got", - ReportFormat: "json", - NoGit: true, - }, - wantPath: "../test_data/test_dir1_aws_leak.json", - }, - { - description: "test file with leak no git", - opts: options.Options{ - Path: "../test_data/test_repos/test_dir_1/server.test.py", - Report: "../test_data/test_file1_aws_leak.json.got", - ReportFormat: "json", - NoGit: true, - }, - wantPath: "../test_data/test_file1_aws_leak.json", - }, - { - description: "test only md files no git", - opts: options.Options{ - Path: "../test_data/test_repos/", - Report: "../test_data/test_only_files_no_git.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/onlyFiles.toml", - NoGit: true, - }, - wantPath: "../test_data/test_only_files_no_git.json", - }, - { - description: "test allowlist files", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_10", - Report: "../test_data/test_allow_list_file.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/allowlist_files.toml", - }, - wantPath: "../test_data/test_allow_list_file.json", - }, - { - description: "test allowlist files", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_10", - Report: "../test_data/test_allow_list_file.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/allowlist_files.toml", - }, - wantPath: "../test_data/test_allow_list_file.json", - }, - { - description: "test allowlist files no-git", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_10", - Report: "../test_data/test_allow_list_file_no_git.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/allowlist_files.toml", - NoGit: true, - }, - wantPath: "../test_data/test_allow_list_file_no_git.json", - }, - { - description: "test allowlist docx no-git", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_10", - Report: "../test_data/test_allow_list_docx_no_git.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/allowlist_docx.toml", - NoGit: true, - }, - wantPath: "../test_data/test_allow_list_docx_no_git.json", - }, - { - description: "test append repo config", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_10", - Report: "../test_data/test_append_repo.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/nozips.toml", - RepoConfigPath: ".gitleaks.toml", - AppendRepoConfig: true, - }, - wantPath: "../test_data/test_append_repo.json", - }, - { - description: "test additional config", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_10", - Report: "../test_data/test_additional_config.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/nozips.toml", - AdditionalConfig: "../test_data/test_repos/test_repo_10/.gitleaks.toml", - }, - wantPath: "../test_data/test_additional_config.json", - }, - { - description: "test append repo config with additional config", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_10", - Report: "../test_data/test_append_repo_additional_config.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/nozips.toml", - RepoConfigPath: ".gitleaks.toml", - AppendRepoConfig: true, - AdditionalConfig: "../test_data/test_configs/allowlist_bad_docx_10.toml", - }, - wantEmpty: true, - }, - { - description: "test append repo config with additional config", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_10", - Report: "../test_data/test_append_repo_additional_config.json.got", - ReportFormat: "json", - ConfigPath: "../test_data/test_configs/nozips.toml", - RepoConfigPath: ".gitleaks.toml", - AppendRepoConfig: true, - AdditionalConfig: "../test_data/test_configs/allowlist_bad_docx_10.toml", - }, - wantEmpty: true, - }, - { - description: "test file with no leak due to additional config no git", - opts: options.Options{ - Path: "../test_data/test_repos/test_dir_1", - Report: "../test_data/fail.json.got", - ReportFormat: "json", - NoGit: false, - AdditionalConfig: "../test_data/test_configs/allowlist_allow_all_repo_1.toml", - }, - wantEmpty: true, - }, - } - - for _, test := range tests { - fmt.Println(test.description) - cfg, err := config.NewConfig(test.opts) - if err != nil { - t.Error(err) + for _, dir := range repoDirs { + if to == ".git" { + _, err := os.Stat(fmt.Sprintf("%s/%s/%s", repoBasePath, dir.Name(), "dotGit")) + if os.IsNotExist(err) { + // dont want to delete the only copy of .git accidentally + continue + } + os.RemoveAll(fmt.Sprintf("%s/%s/%s", repoBasePath, dir.Name(), ".git")) } - - scanner, err := NewScanner(test.opts, cfg) - if test.wantErr != nil { - if err == nil { - t.Fatalf("did not receive wantErr: %v", test.wantErr) - } - if err.Error() != test.wantErr.Error() { - t.Fatalf("wantErr does not equal err received: %v", err.Error()) - } + if !dir.IsDir() { continue } - if err != nil { - t.Fatal(err) - } - - scannerReport, err := scanner.Scan() - - if test.wantScanErr != nil { - if err == nil { - t.Fatalf("did not receive wantErr: %v", test.wantScanErr) - } - if err.Error() != test.wantScanErr.Error() { - t.Fatalf("wantErr does not equal err received: %v", err.Error()) - } - continue - } - if err != nil { - t.Fatal(err) - } - - err = WriteReport(scannerReport, test.opts, cfg) - if err != nil { - t.Error(err) - } - - if test.wantEmpty { - if len(scannerReport.Leaks) != 0 { - t.Errorf("wanted no leaks but got some instead: %+v", scannerReport.Leaks) - } + _, err := os.Stat(fmt.Sprintf("%s/%s/%s", repoBasePath, dir.Name(), from)) + if os.IsNotExist(err) { continue } - if test.wantPath != "" { - err := fileCheck(test.wantPath, test.opts.Report) - if err != nil { - t.Error(err) - } - } - } -} - -// -func TestScanUncommited(t *testing.T) { - moveDotGit("dotGit", ".git") - defer moveDotGit(".git", "dotGit") - tests := []struct { - description string - opts options.Options - wantPath string - wantErr error - wantScanErr error - emptyRepo bool - wantEmpty bool - fileToChange string - addition string - }{ - { - description: "test scan local one leak", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_1", - Report: "../test_data/test_local_repo_one_aws_leak_uncommitted.json.got", - Unstaged: true, - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_one_aws_leak_uncommitted.json", - fileToChange: "server.test.py", - addition: " aws_access_key_id='AKIAIO5FODNN7DXAMPLE'\n\n", - }, - { - description: "test scan local no leak", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_1", - Unstaged: true, - ReportFormat: "json", - }, - wantEmpty: true, - fileToChange: "server.test.py", - addition: "nothing bad", - }, - { - description: "test scan repo with no commits", - opts: options.Options{ - Path: "../test_data/test_repos/test_repo_7", - Report: "../test_data/test_local_repo_seven_aws_leak_uncommitted.json.got", - Unstaged: true, - ReportFormat: "json", - }, - wantPath: "../test_data/test_local_repo_seven_aws_leak_uncommitted.json", - }, - } - for _, test := range tests { - var ( - old []byte - err error - ) - fmt.Println(test.description) - if test.fileToChange != "" { - old, err = ioutil.ReadFile(fmt.Sprintf("%s/%s", test.opts.Path, test.fileToChange)) - if err != nil { - t.Error(err) - } - altered, err := os.OpenFile(fmt.Sprintf("%s/%s", test.opts.Path, test.fileToChange), - os.O_WRONLY|os.O_APPEND, 0644) - if err != nil { - t.Error(err) - } - - _, err = altered.WriteString(test.addition) - if err != nil { - t.Error(err) - } - - } - - cfg, err := config.NewConfig(test.opts) + err = os.Rename(fmt.Sprintf("%s/%s/%s", repoBasePath, dir.Name(), from), + fmt.Sprintf("%s/%s/%s", repoBasePath, dir.Name(), to)) if err != nil { - t.Error(err) - } - scanner, err := NewScanner(test.opts, cfg) - if test.wantErr != nil { - if err == nil { - t.Fatalf("did not receive wantErr: %v", test.wantErr) - } - if err.Error() != test.wantErr.Error() { - t.Fatalf("wantErr does not equal err received: %v", err.Error()) - } - continue - } - if err != nil { - t.Fatal(err) - } - - scannerReport, err := scanner.Scan() - - if test.wantScanErr != nil { - if err == nil { - t.Fatalf("did not receive wantErr: %v", test.wantScanErr) - } - if err.Error() != test.wantScanErr.Error() { - t.Fatalf("wantErr does not equal err received: %v", err.Error()) - } - continue - } - if err != nil { - t.Fatal(err) - } - - err = WriteReport(scannerReport, test.opts, cfg) - if err != nil { - t.Error(err) - } - - if test.fileToChange != "" { - err = ioutil.WriteFile(fmt.Sprintf("%s/%s", test.opts.Path, test.fileToChange), old, 0) - if err != nil { - t.Error(err) - } - } - - if test.wantEmpty { - continue - } - - if test.wantPath != "" { - err := fileCheck(test.wantPath, test.opts.Report) - if err != nil { - t.Error(err) - } + return err } } + return nil } func fileCheck(wantPath, gotPath string) error { var ( - gotLeaks []Leak - wantLeaks []Leak + gotLeaks []scan.Leak + wantLeaks []scan.Leak ) want, err := ioutil.ReadFile(wantPath) if err != nil { @@ -770,7 +90,7 @@ func fileCheck(wantPath, gotPath string) error { return nil } -func same(l1, l2 Leak) bool { +func same(l1, l2 scan.Leak) bool { if l1.Commit != l2.Commit { return false } @@ -813,35 +133,3 @@ func same(l1, l2 Leak) bool { return true } - -func moveDotGit(from, to string) error { - repoDirs, err := ioutil.ReadDir("../test_data/test_repos") - if err != nil { - return err - } - for _, dir := range repoDirs { - if to == ".git" { - _, err := os.Stat(fmt.Sprintf("%s/%s/%s", testRepoBase, dir.Name(), "dotGit")) - if os.IsNotExist(err) { - // dont want to delete the only copy of .git accidentally - continue - } - os.RemoveAll(fmt.Sprintf("%s/%s/%s", testRepoBase, dir.Name(), ".git")) - } - if !dir.IsDir() { - continue - } - _, err := os.Stat(fmt.Sprintf("%s/%s/%s", testRepoBase, dir.Name(), from)) - if os.IsNotExist(err) { - continue - } - - err = os.Rename(fmt.Sprintf("%s/%s/%s", testRepoBase, dir.Name(), from), - fmt.Sprintf("%s/%s/%s", testRepoBase, dir.Name(), to)) - if err != nil { - return err - } - // fmt.Println("RENAMED") - } - return nil -} diff --git a/scan/unstaged_test.go b/scan/unstaged_test.go new file mode 100644 index 00000000..3dd35172 --- /dev/null +++ b/scan/unstaged_test.go @@ -0,0 +1,111 @@ +package scan_test + +import ( + "io/ioutil" + "os" + "path/filepath" + "testing" + + "github.com/zricethezav/gitleaks/v7/config" + "github.com/zricethezav/gitleaks/v7/options" + "github.com/zricethezav/gitleaks/v7/scan" +) + +func TestUnstaged(t *testing.T) { + err := moveDotGit("dotGit", ".git") + if err != nil { + t.Fatal(err) + } + defer moveDotGit(".git", "dotGit") + tests := []struct { + description string + opts options.Options + wantPath string + fileToChange string + change string + empty bool + }{ + { + description: "basic repo with unstagged change containing a secret", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results_unstaged.json.got"), + ReportFormat: "json", + Unstaged: true, + }, + wantPath: filepath.Join(expectPath, "basic", "results_unstaged.json"), + fileToChange: filepath.Join(repoBasePath, "basic", "secrets.py"), + change: "\nadded_aws_access_key_id='AKIAIO5FODNN7DXAMPLE'\n", + }, + { + description: "basic repo with unstagged change not containing a secret", + opts: options.Options{ + Path: filepath.Join(repoBasePath, "basic"), + Report: filepath.Join(expectPath, "basic", "results_unstaged.json.got"), + ReportFormat: "json", + Unstaged: true, + }, + empty: true, + fileToChange: filepath.Join(repoBasePath, "basic", "secrets.py"), + change: "\nnice_variable='is_nice''\n", + }, + } + + for _, test := range tests { + var old []byte + if test.fileToChange != "" { + old, err = ioutil.ReadFile(test.fileToChange) + if err != nil { + t.Error(err) + } + altered, err := os.OpenFile(test.fileToChange, + os.O_WRONLY|os.O_APPEND, 0644) + if err != nil { + t.Error(err) + } + + _, err = altered.WriteString(test.change) + if err != nil { + t.Error(err) + } + } + + cfg, err := config.NewConfig(test.opts) + if err != nil { + t.Error(err) + } + + scanner, err := scan.NewScanner(test.opts, cfg) + if err != nil { + t.Fatal(test.description, err) + } + + scannerReport, err := scanner.Scan() + if err != nil { + t.Fatal(test.description, err) + } + + err = scan.WriteReport(scannerReport, test.opts, cfg) + if err != nil { + t.Error(test.description, err) + } + + if test.empty { + if len(scannerReport.Leaks) != 0 { + t.Errorf("%s wanted no leaks but got some instead: %+v", test.description, scannerReport.Leaks) + } + } + + if test.wantPath != "" { + err := fileCheck(test.wantPath, test.opts.Report) + if err != nil { + t.Error(test.description, err) + } + } + err = ioutil.WriteFile(test.fileToChange, old, 0) + if err != nil { + t.Error(err) + } + + } +} diff --git a/test_data/test_additional_config.json b/test_data/test_additional_config.json deleted file mode 100644 index f0951da1..00000000 --- a/test_data/test_additional_config.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: tmp/bad.docx", - "offenderEntropy": -1, - "commit": "b0f9b62dfe12e4e10de180359c6b9276472494f8", - "repo": "test_repo_10", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "Create bad.docx", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "tmp/bad.docx", - "date": "2020-12-09T11:02:10-05:00", - "tags": "key, extensions" - } -] diff --git a/test_data/test_allow_list_docx_no_git.json b/test_data/test_allow_list_docx_no_git.json deleted file mode 100644 index cf2ff1a7..00000000 --- a/test_data/test_allow_list_docx_no_git.json +++ /dev/null @@ -1,87 +0,0 @@ -[ - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/.gitignore", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_10/.gitignore", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/bad.zip", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_10/bad.zip", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/gitfile.txt", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_10/gitfile.txt", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/creds.git", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_10/creds.git", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/somedir.git/secret.key", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_10/somedir.git/secret.key", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - } -] diff --git a/test_data/test_allow_list_file.json b/test_data/test_allow_list_file.json deleted file mode 100644 index f0951da1..00000000 --- a/test_data/test_allow_list_file.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: tmp/bad.docx", - "offenderEntropy": -1, - "commit": "b0f9b62dfe12e4e10de180359c6b9276472494f8", - "repo": "test_repo_10", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "Create bad.docx", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "tmp/bad.docx", - "date": "2020-12-09T11:02:10-05:00", - "tags": "key, extensions" - } -] diff --git a/test_data/test_allow_list_file_no_git.json b/test_data/test_allow_list_file_no_git.json deleted file mode 100644 index fa6b7131..00000000 --- a/test_data/test_allow_list_file_no_git.json +++ /dev/null @@ -1,36 +0,0 @@ -[ -{ - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/somedir.git/secret.key", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_10/somedir.git/secret.key", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/tmp/bad.docx", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_10/tmp/bad.docx", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - } -] diff --git a/test_data/test_append_repo.json b/test_data/test_append_repo.json deleted file mode 100644 index f0951da1..00000000 --- a/test_data/test_append_repo.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: tmp/bad.docx", - "offenderEntropy": -1, - "commit": "b0f9b62dfe12e4e10de180359c6b9276472494f8", - "repo": "test_repo_10", - "repoURL": "", - "leakURL": "", - "rule": "Block dangerous filetypes", - "commitMessage": "Create bad.docx", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "tmp/bad.docx", - "date": "2020-12-09T11:02:10-05:00", - "tags": "key, extensions" - } -] diff --git a/test_data/test_entropy.json b/test_data/test_entropy.json deleted file mode 100644 index 3a2a156d..00000000 --- a/test_data/test_entropy.json +++ /dev/null @@ -1,16 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "offender": "Entropy range [{P1:4.5 P2:4.7} {P1:5.5 P2:6.3}]", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repo_1", - "rule": "entropy", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "entropy" - } -] diff --git a/test_data/test_file1_aws_leak.json b/test_data/test_file1_aws_leak.json deleted file mode 100644 index 62ad8981..00000000 --- a/test_data/test_file1_aws_leak.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_dir_1/server.test.py", - "date": "0001-01-01T00:00:00Z", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_owner_aws_leak.json b/test_data/test_local_owner_aws_leak.json deleted file mode 100644 index 304c6a2c..00000000 --- a/test_data/test_local_owner_aws_leak.json +++ /dev/null @@ -1,393 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repos", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - }, - { - "line": "AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 5, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "deea550dd6c7acaf0e59432600593533984a2125", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "dev branch\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:35:03-04:00", - "tags": "key, AWS" - }, - { - "line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "more secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:54:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - }, - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 5, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "deea550dd6c7acaf0e59432600593533984a2125", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "dev branch\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:35:03-04:00", - "tags": "key, AWS" - }, - { - "line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "more secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:54:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - }, - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'", - "lineNumber": 1, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "1f2a4abc47dabf991e6af6f9770867ce0ac1f360", - "repo": "test_repo_5", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "introduce secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:07:34-05:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'", - "lineNumber": 4, - "offender": "AKIAIO5FODNN7EXAMPL2", - "offenderEntropy": -1, - "commit": "ca71fcdeda15f25f0cc661d90e8785c255925c27", - "repo": "test_repo_5", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "introduce more secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:08:04-05:00", - "tags": "key, AWS" - }, - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repos", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE", - "lineNumber": 3, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247", - "repo": "test_repo_6", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Adding some secrets in config folder\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "config/application.properties", - "date": "2020-02-24T14:13:15-05:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 2, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "dummy.txt w/ text", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:39:11-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 6, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Update dummy.txt", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:41:11-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 6, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:44:48-04:00", - "tags": "key, AWS" - }, - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "8d1fb60d2d80f0590f191ed5ace1e45ef780909a", - "repo": "test_repo_9", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "gitleaks allow secret\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "server.test.py", - "date": "2020-08-12T13:36:20-04:00", - "tags": "key, AWS" - }, - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repos", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_owner_aws_leak_allowlist_repo.json b/test_data/test_local_owner_aws_leak_allowlist_repo.json deleted file mode 100644 index 2db57a3a..00000000 --- a/test_data/test_local_owner_aws_leak_allowlist_repo.json +++ /dev/null @@ -1,376 +0,0 @@ -[ - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - }, - { - "line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "more secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:54:08-04:00", - "tags": "key, AWS" - }, - { - "line": "AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 5, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "deea550dd6c7acaf0e59432600593533984a2125", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "dev branch\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:35:03-04:00", - "tags": "key, AWS" - }, - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - }, - { - "line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "more secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:54:08-04:00", - "tags": "key, AWS" - }, - { - "line": "AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 5, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "deea550dd6c7acaf0e59432600593533984a2125", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "dev branch\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:35:03-04:00", - "tags": "key, AWS" - }, - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'", - "lineNumber": 4, - "offender": "AKIAIO5FODNN7EXAMPL2", - "offenderEntropy": -1, - "commit": "ca71fcdeda15f25f0cc661d90e8785c255925c27", - "repo": "test_repo_5", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "introduce more secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:08:04-05:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'", - "lineNumber": 1, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "1f2a4abc47dabf991e6af6f9770867ce0ac1f360", - "repo": "test_repo_5", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "introduce secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:07:34-05:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE", - "lineNumber": 3, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247", - "repo": "test_repo_6", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Adding some secrets in config folder\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "config/application.properties", - "date": "2020-02-24T14:13:15-05:00", - "tags": "key, AWS" - }, - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repos", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 6, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:44:48-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 2, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "dummy.txt w/ text", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:39:11-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 6, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Update dummy.txt", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:41:11-04:00", - "tags": "key, AWS" - }, - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "8d1fb60d2d80f0590f191ed5ace1e45ef780909a", - "repo": "test_repo_9", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "gitleaks allow secret\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "server.test.py", - "date": "2020-08-12T13:36:20-04:00", - "tags": "key, AWS" - }, - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repos", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_owner_aws_leak_depth_2.json b/test_data/test_local_owner_aws_leak_depth_2.json deleted file mode 100644 index 27c5afd5..00000000 --- a/test_data/test_local_owner_aws_leak_depth_2.json +++ /dev/null @@ -1,121 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repos", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS" - }, - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "more secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:54:08-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'", - "lineNumber": 4, - "offender": "AKIAIO5FODNN7EXAMPL2", - "offenderEntropy": -1, - "commit": "ca71fcdeda15f25f0cc661d90e8785c255925c27", - "repo": "test_repo_5", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "introduce more secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:08:04-05:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE", - "lineNumber": 3, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247", - "repo": "test_repo_6", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Adding some secrets in config folder\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "config/application.properties", - "date": "2020-02-24T14:13:15-05:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 6, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:44:48-04:00", - "tags": "key, AWS" - }, - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "8d1fb60d2d80f0590f191ed5ace1e45ef780909a", - "repo": "test_repo_9", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "gitleaks allow secret\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "server.test.py", - "date": "2020-08-12T13:36:20-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_eight.json b/test_data/test_local_repo_eight.json deleted file mode 100644 index 8b2b7d81..00000000 --- a/test_data/test_local_repo_eight.json +++ /dev/null @@ -1,53 +0,0 @@ -[ - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 6, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:44:48-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 2, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "dummy.txt w/ text", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:39:11-04:00", - "tags": "key, AWS" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 6, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d", - "repo": "test_repo_8", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "Update dummy.txt", - "author": "Zachary Rice", - "email": "zricer@protonmail.com", - "file": "dummy.txt", - "date": "2020-07-25T14:41:11-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_five_at_latest_commit.json b/test_data/test_local_repo_five_at_latest_commit.json deleted file mode 100644 index b8ffac13..00000000 --- a/test_data/test_local_repo_five_at_latest_commit.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": "more_secrets = '99432bfewaf823ec3294e231'", - "lineNumber": 7, - "offender": "secrets = '99432bfewaf823ec3294e231", - "offenderEntropy": -1, - "commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0", - "repo": "test_repo_5", - "rule": "Generic Credential", - "commitMessage": "even more secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:30:22-05:00", - "tags": "key, API, generic", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_five_commit.json b/test_data/test_local_repo_five_commit.json deleted file mode 100644 index b8ffac13..00000000 --- a/test_data/test_local_repo_five_commit.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": "more_secrets = '99432bfewaf823ec3294e231'", - "lineNumber": 7, - "offender": "secrets = '99432bfewaf823ec3294e231", - "offenderEntropy": -1, - "commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0", - "repo": "test_repo_5", - "rule": "Generic Credential", - "commitMessage": "even more secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:30:22-05:00", - "tags": "key, API, generic", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_five_files_at_commit.json b/test_data/test_local_repo_five_files_at_commit.json deleted file mode 100644 index 1ff20dc4..00000000 --- a/test_data/test_local_repo_five_files_at_commit.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'", - "lineNumber": 1, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0", - "repo": "test_repo_5", - "rule": "AWS Access Key", - "commitMessage": "even more secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:30:22-05:00", - "tags": "key, AWS", - "operation": "addition" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'", - "lineNumber": 4, - "offender": "AKIAIO5FODNN7EXAMPL2", - "offenderEntropy": -1, - "commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0", - "repo": "test_repo_5", - "rule": "AWS Access Key", - "commitMessage": "even more secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:30:22-05:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_five_files_at_latest_commit.json b/test_data/test_local_repo_five_files_at_latest_commit.json deleted file mode 100644 index 1ff20dc4..00000000 --- a/test_data/test_local_repo_five_files_at_latest_commit.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'", - "lineNumber": 1, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0", - "repo": "test_repo_5", - "rule": "AWS Access Key", - "commitMessage": "even more secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:30:22-05:00", - "tags": "key, AWS", - "operation": "addition" - }, - { - "line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'", - "lineNumber": 4, - "offender": "AKIAIO5FODNN7EXAMPL2", - "offenderEntropy": -1, - "commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0", - "repo": "test_repo_5", - "rule": "AWS Access Key", - "commitMessage": "even more secrets\n", - "author": "Zach Rice", - "email": "zrice@gitlab.com", - "file": "secrets.py", - "date": "2020-02-01T10:30:22-05:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_four_alt_config_entropy.json b/test_data/test_local_repo_four_alt_config_entropy.json deleted file mode 100644 index 54b542d9..00000000 --- a/test_data/test_local_repo_four_alt_config_entropy.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "line": "const AWSSECRET = \"99432bfewaf823ec3294e231\"", - "lineNumber": 4, - "offender": "\"99432bfewaf823ec3294e231\"", - "offenderEntropy": 3.355, - "commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "entropy", - "commitMessage": "more secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:54:08-04:00", - "tags": "entropy" - }, - { - "line": " const AWSSECRET = \"99432bfewaf823ec3294e231\"", - "lineNumber": 5, - "offender": "\"99432bfewaf823ec3294e231\"", - "offenderEntropy": 3.355, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "entropy", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "entropy" - } -] diff --git a/test_data/test_local_repo_four_leaks_commit_timerange.json b/test_data/test_local_repo_four_leaks_commit_timerange.json deleted file mode 100644 index dafafa47..00000000 --- a/test_data/test_local_repo_four_leaks_commit_timerange.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_4", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_nine_aws_leak.json b/test_data/test_local_repo_nine_aws_leak.json deleted file mode 100644 index a0df4992..00000000 --- a/test_data/test_local_repo_nine_aws_leak.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repo_9", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_one_aws_leak.json b/test_data/test_local_repo_one_aws_leak.json deleted file mode 100644 index e01805e4..00000000 --- a/test_data/test_local_repo_one_aws_leak.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repo_1", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_one_aws_leak_and_file_leak.json b/test_data/test_local_repo_one_aws_leak_and_file_leak.json deleted file mode 100644 index 586282d9..00000000 --- a/test_data/test_local_repo_one_aws_leak_and_file_leak.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repo_1", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_one_aws_leak_commit.json b/test_data/test_local_repo_one_aws_leak_commit.json deleted file mode 100644 index 586282d9..00000000 --- a/test_data/test_local_repo_one_aws_leak_commit.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repo_1", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_seven_aws_leak_uncommitted.json b/test_data/test_local_repo_seven_aws_leak_uncommitted.json deleted file mode 100644 index 96746a89..00000000 --- a/test_data/test_local_repo_seven_aws_leak_uncommitted.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": "AKIAIO5FODNN7EXAMPLE", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "0000000000000000000000000000000000000000", - "repo": "test_repo_7", - "rule": "AWS Access Key", - "commitMessage": "", - "author": "", - "email": "", - "file": "file", - "date": "1970-01-01T00:00:00Z", - "tags": "key, AWS", - "operation": "equal" - } -] diff --git a/test_data/test_local_repo_six.json b/test_data/test_local_repo_six.json deleted file mode 100644 index 7ce5d3be..00000000 --- a/test_data/test_local_repo_six.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "line": "api_token: exampleSecretPassword", - "lineNumber": 3, - "offender": "token: exampleSecretPassword", - "offenderEntropy": -1, - "commit": "e7bf376f855ae9bc6e3bb27b5f9d65c57eba799d", - "repo": "test_repo_6", - "rule": "Generic password", - "commitMessage": "More secrets\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "config/config.yaml", - "date": "2020-02-19T04:08:26-05:00", - "tags": "key, Yml, Yaml" - }, - { - "line": "db_password_token: exampleSecretPassword", - "lineNumber": 3, - "offender": "password_token: exampleSecretPassword", - "offenderEntropy": -1, - "commit": "e7bf376f855ae9bc6e3bb27b5f9d65c57eba799d", - "repo": "test_repo_6", - "rule": "Generic password", - "commitMessage": "More secrets\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "config/config.yaml", - "date": "2020-02-19T04:08:26-05:00", - "tags": "key, Yml, Yaml" - }, - { - "line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE", - "lineNumber": 1, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "95cf0237f8cdfc0686a29df08260d8635f46c9b0", - "repo": "test_repo_6", - "rule": "AWS Access Key", - "commitMessage": "AWS Key in properties\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "config/application.properties", - "date": "2020-02-19T04:04:15-05:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_six_filename.json b/test_data/test_local_repo_six_filename.json deleted file mode 100644 index 63102fce..00000000 --- a/test_data/test_local_repo_six_filename.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "line": "api_token: exampleSecretPassword", - "lineNumber": 2, - "offender": "token: exampleSecretPassword", - "offenderEntropy": -1, - "commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247", - "repo": "test_repo_6", - "rule": "Generic password", - "commitMessage": "Adding some secrets in config folder\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "application.yaml", - "date": "2020-02-24T14:13:15-05:00", - "tags": "key, Yml, Yaml", - "operation": "addition" - }, - { - "line": "db_password: verySecretProductionPassword", - "lineNumber": 3, - "offender": "password: verySecretProductionPassword", - "offenderEntropy": -1, - "commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247", - "repo": "test_repo_6", - "rule": "Generic password", - "commitMessage": "Adding some secrets in config folder\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "application.yaml", - "date": "2020-02-24T14:13:15-05:00", - "tags": "key, Yml, Yaml", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_six_filepath.json b/test_data/test_local_repo_six_filepath.json deleted file mode 100644 index 72229301..00000000 --- a/test_data/test_local_repo_six_filepath.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE", - "lineNumber": 3, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247", - "repo": "test_repo_6", - "rule": "AWS Access Key", - "commitMessage": "Adding some secrets in config folder\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "config/application.properties", - "date": "2020-02-24T14:13:15-05:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_six_filepath_filename.json b/test_data/test_local_repo_six_filepath_filename.json deleted file mode 100644 index 3455e688..00000000 --- a/test_data/test_local_repo_six_filepath_filename.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": "apiToken=d41d8cd98f00b204e9800998ecf8427e", - "lineNumber": 2, - "offender": "Token=d41d8cd98f00b204e9800998ecf8427e", - "offenderEntropy": -1, - "commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247", - "repo": "test_repo_6", - "rule": "Generic password", - "commitMessage": "Adding some secrets in config folder\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "config/application.properties", - "date": "2020-02-24T14:13:15-05:00", - "tags": "key, Yml, Yaml", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_six_leaks_since_date.json b/test_data/test_local_repo_six_leaks_since_date.json deleted file mode 100644 index 72229301..00000000 --- a/test_data/test_local_repo_six_leaks_since_date.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE", - "lineNumber": 3, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247", - "repo": "test_repo_6", - "rule": "AWS Access Key", - "commitMessage": "Adding some secrets in config folder\n\n", - "author": "Noel Algora", - "email": "noealgigu@gmail.com", - "file": "config/application.properties", - "date": "2020-02-24T14:13:15-05:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_six_leaks_until_date.json b/test_data/test_local_repo_six_leaks_until_date.json deleted file mode 100644 index ba43af80..00000000 --- a/test_data/test_local_repo_six_leaks_until_date.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repo_6", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_six_path_globally_allowlisted.json b/test_data/test_local_repo_six_path_globally_allowlisted.json deleted file mode 100644 index ba43af80..00000000 --- a/test_data/test_local_repo_six_path_globally_allowlisted.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',", - "lineNumber": 5, - "offender": "AKIAIO5FODNN7EXAMPLE", - "offenderEntropy": -1, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repo_6", - "rule": "AWS Access Key", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_three_leaks.json b/test_data/test_local_repo_three_leaks.json deleted file mode 100644 index e3e43765..00000000 --- a/test_data/test_local_repo_three_leaks.json +++ /dev/null @@ -1,70 +0,0 @@ -[ - { - "line": "AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 5, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "deea550dd6c7acaf0e59432600593533984a2125", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "dev branch\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:35:03-04:00", - "tags": "key, AWS" - }, - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_three_leaks_with_report_groups.json b/test_data/test_local_repo_three_leaks_with_report_groups.json deleted file mode 100644 index 979afcc4..00000000 --- a/test_data/test_local_repo_three_leaks_with_report_groups.json +++ /dev/null @@ -1,53 +0,0 @@ -[ - { - "line": "AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 5, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "deea550dd6c7acaf0e59432600593533984a2125", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "dev branch\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:35:03-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_3", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_two_allowlist_commits.json b/test_data/test_local_repo_two_allowlist_commits.json deleted file mode 100644 index 9365ec9c..00000000 --- a/test_data/test_local_repo_two_allowlist_commits.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_two_leaks.json b/test_data/test_local_repo_two_leaks.json deleted file mode 100644 index 1299801a..00000000 --- a/test_data/test_local_repo_two_leaks.json +++ /dev/null @@ -1,53 +0,0 @@ -[ - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_two_leaks_commit_from.json b/test_data/test_local_repo_two_leaks_commit_from.json deleted file mode 100644 index ba981e94..00000000 --- a/test_data/test_local_repo_two_leaks_commit_from.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_two_leaks_commit_range.json b/test_data/test_local_repo_two_leaks_commit_range.json deleted file mode 100644 index ba981e94..00000000 --- a/test_data/test_local_repo_two_leaks_commit_range.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_two_leaks_commit_to.json b/test_data/test_local_repo_two_leaks_commit_to.json deleted file mode 100644 index 9365ec9c..00000000 --- a/test_data/test_local_repo_two_leaks_commit_to.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 4, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_two_leaks_commit_to_from.json b/test_data/test_local_repo_two_leaks_commit_to_from.json deleted file mode 100644 index 2e74682f..00000000 --- a/test_data/test_local_repo_two_leaks_commit_to_from.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_local_repo_two_leaks_deletion.json b/test_data/test_local_repo_two_leaks_deletion.json deleted file mode 100644 index c1b98226..00000000 --- a/test_data/test_local_repo_two_leaks_deletion.json +++ /dev/null @@ -1,98 +0,0 @@ -[ - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": -1, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "f61cd8587b7ac1d75a89a0c9af870a2f24c60263", - "repo": "test_repo_2", - "rule": "AWS Access Key", - "commitMessage": "rm secrets again\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:32-04:00", - "tags": "key, AWS", - "operation": "deletion" - }, - { - "line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"", - "lineNumber": 5, - "offender": "AKIALALEMEL33243OLIB", - "offenderEntropy": -1, - "commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba", - "repo": "test_repo_2", - "rule": "AWS Access Key", - "commitMessage": "adding another one\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:12:08-04:00", - "tags": "key, AWS", - "operation": "addition" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": -1, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "996865bb912f3bc45898a370a13aadb315014b55", - "repo": "test_repo_2", - "rule": "AWS Access Key", - "commitMessage": "committing pem\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:07:41-04:00", - "tags": "key, AWS", - "operation": "deletion" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": -1, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_2", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS", - "operation": "deletion" - }, - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 5, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_2", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS", - "operation": "addition" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_2", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS", - "operation": "addition" - } -] diff --git a/test_data/test_local_repo_two_leaks_file_commit_range.json b/test_data/test_local_repo_two_leaks_file_commit_range.json deleted file mode 100644 index ba981e94..00000000 --- a/test_data/test_local_repo_two_leaks_file_commit_range.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "wait this is actually adding an aws secret\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T13:01:27-04:00", - "tags": "key, AWS" - }, - { - "line": "Here's an AWS secret: AKIALALEMEL33243OLIAE", - "lineNumber": 3, - "offender": "AKIALALEMEL33243OLIA", - "offenderEntropy": -1, - "commit": "b10b3e2cb320a8c211fda94c4567299d37de7776", - "repo": "test_repo_2", - "repoURL": "", - "leakURL": "", - "rule": "AWS Access Key", - "commitMessage": "adding aws key\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "secrets.md", - "date": "2019-10-25T12:58:39-04:00", - "tags": "key, AWS" - } -] diff --git a/test_data/test_only_files_no_git.json b/test_data/test_only_files_no_git.json deleted file mode 100644 index 27884e74..00000000 --- a/test_data/test_only_files_no_git.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/README.md", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "flag go", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_10/README.md", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_2/secrets.md", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "flag go", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_2/secrets.md", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_2/no_secrets.md", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "flag go", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_2/no_secrets.md", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_3/no_secrets.md", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "flag go", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_3/no_secrets.md", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_3/secrets.md", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "flag go", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_3/secrets.md", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_4/secrets.md", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "flag go", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_4/secrets.md", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_4/no_secrets.md", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "flag go", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_4/no_secrets.md", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_5/notes.md", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "flag go", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_5/notes.md", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - }, - { - "line": "", - "lineNumber": 1, - "offender": "Filename or path offender: ../test_data/test_repos/test_repo_8/README.md", - "offenderEntropy": -1, - "commit": "", - "repo": "", - "repoURL": "", - "leakURL": "", - "rule": "flag go", - "commitMessage": "", - "author": "", - "email": "", - "file": "../test_data/test_repos/test_repo_8/README.md", - "date": "0001-01-01T00:00:00Z", - "tags": "key, extensions" - } -] diff --git a/test_data/test_options/test_local_repo_commits.txt b/test_data/test_options/test_local_repo_commits.txt deleted file mode 100644 index b3b16ca0..00000000 --- a/test_data/test_options/test_local_repo_commits.txt +++ /dev/null @@ -1,5 +0,0 @@ -d8ac0b73aeeb45843319cdc5ce506516eb49bf7a -996865bb912f3bc45898a370a13aadb315014b55 -17471a5fda722a9e423f1a0d3f0d267ea009d41c -51f6dcf6b89b93f4075ba92c400b075631a6cc93 -b10b3e2cb320a8c211fda94c4567299d37de7776 diff --git a/test_data/test_regex_allowlist.json b/test_data/test_regex_allowlist.json deleted file mode 100644 index 19765bd5..00000000 --- a/test_data/test_regex_allowlist.json +++ /dev/null @@ -1 +0,0 @@ -null diff --git a/test_data/test_regex_entropy.json b/test_data/test_regex_entropy.json deleted file mode 100644 index 173c5122..00000000 --- a/test_data/test_regex_entropy.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "line": " aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'", - "lineNumber": 6, - "offender": "'ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'", - "offenderEntropy": 4.631, - "commit": "6557c92612d3b35979bd426d429255b3bf9fab74", - "repo": "test_repo_1", - "rule": "entropy and regex", - "commitMessage": "commit 1 with secrets\n", - "author": "zach rice", - "email": "zricer@protonmail.com", - "file": "server.test.py", - "date": "2019-10-24T09:29:27-04:00", - "tags": "entropy", - "operation": "addition" - } -] diff --git a/test_data/test_repos/no_repo/tmp.tmp b/test_data/test_repos/no_repo/tmp.tmp deleted file mode 100644 index 1c2f433d..00000000 --- a/test_data/test_repos/no_repo/tmp.tmp +++ /dev/null @@ -1 +0,0 @@ -tmp \ No newline at end of file diff --git a/test_data/test_repos/test_dir_1/server.test.py b/test_data/test_repos/test_dir_1/server.test.py deleted file mode 100644 index a1ddd32f..00000000 --- a/test_data/test_repos/test_dir_1/server.test.py +++ /dev/null @@ -1,9 +0,0 @@ -# Do not hard code credentials -client = boto3.client( - 's3', - # Hard coded strings as credentials, not recommended. - aws_access_key_id='AKIAIO5FODNN7EXAMPLE', - aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE' -) - -# adding another line diff --git a/test_data/test_repos/test_dir_1/server.test2.py b/test_data/test_repos/test_dir_1/server.test2.py deleted file mode 100644 index a1ddd32f..00000000 --- a/test_data/test_repos/test_dir_1/server.test2.py +++ /dev/null @@ -1,9 +0,0 @@ -# Do not hard code credentials -client = boto3.client( - 's3', - # Hard coded strings as credentials, not recommended. - aws_access_key_id='AKIAIO5FODNN7EXAMPLE', - aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE' -) - -# adding another line diff --git a/test_data/test_repos/test_repo_1/dotGit/COMMIT_EDITMSG b/test_data/test_repos/test_repo_1/dotGit/COMMIT_EDITMSG deleted file mode 100644 index 60c9e47f..00000000 --- a/test_data/test_repos/test_repo_1/dotGit/COMMIT_EDITMSG +++ /dev/null @@ -1 +0,0 @@ -comment diff --git a/test_data/test_repos/test_repo_1/dotGit/config b/test_data/test_repos/test_repo_1/dotGit/config deleted file mode 100644 index 6c9406b7..00000000 --- a/test_data/test_repos/test_repo_1/dotGit/config +++ /dev/null @@ -1,7 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true - ignorecase = true - precomposeunicode = true diff --git a/test_data/test_repos/test_repo_1/dotGit/index b/test_data/test_repos/test_repo_1/dotGit/index deleted file mode 100644 index 3a76f3781306faf5612017bf18a4b4bdb9f927bf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 126 zcmZ?q402{*U|<4b#@LPP6&Tys1%m19Dqlth1{UVIz3dDOjZ4IRR{C1x%{mHH#@5g+ zbo7+Bh;sU5y#m*(q021)i1aY<6{i-Jr55Rxq!yRx6;uMvV+aXybp=vv47!F223)+E Yjk-r?-kftzqvgflt1p>^C*RQm00RUlX8-^I diff --git a/test_data/test_repos/test_repo_1/dotGit/info/exclude b/test_data/test_repos/test_repo_1/dotGit/info/exclude deleted file mode 100644 index a5196d1b..00000000 --- a/test_data/test_repos/test_repo_1/dotGit/info/exclude +++ /dev/null @@ -1,6 +0,0 @@ -# git ls-files --others --exclude-from=.git/info/exclude -# Lines that start with '#' are comments. -# For a project mostly in C, the following would be a good set of -# exclude patterns (uncomment them if you want to use them): -# *.[oa] -# *~ diff --git a/test_data/test_repos/test_repo_1/dotGit/logs/HEAD b/test_data/test_repos/test_repo_1/dotGit/logs/HEAD deleted file mode 100644 index cb19a50e..00000000 --- a/test_data/test_repos/test_repo_1/dotGit/logs/HEAD +++ /dev/null @@ -1,2 +0,0 @@ -0000000000000000000000000000000000000000 6557c92612d3b35979bd426d429255b3bf9fab74 zach rice 1571923767 -0400 commit (initial): commit 1 with secrets -6557c92612d3b35979bd426d429255b3bf9fab74 d274003914c707212cbe84e3e466a00013ccb639 zach rice 1571925818 -0400 commit: comment diff --git a/test_data/test_repos/test_repo_1/dotGit/logs/refs/heads/master b/test_data/test_repos/test_repo_1/dotGit/logs/refs/heads/master deleted file mode 100644 index cb19a50e..00000000 --- a/test_data/test_repos/test_repo_1/dotGit/logs/refs/heads/master +++ /dev/null @@ -1,2 +0,0 @@ -0000000000000000000000000000000000000000 6557c92612d3b35979bd426d429255b3bf9fab74 zach rice 1571923767 -0400 commit (initial): commit 1 with secrets -6557c92612d3b35979bd426d429255b3bf9fab74 d274003914c707212cbe84e3e466a00013ccb639 zach rice 1571925818 -0400 commit: comment diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/10/fa14c5ab0134436e2ae435138bf921eb477c60 b/test_data/test_repos/test_repo_1/dotGit/objects/10/fa14c5ab0134436e2ae435138bf921eb477c60 deleted file mode 100644 index c32cf91d44974fe535cf2b75e37623bbcbb69492..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 784 zcmV+r1MmEJ0fm%bZ__Xo#d)Ql;*wT$f0~2=FMx^!V~k0Rp|!kC3^%!H46Yq)XJZo| zp5r*BV@x3RA+>$)J@TEv_h8VmBU2=u-N+i_&7nWUB7FlBnQo z;i(obtRTM6+Gm_lWt1|PF=MD&a#SOYUZ;s6i0y;Mj+|+2!5PsUA)yDXHLY!oW0ELk zh)by3w6Te%pbC*kQDX<75>mO?gCK2mdd=35^TM}og3wK#kXpw1yNCh5}#@E#BmA2D{Is0Jr6u8;P>SuxKWin#wA&o+sPkKhfO+F^O^9$C0QsInxPc^d&q2y+I05 zU@Ct(v OU4)Rel7nBha@t(wn|DV5 diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/3a/76f3781306faf5612017bf18a4b4bdb9f927bf b/test_data/test_repos/test_repo_1/dotGit/objects/3a/76f3781306faf5612017bf18a4b4bdb9f927bf deleted file mode 100644 index 0bd54d2c1d8cca5c8246d0dd18fc408854cbe069..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 138 zcmV;50CoR(0ZYosPf{>6GGlP@402{*U|<4b#@LPP6&Tys1%m19Dqlth1{UVIz3dDO zjZ4IRR{C1x%{mHH#@5g+bo7+Bh;sU5y#m*(q021)i1aY<6{i-Jr55Rxq!yRx6;uMv sV+aXybp=vv47!F223)+Ejk-r?-kftzqvgflt1p>^C*RQm066(7zoF4W0{{R3 diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/41/42082bcb939bbc17985a69ba748491ac6b62a5 b/test_data/test_repos/test_repo_1/dotGit/objects/41/42082bcb939bbc17985a69ba748491ac6b62a5 deleted file mode 100644 index dba982899e55860a4eb9fd52adc3deaa74d41f11..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 281 zcmV+!0p|XA0acJ&P6IIvMfuJuF6pQOL0Wamv=Q^!XXiH1wk zg=vZz}Pal`Ndeue!ODiC}gn+foU}Oq=ooe=^kN1UoO^YsFL< f<^bLNA~fc6c>uNl!{+PhK{s#uTfL|spbC+Vc>jt5 diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/49/8b267a8c7812490d6479839c5577eaaec79d62 b/test_data/test_repos/test_repo_1/dotGit/objects/49/8b267a8c7812490d6479839c5577eaaec79d62 deleted file mode 100644 index b558235fa77fbc9e56902bc61148d32e42a70755..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 77 zcmV-T0J8sh0ZYosPf{>9W(dv8OUzA8Q7B3+$S=+;$uFw3R!B|BEKw-Q$ShV!%gjkt jP)|uMPA9Zjg diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/60/c9e47f150a6b713e247e6105b77f1b961f844f b/test_data/test_repos/test_repo_1/dotGit/objects/60/c9e47f150a6b713e247e6105b77f1b961f844f deleted file mode 100644 index e212d90f3fabd74203f9f743d042f0cde0bc711f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23 fcmbBdhdwu^tQ1~wf8p^i(s0T zT2HqeOm$Cvty?mYbnd$p&zYJo)?BWL&a|~$Qhra_#ehHSSqI*Q-)@t3iM59A1KYt+VIRAuu?D5!oHdRkh=Z9l z4cA<$LrKOpU}jv3N|`|>qIcFqRj{m1r**9L8Xu$a!_IUIWNYV39ByH(eJ>{UqF597 z79A#4MEf0o26rK4{f4$2quwNfp^adhJk7qHf6nMt@57C7ZGztf9DKb}Y9MfuE!LUp zg2m!6Q|jU9;N;*x|CEB6n3=%31P63|h2F*$dLErh!J*m}qN?<2W-9tl*$bGj!zCY&NHlkQ(qMTiioLj@689l+~EN1AUr50RZ8Gd&+}$MZK3M99|M`{3Ice zX4u^@n%_}DbSwje%cj&AR@i`ni>=(lzX2VJjGjCN+>u+Y{zR{g!ofM6$)kXg3j~)& z2y6^kC)apPpy2J&qAo2R$pFH=hF<=}`InF{anG)ilLWz;Y%yeKBIKhGT-2UUUmQ~Q q!FR5FQcf<#NDkKR$-^;CUj~4gyfU=L3Y_JaCR(NFf%*+dC9pC^&}bt7 diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/65/57c92612d3b35979bd426d429255b3bf9fab74 b/test_data/test_repos/test_repo_1/dotGit/objects/65/57c92612d3b35979bd426d429255b3bf9fab74 deleted file mode 100644 index edf7d2fb0e62b9a281faba25dcfc481559bbccbd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 133 zcmV;00DAv;0iBIo3c@fD0R7G>_5w=MY#s#>uac}=5->*66``lMf+z56U|<;PtyKXN z<3R>9@XXH6ehKWRlrY{Hqsthr=bSYfqOb%)uhL6OAFw4VFe)*ew=c%^IlA;mOZ9%D n-Y#HVF!N-C4{+3|wc72z6#gsz)nMRVrNGKGSXT7`Tx&jrpjJOP diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/6a/756416384c210ada2631f17862f5c01fffa478 b/test_data/test_repos/test_repo_1/dotGit/objects/6a/756416384c210ada2631f17862f5c01fffa478 deleted file mode 100644 index 072ee533384e5be65d132e80b92e8d46ca29a11c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 946 zcmV;j15NyR0d16FYurW)DX-B86r5$B= zb>|DAzrF9QbPg{4cBh@4dFP#Hw(6v!%OAe~@w>xU=auv4u`LdZLt1&_C({odQ!DaF zu?}uXl!P`MT(hHXYZAFgrjjv#ub67-dzTX1B{JNau47BpjuvZ|=CcKDU24e-nXn#v z_9-rj9@>4CR>scaGC$$U9O}z29E4&rX+*syaX{fXI=?34$qYk~AvlwmdXCYonOuV$ zn!%ueijGMJN+>f)ggyj32(dR6T1+iE(LT>8;8Q<;X`G%3Er!75baSyR3fGW!6nIk( zCPb#PoK5-l-Rft$Ik&ty_hZ-5o15dy0%d)1VAjU@n65RX;4X4;a7cIFC1<)>)fHLS zG&DzQZ`==QM=3CqRDW}wzU4W3tr}Vr+j2Uh5@XQF=kljT;|lb7*U(PJY=(A&xyTkH z@a5|L?cE(|m)dir$Vj19Yz+L&#t3qbye#r1+%d6s?s_U-i*MW--B%)Awl6MU#GPvO zKiIke=>$%O36+>Ehp;U8iEFyNIew#Yw?Sg0p);wG&=ZEL4P$!jZI-%EskCovY=Pjv`|ME^ofp-m4V*`;On-CztfNx^uqk1Yp2qt`B-L`|aoqrcB1thQ$a2WgOi4qWGyAfflt zVW^QVFHRzzk1^zJPvP{8qVsjeQJsjNM-zB20PC9oMvEmw0i|lqsO9L^9(!je zY0KgO!HFh1GRtLIo4Q3nSt??s_-=>adRBrvn0LLR@(Ug9q5oPO5Z&MYwYtB*zSX8n zOD7+w{O8lhixc`v+nUPyRBgPN7pull-oE|#?)P7ccOgi)q7|MXEKY{Ts&_A0Csl$q zeo)eDY*}s8bpQwA`-sQm#ky=IJWhihSoA#cSW@=z$7sE|wjb73&%sOtf!|_U`Ki U?AIJ_Y5s+)Q~BHc07G9gA$trp-T(jq diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 b/test_data/test_repos/test_repo_1/dotGit/objects/6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 deleted file mode 100644 index b098b0b66e206a72124d32206debad73e240f4ee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2176 zcmV-`2!Ho@0hL($Z`;Tb?yursF{h}tlCB;Yhx@e zWu`QQ*14r9WUSEE&`Rai8XM-g{#7lQ)WrG?_S= zrZ!efQMwx=buJBUg&|n<5xN)>Hlo2IE?8<&r5o7HdcCzP8Y)e)tnH4r8(I0s{N7pD zXw8=Tg`)@?4m6^y3rS|9wgz6^l2v=Zs5(!>8bGoeVM)Nrq5#^}4v*~jG=-(S13YX)b+asTv%x-_+*qY|(Q_}l>|bvkKJ9O zV414;J*kXJVPL|P=%qn^(Cc3~mOfy(KjA&jm5aR$DiQjkaCu?y-Z>1kan73jcW>v- z4Sj({=|<7BzbvT#3MtbtXFYX;JA%#g&051a`XQ$U_DQnZ9R-t)X>j`H$A7;&ygUle zOS5JVKaLU`v<+@$-0PzC`#f?Xj}`st`>G$*4FBALK7zth)SSM(-t5Eh-QnbWG086f zI-(iN_lD?P$Ioa!;=5Zib&=cQ?0q#G2YB;K_X_Qc7`rTFNyApowI1Re%5BmJPlu-S-w@gZX7}VUNY|J!p%~zQ8b~{{FV5o-6iqm;FEd@c#Vu z+0~0z=Sgyb9v7Rkn<e(vSGPS7bphRB9JIo>9+PAH{DF!_N<5*-I0 zGC5Cc-feF&)VOBBT_M`)<{mgXkioA`H=NZvvHQR9>rZf<9jG#;05qjEZe%(^FMt z`MS|!iIEg9lfjQKFRspCzM1(qz{+8mIocn=@Mx@c47DPxyQepn` zam*($YbN?9ALc-I3?>LXvLVPGH{B)xfIMA%@L=Na^v9HFe_T+Hs|8e*=UGn zzY#Tf>=}*I81jZVc}9pGPDUGFfuY&052Yr8Kp_4h?SY|!55+j6xuggg3hwuMAds3& zCV%)1S?X5In0ENY{|~NNieCz7=I@eDS?2Bn2(e68$ya3f5k65eg|_xf&;3h&pRgr- z(fPUu?$7)7G75I(mJZ_C9mycq731su$E%z4W}ExdCQ{(pGsnp@Q0qWps)P_04HBQ z|HC7^tE_NB(qb)>=MOf%;09gR4JLM!ZYHt+VJ95+;(6wS_a=9&Z%Bk#IthP{KtfB@ z1!VR(WI8*)V<6@h7T=rK1+#bv#yfU8by$ED^}uByyy||BiACVsr7(%(-~Rym!v%V@ C_Bz%8 diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/80/8b12c5ca4b142367932e7045d555a639fc148c b/test_data/test_repos/test_repo_1/dotGit/objects/80/8b12c5ca4b142367932e7045d555a639fc148c deleted file mode 100644 index 9cd8d69460c86bbcd9b032b9c98776f077f08c21..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 209 zcmV;?051P{0Zorji^4Dv#XaX!4D`?yMX<7Z@=$I4!@4ShsHc)<1`XB(GQp+aeq&W| zPH$j-@4YE2TS78SS`lOxjP-Dl4nbKYP>zs{*Ro=vDjg(@p|su(de8MsK$w^Zako(s zEZ#5zd#BBrLGq_jx5;p%?CnMd340AG|G1D!5p!{+y3ja|)1PI!+;X&yJ} zSKao%?;|PMw46E3I-@`pk$3#=?z@ktMXna~=G)o%H{Dm$MJA^@jk-~n-boUl_ejwG9Hm0@1DYyih6^T#^<>(>4_*6~%F=+bqv% zA;|ebh?&IE*y{WgVxx3sR8dWczOQI05?GdM&r-KdOv=+ zy}$YJ3!{%$7LklPB2LjZH;$J@X>kHb-R!QVE$}#iF=2FlcF`EpYdEh|Nn0+>$UViX zwEbIdHb_r>pgWA<|InCv=kyj~UDI114<39l*Mnx~Cs1b=C0P`NQD=hDSoyfT_5N?~ zwc$<~o-^ES99SMY@=>A+k_s~DNd<9;Hii0K#KyjYM-BBD3+m7Q z=2PEfAv4Hwr;Gb>d@u{(rA}30?rUfB-koT zO&|M?$2Rz#+S$s2kQ=_j#L=iCe0jm@bRbzB%b|n3`SSR@)wF=qRx11g-ang&8#_4I zfxutNFNpXgN*wJWw(A-eY}f1uDCz8s{J8gsQLjKcdv)>Yn$XpcQ(0nqy0|`@A!>gI zg$1}p-usP7AH~B&v8*tQX4>c=%kJ8;&Ha-bTV9ZZz{%4|NO5ADagEh{tvzWxc`6V{Li;sv-@2XT6gZMlA$rl^Ro&wj)x3Z;J5!cXqFz&@9#O z+{cX@FfO5g4^nNRX;6Jq3HdJ{D@y3MebZsZ?WpgMTF%`Bx0kBcP4`14Go4~~by{{F J{R5J=dNhq_Y9s&v diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc b/test_data/test_repos/test_repo_1/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc deleted file mode 100644 index 2103921e..00000000 --- a/test_data/test_repos/test_repo_1/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc +++ /dev/null @@ -1,3 +0,0 @@ -xMŽO ‚@Å;ï§è`‘%:XjE ¢<ɺ;˜¤»°³~ûÌ -z§÷`~ïMVê Fþ´Ó…PƒÒnÜHZ"ƒ•-xIL”Eca™¶Ú÷>±Ç ‘C¾ã¶® «,�¬)TNÀé¿Èm7 -]U¨$J¯%ù“R.¥w¬ÓBΜ`³Ö‡q|÷ûIt vÇmôÝy_6ïÙ?¨!æ‹0Šb´�ÔW\>ε9æ …êr:-†Aò+a}Æ^K§N$ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 b/test_data/test_repos/test_repo_1/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 deleted file mode 100644 index b72c5f77..00000000 --- a/test_data/test_repos/test_repo_1/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 +++ /dev/null @@ -1,3 +0,0 @@ -xuPMOÃ0 åÚüŠGV1lc.LEB`†Ä¸!Miç*a]R5!þ;N‡øââÄö{ÏÏÎ+—ãìôt§³;Ì�z-:¢ƒK zQ«º"hç–ðEcê€à°RKÂÚ\‰zí5\Œ³~À¬™¦/š7Ì~Ú‘‡ªª_h­|PMÀÆ�næªXf]Rv�†ž¨ßTVÙh²Ì$ÈmSþÔ„ñÑׂ�D+dUÎþƒæF\âˆ%­Z}VJ{²n¨ßPAæ™ä@S"�è[Èôz2›ß=Üß̧w³Éôv~5}¸�IÁ¬HLv,’�nu"C¦F¢_ÅÏ?¼dáD’гª 9¬){üeÆŠ/,Ó$axZòu ƒgm -‹(·jÏòc•~Üøé[+Ñ9ÈÞ%.öN"s<æ¸=àVéŌ⯠-~L–îïbÔãþÂY¥eMª$ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d b/test_data/test_repos/test_repo_1/dotGit/objects/a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d deleted file mode 100644 index 0aabdd404ead93e87747db7463148dcfc4406264..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 57 zcmbOuDK-kgbrAKuAb%2QHA^dN)z?r`Std5O*i(wxzt< z<8Q{(x!A$u)AQBhdezymA|n=J0q+5Dr+sn=CdLg=pKW5`2))6618flb=)GldaRiS< zdPHEo!2sR95OhjzpEUOdh8#WULR4N`cM`V;qmKfb9Za0uy0{kP*0O;RgZjc8fmriI zpa;ebmT0nJEV$Vt$CRyRJW;_8PzgFP)wsklU8HRR&W@HU!nwG`b(P|}99}$jdTOu^ zk70`_=&qE)#?m48J>)X-$4Qk|l>GZ%c^YLaL<^&3MMe?wl*C+K*}clt!8Zn-Acho3~C3mIU^)2m!&xD{|}q*hdbH4$sh3|egWDEqwx$qkTC!N diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/b5/8d1184a9d43a39c0d95f32453efc78581877d6 b/test_data/test_repos/test_repo_1/dotGit/objects/b5/8d1184a9d43a39c0d95f32453efc78581877d6 deleted file mode 100644 index 043d9c546046fd8e97c51aa441fc04770e35a2e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 529 zcmV+s0`C2I0ezC&Zqq;zhPjQO;>U@|L2;~bfdHwI3PI2tDpB`}kZNs@?N#kvcX!=# z2=C6U-H3n?H&HU4`43;5);h(@S1+E7pT?Skk)oml@JP|ZH;b? z6poIOAq#i~p&UDEKGm&vW|blO>cmsBW?kzC?#HW?^Wh1I$B^(nm;@^%yre|R5M9N$ zKKBxaM_js}_*E|z4qj1X%WxI&<+bt?#?%|6#HM~vLt={uxbsp!cg=(5Nq|o`L@x9z%<+64vz diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/c9/8e6c52cbd1f50de572ff12a3441271fccff705 b/test_data/test_repos/test_repo_1/dotGit/objects/c9/8e6c52cbd1f50de572ff12a3441271fccff705 deleted file mode 100644 index 14206b0be8055a643e766f4891228035eb86c109..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 158 zcmV;P0Ac@l0ZYosPf{>6F=cS^402{*U|<4b#@LPP6&Tys1%m19Dqlth1{UVIz3dDO zjZ4IRR{C1x%{mHH#@5g+bo7+Bh;sU5y#m*(q021)i1aY<6{i-Jr55Rxq!yRx6;uMv zV+aXybp=wA42B8@T>m~x@=YnSt7xg(`Qg?o(Y06pUwMDDPPCEZ!SShDS_fbL%zb99 MyDotZ0RKTY9%ztF9RL6T diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/cb/089cd89a7d7686d284d8761201649346b5aa1c b/test_data/test_repos/test_repo_1/dotGit/objects/cb/089cd89a7d7686d284d8761201649346b5aa1c deleted file mode 100644 index 17c8d93ced73ec5db532487582e5971988714a58..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 37 tcmbGp0iBLZ3Iib!1+(@PeSrkOqYWYCDy_E6KpY1#n>l?Jt4f_zRr-(&nB2tcWwxwjtMI6+5AFw#*6Y53jY@%`KF=nfmIn>TY z6AKoK-U@n;wRJcttiG%-=fA$O& IAAFxjc?OwAqyPW_ diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/e6/73bb3980f3c286291809e05f80873852bc3e9c b/test_data/test_repos/test_repo_1/dotGit/objects/e6/73bb3980f3c286291809e05f80873852bc3e9c deleted file mode 100644 index 144d4077bbfa5593abd0ed2b1ae93b259fa6873e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1646 zcmV-!29f!A0hL$pPa8Q9y|0_UV!A|1QjsieKinx4t`+@poGL&qy`EGka(11>Wn(Y4 zmo%dEZ@)M8E&+OXYWV<(?HSL!dGkC>N;9D+PagmJ%f^GOb~c+RomJA7olfl}Id4_& zx5MY9uv+Pvi{JK-_QvDGO6tekoz4b5*CfA)MO8|g8*@%Bx2p2w4JqyA%nC2*gYfx$ zAvBKn=iXOtoMlsy%LxodGv(*?WTZ^CY>s6ET4Ir~!+u;PWkGdCh4eD_hy;GLT$0cQ zEli=N3j0%4N;m3kVDEU|#G)Kk!a3{;x|G%_qp6?Q)=KTm6+IdR7lOQ6NQ6sTXyasV zbm8D;YV1OI&(;nO7!f@S7N+)9?Oh1Y7x+e^EMo-Z=fcxmTuPcq$r;~7=#S;jzoE`J^?*lbON|e_I-R&M|l^WeCK{N-)9&O;#KtHc^Lz z_iq{?3`s2}Sn_jV!S&h16N3Ow+M#F9-@g7U5NB^L^Yf5a;0?3IGAY_hbvkOg zc0oHkT(7H6vcb{7vAQBx>I{#?{-7 z$$dJcop01zxRvYC*RRxV7V_0>sdO*od)E+YeNg(z?F%>XKUp}t*j)N{fiMVkH>j**~Dz6w<}!v2o)vr&f3Qit))@^y({QNGu)>Xg)f+@;!Ld-G=wv`s0lpSv z>OS}x{FyTQXg4%aC@=I1*SMet6Iq%iEoBd|2p5_QZ4YKGq(k4`>ghndxzIDPBzAJ7 z*#zCclrY!mRBwfL3hF|AFe|q*^ro1C+HAkJ(1uC_UlzeA=Lg`@2A?=KB=X!qPL-R7 z9^GuBtGT&D5^1oVU_I8RKzb~n zDYUaJT*}8vwP3-GPNKx|a?pqd5M8cDEU)_epw^(mnY0U-axl}{!lUJ$g@6i(EWRQ{ zSC<}g-DHiW9D&UY*ap$65)}6>ISJ5d{uy(B|a|=I<(ygYb;woa0dQ8v>} zO7C_cRv<1((o_nBW%=6-OAX*-`j|4P>1kZP1z*@Q9!@@{kQOrypJLG)CB=;~JD9Vh za5@bEyY%$*6gOSt7Xn5272YjRp#k>~s2egt_&^7oX_oPwdlq%6P$-GUEeu@&M^REY z+oq>&|L$I+?W1mfXrAjaio3w;UZAYLwi*ordPf5NgisRXejR|kpp-!l{r^8VDUDh} zY2tN2x=rE76@qGw(ZQ`vS(CF*Csz>92+L<@^jUR2Lp&1Kh2pki`scgDgYo$9ci2n1 z?Lpv|wi|&e5YXhBSkC|}PTsXXI{FXmqa(HskaKwq{NCI#+y$|RyS1PGHry@n_7$>! zlRb-b65h`!;k&dI`n_w0yI0a$W3Rvaj;t41-OLMyd(@PeM8XI%dI%+kut06_u8$rL z2=fFhUQlpZU}WR8BGujf&;!L9K3T>J>}aXvnmfHA~895N^u zUv9?2=H&feLzR+9lULz+VD}4g&T0{-&c^P37%eq_U&=yl+r9R!^gQ9s}_z*mGRDfe|FR8MI5D-!W%Pk>Ts5{we}yZ9Ch+baCPBo&IV<}Vil s|FdAcmITIy*&-ctJ8*Q3bZv4c#&{z)pIwE^!@F{gK(9Oh0QinDkobiyOaK4? diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 b/test_data/test_repos/test_repo_1/dotGit/objects/e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 deleted file mode 100644 index da7e1c7c4610280c50c51ee98c9c92925d129f44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59 zcmV-B0L1@z0V^p=O;s>4VlXr?Ff%bxC{8UZOD)nXNi8nXE2w0c7i6TmS?aFJbAA2S R+-k1pH>Wz?0RWT25#mb?7wrH5 diff --git a/test_data/test_repos/test_repo_1/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e b/test_data/test_repos/test_repo_1/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e deleted file mode 100644 index d7558de5..00000000 --- a/test_data/test_repos/test_repo_1/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e +++ /dev/null @@ -1,2 +0,0 @@ -x-ÍK‚0P×9E [�r§Kïà&0H -Ȥ&ƒ…·7~–Ý]õÚ/âq¾\õ±ó!vyrµ«q‹à�Ö´0&‘¹×� &Hʉ”AHÔÏ< dÉÁD_E±e†l$Xjuc#!EOyO5 zHPiQ?L*1%vOAYrFWHvDH>7{3u0L(SWZY952&?;n$n zzd4^#ZPJ~6MD*^RUF9oOv=}&pTpe9}UG;KPAm$vIwi0X(kcOJG56v9m+AGVhq(vIH zU)v`oZ6Plezo=7lJp+4EVv1f>W&zAS$0dBh<^XA^IS0_p;rjBw<^e;n{@dnOn}(eN zHNU4mW6WjXDakF+2bql?9;A9%>0hlds0#rTW)g5{|2V&^~#IlZMT+w;ADwwn<1$D F762delE?r6 diff --git a/test_data/test_repos/test_repo_10/dotGit/info/exclude b/test_data/test_repos/test_repo_10/dotGit/info/exclude deleted file mode 100644 index a5196d1b..00000000 --- a/test_data/test_repos/test_repo_10/dotGit/info/exclude +++ /dev/null @@ -1,6 +0,0 @@ -# git ls-files --others --exclude-from=.git/info/exclude -# Lines that start with '#' are comments. -# For a project mostly in C, the following would be a good set of -# exclude patterns (uncomment them if you want to use them): -# *.[oa] -# *~ diff --git a/test_data/test_repos/test_repo_10/dotGit/logs/HEAD b/test_data/test_repos/test_repo_10/dotGit/logs/HEAD deleted file mode 100644 index e729e639..00000000 --- a/test_data/test_repos/test_repo_10/dotGit/logs/HEAD +++ /dev/null @@ -1 +0,0 @@ -0000000000000000000000000000000000000000 5cd9652a24771400b4ce76beadbb2496a73341b8 Zach Rice 1607529853 -0500 clone: from github.com:zricethezav/test_repo_paths.git diff --git a/test_data/test_repos/test_repo_10/dotGit/logs/refs/heads/main b/test_data/test_repos/test_repo_10/dotGit/logs/refs/heads/main deleted file mode 100644 index e729e639..00000000 --- a/test_data/test_repos/test_repo_10/dotGit/logs/refs/heads/main +++ /dev/null @@ -1 +0,0 @@ -0000000000000000000000000000000000000000 5cd9652a24771400b4ce76beadbb2496a73341b8 Zach Rice 1607529853 -0500 clone: from github.com:zricethezav/test_repo_paths.git diff --git a/test_data/test_repos/test_repo_10/dotGit/logs/refs/remotes/origin/HEAD b/test_data/test_repos/test_repo_10/dotGit/logs/refs/remotes/origin/HEAD deleted file mode 100644 index e729e639..00000000 --- a/test_data/test_repos/test_repo_10/dotGit/logs/refs/remotes/origin/HEAD +++ /dev/null @@ -1 +0,0 @@ -0000000000000000000000000000000000000000 5cd9652a24771400b4ce76beadbb2496a73341b8 Zach Rice 1607529853 -0500 clone: from github.com:zricethezav/test_repo_paths.git diff --git a/test_data/test_repos/test_repo_10/dotGit/objects/pack/pack-bb11838b7e60925aeee8a41a4a2b508b576b4b4c.idx b/test_data/test_repos/test_repo_10/dotGit/objects/pack/pack-bb11838b7e60925aeee8a41a4a2b508b576b4b4c.idx deleted file mode 100644 index 7070ac4863c9266152e56f8137db246767c99763..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1436 zcmexg;-AdGz`z8=xBw$if>;bPhnkofXx?DPEI{{>i`jsB2O6^j-7wTJ2hh#fFegxa zq+>2%7{D+$kd2IafP5I{1+q~vTcy*xH#Nehj8ty5`Y)}nYcz;8XK>oMlr`y(iFkO3CNQuK&!d3fZx!UGgxks+Z?p)?_AU~@s zrsdMbb;~czm7QARi-UBcHB{WW!aUqNaOZv z`=q2TkW{{F-NX+{3syF&MTwz$>2Z^O@Ry8ncpJmh`YU^*vzQklET zlph~o--vzuz(f8-+_9zIlai{~a+5>8{I7Yy5Ul^Uxz(m&r$Ei`sm~a5e;mD^f7;`v zTlTHK9bLL!>Ss*$@A&;=((yOvGpbFxvyX`0y|b%)g^JesS@-&7gO6TXZ5$(X*OPy1 zv|`_3vG+kQZmQZ>JzQ7NnVkIjVrjU*uMbbJX+O>QT7U8O-*RB~4+bVXV425}4-EQD zV3sa{gfr)FAU^_F92x;>F(7sYVxW4?2fGEEyXz7rMZJ5mM9ND$pgTO<+s8ZPh8-YIHf=}3`mr`NTH!B5ETW&8Z}ZxvI1%b$umt+RTWO8 zj&Rxvkix=Dk(w7&QK?Q9m{Vo)Xqp*HO%)>@tGcNd6NwC>WE>nxRuX;(ag|Z<`pqB4 z-#g9(Ya3G4&lzie0R=&9s3yi5c!CCm(j#puAt(p)N_ayGUR%a#SKr@Hl_-bwKeJPJ z>Z=oY`Yqd?`zsL6L$LAZD{H%p-9NbmByj8P%(g7sv8>3B76lArIzCezvBv)y`KGz4AsB?l}|5SIM{?%Fc4TNBj{ zDdLMBWzI}Lhd1Wq@vw@laUwp3@R2$KTcC2CiMb3=MQJKjvL3e zw>Z!0E(&<$HOnx@nVe()a`q%Z0^5(=J8M6^OuI5SL4|x-mzzyBPRr2yJQlK#y!+9~ znxV#HI&6Bsb#6jWoo_YFWeH4F+r7Rhobt;oagXZ!x}Gx99d)H7ZxpC33v|O7Poe(B?9U*4=rr%PQMNhO5T1Y;F{POBbQ0OxHzk|dn0wZ^b(#Nv?bBdrCd9=z&^LON~*Aui>?Y#*Omep zCfSc%+27Kl9~s(4vXhkFfhJChyLq>oQfRfeI&h}h@{3yW^jS7A57J;8sds4y1)%6y zGhi)i$Ha64G2C3Aa$KgPYD}3|`TS`O<8%?}c7*(fOBb_oXh{BZcHfml#-6CnX(C6DPXXAbXCSI9 zRdW#I6_JW?Hc6$CcTY1?SFRQ8^5x^ORaSV^DyLZ==Ukj!$+~uMW90d}0N%qhdkBA< zxqGjl-$1fjZ*ASX3c${^S%W|SX07dtFMenIZo{dx`Q)yZRH1UCe z!mjCV5alHS34VPtGuxTFxwlT$U7fz;9B53QYr2wB(=Zg6swRPqYD|+^`ZG0+N-%?D zPK1_pyzYTc=NeO(OgJ%^WHOnVnJRIaDV!0LlGNmxYG_m-Lw{~MkPvz%-30uCa`5u# zeyV$GyQXjIiWKEDZK_{DhLWKxCY)>FNzx@r_@PzN_q+p6(Yr$mUh1afZ8^Q=MSmXB z|J?F6|15Iw^gEXAcpI>DcHrPS8x(}T{f7%c0OO}cErcwL(B9gwGHDlt*tgck`J!#_ zYUhmzG1v3Za!Oq}5TPFid8yocc7MOXH59;VpQr|Gh&Ul_8({qrU1`W&kxU#(es#Ie zHg?b|j85~zL&xdCcOUC~i9P04Xck`tK!$6!MTQEm<2?rofv0^qXO=*kC|@xaAXn5pBes`!_6zwvzf+AgRNXtWc96qh6WXw77_gVac5q4>*1WFk~%r5s*Y0% zax>MkT+h=)HL0cQdXf>7CZrZO`LJQFiQ>{6|)_#kDNJ z>tEP&Z3yitgrOZSb1~Q!(~XS{R;hlkaQ6;j=D04z zp10So&7O9n++0WLung9iJp>R+r8aKwD|gYvCpgcI+oB;NWzs}V^P<+L{pVPPbhW$& zvgRLnrwwh4#R54yix+A1yztUh=|f zw{4vdqHENaytpd@px8U~bCpek8r~iPV8E$khABb=i^7+?KE$^4)Rc$_mdFfcPQQP4}zEXhet z%r4d|$Bl$3BA@r-#xG+W%Yox{Mx9J{2NVnjLWz=Ng%PtXp?>q}^K z#Z*vDG2Nn)gs>5$Alf~kglmVtXP@LBKNSA%|9gDcKR*C-26lU~0eGBKRwzj=E{QKn zEy#~ANG!=H1^_oH2AHz}c$_QA$ShU>qC|zH#1sX+s>}i|06}pED5L^-oHH~qFf%bx zNJ>o6OUX~JVEFRC<^e;n{@dnOn}(eNHNU4mW6T8r?*$J2I(VE*N=#AEOUX~J-~s>= zE(0!Rf@yf1o4}YhQ7a7q2XF!zWD$6rOY@lE0RRKs0f(gmc$_mdFfcPQQ3!H%bn$i7 z%S~bU{bSPcH|H~|O}ev>h~B-kt9*ru76AQD56Zg{gNuG(l3MQQq#8;qP>WYLv`dZ}8Ito;$ ztzsJ-+wyk$??b$tCodiPA|6oxB$0tPFF(FGHMuCYq*yOE1*nXH0chT5t*`yt!1RHe zeNgj!(abaL+1SzK(6yFZYkz3=$4^Jy`#x)YW#B?H3}{|RkgF?@l4LMaFyM-fX;*ns pQI~mc&&gNb=eE?&bWF{g)VkK={NcR 1572022632 -0400 commit (initial): init -85699e429f33e75541530998a5b5d457a12e6285 b10b3e2cb320a8c211fda94c4567299d37de7776 zach rice 1572022719 -0400 commit: adding aws key -b10b3e2cb320a8c211fda94c4567299d37de7776 51f6dcf6b89b93f4075ba92c400b075631a6cc93 zach rice 1572022773 -0400 commit: no secrets -51f6dcf6b89b93f4075ba92c400b075631a6cc93 17471a5fda722a9e423f1a0d3f0d267ea009d41c zach rice 1572022887 -0400 commit: wait this is actually adding an aws secret -17471a5fda722a9e423f1a0d3f0d267ea009d41c 996865bb912f3bc45898a370a13aadb315014b55 zach rice 1572023261 -0400 commit: committing pem -996865bb912f3bc45898a370a13aadb315014b55 d8ac0b73aeeb45843319cdc5ce506516eb49bf7a zach rice 1572023319 -0400 commit: removing secret.pem -d8ac0b73aeeb45843319cdc5ce506516eb49bf7a b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba zach rice 1572023528 -0400 commit: adding another one -b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572023552 -0400 commit: rm secrets again diff --git a/test_data/test_repos/test_repo_2/dotGit/logs/refs/heads/master b/test_data/test_repos/test_repo_2/dotGit/logs/refs/heads/master deleted file mode 100644 index 95800b46..00000000 --- a/test_data/test_repos/test_repo_2/dotGit/logs/refs/heads/master +++ /dev/null @@ -1,8 +0,0 @@ -0000000000000000000000000000000000000000 85699e429f33e75541530998a5b5d457a12e6285 zach rice 1572022632 -0400 commit (initial): init -85699e429f33e75541530998a5b5d457a12e6285 b10b3e2cb320a8c211fda94c4567299d37de7776 zach rice 1572022719 -0400 commit: adding aws key -b10b3e2cb320a8c211fda94c4567299d37de7776 51f6dcf6b89b93f4075ba92c400b075631a6cc93 zach rice 1572022773 -0400 commit: no secrets -51f6dcf6b89b93f4075ba92c400b075631a6cc93 17471a5fda722a9e423f1a0d3f0d267ea009d41c zach rice 1572022887 -0400 commit: wait this is actually adding an aws secret -17471a5fda722a9e423f1a0d3f0d267ea009d41c 996865bb912f3bc45898a370a13aadb315014b55 zach rice 1572023261 -0400 commit: committing pem -996865bb912f3bc45898a370a13aadb315014b55 d8ac0b73aeeb45843319cdc5ce506516eb49bf7a zach rice 1572023319 -0400 commit: removing secret.pem -d8ac0b73aeeb45843319cdc5ce506516eb49bf7a b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba zach rice 1572023528 -0400 commit: adding another one -b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572023552 -0400 commit: rm secrets again diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/0b/c3a0c9536cc7273b74f48edcc6adead16333f7 b/test_data/test_repos/test_repo_2/dotGit/objects/0b/c3a0c9536cc7273b74f48edcc6adead16333f7 deleted file mode 100644 index 66cbf0901d664638bb2f6f321a850d8dd1d31705..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 55 zcmV-70LcG%0V^p=O;s?qU@$Z=Ff%bxC{9f-N-ZhY%S~ahy|pnd7G-oh0FfcPQQOL`WFHTJ^N-ZhY%S~ZWu?>!Gc{~00Azsdt zmkxaq52$~V2vrDCrB{%e%OL9Taq=G3EmO`um=sx6xt@j5g8dDODzI706#d?0B~AEu VLjF;})9u!6*GyJ60sxb_GE!YvGHw6> diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/15/40f193bc25b494cde092597a79af04013807ec b/test_data/test_repos/test_repo_2/dotGit/objects/15/40f193bc25b494cde092597a79af04013807ec deleted file mode 100644 index 5ad713e1584537fe3054161ef01357ec82e4cd80..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3391 zcmV-F4Z!kv0d1LEkKD!)h4buR(byLy!0bSB5ZlR%u~s5@9ZL=*A%-8DWY4fQB%9`C z$Kzk0?^HKucjfrO#tzBux|}+7s$6xca$o)Zo3H-l_~&CArr^%{mv>!STspX=jl*%~ zM^~q{Ylat#Ym$qD^Mm{F{`TuvJ6ElXp4)dz8{EOqOPCjTTraar14jf`b*Vn_O~bhl zp>b2_xkGm`3qA#odc$vL`QZlKtAaf_#0hK9X=>bkd8$MCwh41RMPB0& z*=m=Jogc#9-4B>Ehn?&FrQ+{@Jz!l;?5fFkd-okd!EwbCThb6*<1dPv{Qc13L-=hB zQw&4RD=ptDgl1anAMEy-50=(1n?vKuX~nC}^k<>ouG~33>H^Q)Ax-46Pkk7c{TE*- z%lG89uGeY82D|uY-z}CJyqCenSxZbDeCL+Q$3gzjX<8z_{v6y8Lc;;CUcPiKZ<3Fk zXu_<>)u|_E3#q}~>-WmPUlvYtZ{s{i!0|r#=HlkXFYCN_A21Y~FanfJ?se+YB5ex9z0Wb4t-_vsAyzD*86%&^K6l=JkS_~{V*-F`{w2DB}v9N6^zPs#gY3=2hMj~ zuLOo1_&VtZ40-LlNQj5%9g*wpU_h8{tuFnv&%a!dxW8^mQNDU5i0aVV2 z0{80*dIQyK_VO@SQ!y2iN`@RlhV232U; z8`3koW;J*Fi^EMSYBRX@Qy}#Bc2W6UyvU2`44FJJn6QXX3$c&byam3A57Br8fHW)Q zREUTeX5b4d`3m2BT4_ws2mOl--vgo8b>x1I_Pbh@?@r21>00Imp^W5pEBNy0IHh%H zc97pWKvhtXSX6nNQz`x>LpgWQ+$Kd_TN~~DQn&Kf8o?52ITZ4&V`akJrv&JpT0*UO zH=ks*^@VGOTKWqW(fVlwod&c^@R^hk!Xt5>$#nyV0WKq0Wohp0Ar+fF1t0ZlkcU=e z2wjw9S3y|8sJ;6hNDmb63=%}dg$=0+;y~`i0{qskzd_EW7Jne@3i=TS!G3j3rSGg4 zEo$7xYr;yOd#GX2pjipSXGu9AEhrQuM#OV5(##w zsd7MJ(7^*34JVN;IiGr^PGfL?_FWagb%he3kpDvA3Tjjdl(Y`pRk-I-DWiu8%8M_#of4G}>^!mOc2d@Dz zzqwam|Bd{==s|QkE6SI&sy1Nq0F|B4Zd)MB+54NUZQjwIgcqwhMWcXKG0V-k*m(`? zL{TaC23snFuMsRtSk|+J5I73AQaWK?cANb85{R9nNO7SwYPBI4xKq7KIC{WY0!}s| zFsT0WLQZ*n#p>had&6ahkG{noxhnVUNdvIxlFK8O^msG#Svs;skR1F+GM+r6xk@hc zGjf>-WWS9vK`sH-r;sGswnKOkspaR08I)-gf#01<0KpV(mVtz=`W1v+v|DE>ZdyH> zEPoVdaj+p{OKk`}hLroEC-SPa|9ZXBBKUNXm!IHsH;)#w5|_KEexJ5a^&|95HSkb>znXykqq_c@BVUSB+X$q$*4p zOAu9S`y)NwNG(t!g>#gm78X&B8LrM0#O3x7d8H81;W@$GxbG78-{Wyw>Ae=kY->%Q zpx0&**;`v=ygoUcq_7(Q`|qZCWmKWqifN)nA6om;@OV`|Rkz9&H~5E(dvp8ho5D-w zm3Ma^+>ZebL3(Q;^0NT#-7k>pX+XnH5&_NwjZI;B_fDsN(#*ci9oV=5L7<~7rS_g> z(cNUa*|~q>+r|Cu%V&|H*M|CZBVZ7E*MmIZaoIx9aNANl@u+le&)nUE|Cc$p-rD+~Vr2uooy4Q-p|X_xe^d zz(5|4G&y~kx);SU6Hpw`d$aReL%ALq*CgNkEa;i0cq_`37+3}fsZitF^hr1aL}zI- z>S&n|U)CkDPFf4hs{pozO0zQFntSMU7|qUNt&kay7bS3w7z;C42T68?gsSUT>O~s_ z-j)9>T&M$16ygMh@0r-NClN{N=8~0-H#7xVY@hZnV=tPh9`?%XmFh7ul3~AS(6{;r zkotqBzaeB-U|_=MY2khK<;x9TIni5>mu=VLQZP4+-~-SRGA1a2Ua_opwb7IU{H?nq zXOd#-0Yh#`6f&)WngpGVae^H0QFH9IXrZd)B2e?vs@#_YaaH{Uu{5f!ffQ9zG9|M$k$zyvqzUAOk1i8%u9{CRM&(l!k>~)#6bFcnNMy2Qxfz(`CL>My@b?LuN&9d+d-WEfe3#m6DDhr)9 zbiIn>BeYMG;=swsN^zbtp$h&yK61~v+A4%#={&YG>i&7vp$Iap*4he; ziF%OEVi5s<7kF4n82w~~*tl}!Rny*3N0Aw}MmlKGT&8)O;dm(`3Usf@KCU~3OYvOf zmn5{kwv3`!R?()YR17^N!_LmO3b!UKZ%z7H9{^r=4DXu`u!e)B!%1UScp-`_GhGc? zDP}2;by_rSxh)jIXdf;c>%XzqT*{=BhO7sksi=DBsH_qRxJnaGqMbsIoRGPho)#{c8~Zg1$d!c{7F?&f_$_vS@YN>)5A~7BH0&Q{-`8Cz(e8gP2ZWwWs1I zZkC8(=f)wA^?-I;+Ot7gK`?!nCk|X?2hIpX{ctHquu9Nsz!qpW_eoZhKC*`$wUMu@ zDATg!)PesN@L<0W8uBv>nEThxA$Ix$rI~#Nb<(*wf)?Z$mLi$j(P7ue;^bJP*avR8RNwIj@o#j%v_>1(gB5J(6lBvSXi zbRgp{y`=<%DU)@R)i@i6&KU{Xo2;D#ik55$5qTkX=a!BRX3927wqfzX>pY_~fj!BL z7>2fbVk_dc;zwU=gBQyRtw@6F>qG7L-fFMM&Sm?Sy8pmr93j!NIQYU*qlP;s_Vll? jdh)o}*K)!DOMmdT{Q<{VjvMd+{5;`I(o$D%3@=j8^c7ts diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/20/ef26716304570775cb395f37cb2d626bbd0a82 b/test_data/test_repos/test_repo_2/dotGit/objects/20/ef26716304570775cb395f37cb2d626bbd0a82 deleted file mode 100644 index b211c238fe8f7231b80fb95cc625489782c3b990..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfweO;QrM~8tP2Bd-Znt>6WfIs{Aze5CCM?A?I;%CGr3O diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/24/3d535d84ed97fbc20d09c9d2c2f417507fe461 b/test_data/test_repos/test_repo_2/dotGit/objects/24/3d535d84ed97fbc20d09c9d2c2f417507fe461 deleted file mode 100644 index 838bf1e1886164d1f5dacceb63dd67ee51647b8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59 zcmV-B0L1@z0ZYosPf{>3W>8jERtU++ELKR%%t=*9$xkg-$jdKLNY2kINzBYsNX)BL RC{9f-N-Zho0sxw35Zm6}7+U}U diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/3d/dab16668fe919638b76dd48c96bedf0e2276ca b/test_data/test_repos/test_repo_2/dotGit/objects/3d/dab16668fe919638b76dd48c96bedf0e2276ca deleted file mode 100644 index 94c73dafaadedfa175d39bd014335720be7c5c9f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 94 zcmV-k0HObQ0ZYosPg1ZjW>8jERtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya zR^a0DNG(cLFIGs*Q*aCqhKgG$IC^_J`Z)Ty`nviU8ylGz`}=r0x^i&=03ZAtQ+cr{ Ag8%>k diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/51/f6dcf6b89b93f4075ba92c400b075631a6cc93 b/test_data/test_repos/test_repo_2/dotGit/objects/51/f6dcf6b89b93f4075ba92c400b075631a6cc93 deleted file mode 100644 index 4258020f..00000000 --- a/test_data/test_repos/test_repo_2/dotGit/objects/51/f6dcf6b89b93f4075ba92c400b075631a6cc93 +++ /dev/null @@ -1,3 +0,0 @@ -x�ŽA -1 E]÷¹€Ò¤�f -"^%M#8S©uãé¯àêÃ{<øÚÖu@4F7ƒ” §”EfCšìæ £µ€ÑæX«Ï¶ ÷”nÛ€‚¾#-�¼ÌJˆ·*9jœSÎ5p5fNNÞãÞ:|DïÐ58~Ó¯ÏÞFÛVY'mëpbòDÌŽ>zïvº_öWì¶/Ónãå¾ýfGî \ No newline at end of file diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/5d/5c8724e8787e69cebcc9ea4bceb47d9941656e b/test_data/test_repos/test_repo_2/dotGit/objects/5d/5c8724e8787e69cebcc9ea4bceb47d9941656e deleted file mode 100644 index f1090fb35cd847048797eabe87866c168e898d94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwdjXJbc`L)Thvt^J|dA3q&+@B6Ir6##I|BXT`bBTWDR diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/5d/630e1163864c8b5616199962390a36a8a53b69 b/test_data/test_repos/test_repo_2/dotGit/objects/5d/630e1163864c8b5616199962390a36a8a53b69 deleted file mode 100644 index d93d42c3b9f9046d0473a91d5e3d49f4d6b247ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53 zcmbPBjN{}9oiLBnXFNka&YjoxJaa}nOyk^n-%t%dUp+5f&9Dbd J4ECIS3jsy?6iEO8 diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/5e/a982157d053ce35a9b79394973c7c8901f317c b/test_data/test_repos/test_repo_2/dotGit/objects/5e/a982157d053ce35a9b79394973c7c8901f317c deleted file mode 100644 index 1fe46e5225a209e5e0bce46298b1fe7cdeef9c93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwc&nWEpDtfUG5PRKtBc)H!X?V8ETMgVrLBY08lBv}9e diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/69/b7669aa8e125ef0e14abce31911e84dd09e25e b/test_data/test_repos/test_repo_2/dotGit/objects/69/b7669aa8e125ef0e14abce31911e84dd09e25e deleted file mode 100644 index d944898203cf71b47a5c469a2298f55a79daad42..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwd@_SVLS>ZM3~|dEKPd e2Us5niDpM|#R<`z_FNAAD>h{>!+ZgTA~=5#yE$?I diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/8c/b18882408aad0b2abf556bf1f2c5478ef328f5 b/test_data/test_repos/test_repo_2/dotGit/objects/8c/b18882408aad0b2abf556bf1f2c5478ef328f5 deleted file mode 100644 index d87f932750dc7f93506d0eb4a1c4f26866240a74..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmV-K0K5Nq0ZYosPf{>7W>8jERtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya aR^Z}FOb3eUDCFfUmBFU z?4iZ(z&VF$Nd;nB2}0iLoVEfbKM4wj7u5nyz!8`pdTq5e7h@5H n#H;O3hW)3bIp56mt(B4}e5CgrJAo8XC`kfa_WOSTR;Vcc+zLL8 diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 b/test_data/test_repos/test_repo_2/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 deleted file mode 100644 index c88cfdb9..00000000 --- a/test_data/test_repos/test_repo_2/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 +++ /dev/null @@ -1,3 +0,0 @@ -x�ŽK -Â0@]÷se2ùŒ¯2M&¶`š⦧·.¼€«¼XKY:�§ÞT5¦ *‚‡ì£¤+2‹úI¯ŽÐyvh§‡Mš® ;6âs&’QÙl“͘(° -☜‰ƒ¼û\ìghKT¸í_´ÇÖj¯k‘åu‰µÜÁx&$KÁÀâpØc±ë_ñ¯^Ö'lZ†Ÿ>J$ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/a6/214eec6a6290fec81fe250e5b73b86d634a981 b/test_data/test_repos/test_repo_2/dotGit/objects/a6/214eec6a6290fec81fe250e5b73b86d634a981 deleted file mode 100644 index 2511ae02c3a7bf4c0c1cae10c3216b710b085c72..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 67 zcmV-J0KETr0ZYosPf{>7WKdRCRtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya ZR^a0D%U8(FFG^L&POU8F0st#)6CKCE976yA diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/b1/0b3e2cb320a8c211fda94c4567299d37de7776 b/test_data/test_repos/test_repo_2/dotGit/objects/b1/0b3e2cb320a8c211fda94c4567299d37de7776 deleted file mode 100644 index ac93c76f113240b82f367789ed77ddde86fef0fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 164 zcmV;V09*ff0iBLPY6CG00CV;$^nn&zvg|d4kgsTEZL>7H4vs@;Uf=W!Jq-*DjJ9oC z2OyTi=w{$&CGlFAl4{0GbB;@#tg0rdCN(4?TC%%Iw|&6GsT7M?79z{cF);a3CgGWD zo3eSrkOqXQx2Ds9`75uy%aHgo!zD`Zvhs45<{Qt|+8 z%w=?DAgK*vltGg>7?aU{@eY#>Zet%}wAv$UB@XOd2c&=`w+~#t(3?SJGnTu zOuEL+qrlJDTZa>Ahn|Vye*U6AkKRVB1@rqxtvo64UTPjJN@?|Ue1%3 q4t)_1sDF|ORfwc&+Q9>hleNB2dw+R~&cPe9RbTqn+5rHDd?aRS4q2I{G;Jxca*K7#kaz82kHpI=U)x0RTC68;+D+ BC@ug1 diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a b/test_data/test_repos/test_repo_2/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a deleted file mode 100644 index f195924b..00000000 --- a/test_data/test_repos/test_repo_2/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a +++ /dev/null @@ -1 +0,0 @@ -x�ŽAj1 E»ö)t�Û²b BÈUdEIêñà¸]äô™^!«ïkom™1}ÍadÂ%ÊWO¨†$\3#'ΨY ûpÃ�Õm2l�À|,Gª•C¼aÕD…‹`öPäZ1�©9ù��>à%ú€±¨Áéõ?ã²�>ûÚdù9hogØÛÑGÄÀðí“÷n§ûÅiÉnXëËz‡§é°yج¹7¥&J/ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 b/test_data/test_repos/test_repo_2/dotGit/objects/e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 deleted file mode 100644 index aaa3f442044293fba056e43ba7f5c6ce03677cbf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 54 zcmb)7U|?ckU~Cwu;peO8rK@@Ev~OaE?=xYayw5NBgeT9LnQ}69Thhu> KH3lnoJ{|z;z7p>M diff --git a/test_data/test_repos/test_repo_2/dotGit/objects/f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 b/test_data/test_repos/test_repo_2/dotGit/objects/f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 deleted file mode 100644 index fac91610..00000000 --- a/test_data/test_repos/test_repo_2/dotGit/objects/f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 +++ /dev/null @@ -1,2 +0,0 @@ -x�ŽA -à E»ös�5JéUÆ™I¨1»Éé›^¡«ÿxðàS-eé`séM<{ŠÁ:‰!I&J‚.Ÿä§äÌèGQ6Y;d+yp8J1âÄ);DLÌ>Rdì'ã8£ÂOŸkƒi†¶�ÀýøM{n­öº\Þ7ªåÆ«íཅ«vZ«Óž»ü«V`jÒwÀ.«úÜÃKÝ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_2/dotGit/refs/heads/master b/test_data/test_repos/test_repo_2/dotGit/refs/heads/master deleted file mode 100644 index 605b789d..00000000 --- a/test_data/test_repos/test_repo_2/dotGit/refs/heads/master +++ /dev/null @@ -1 +0,0 @@ -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 diff --git a/test_data/test_repos/test_repo_2/no_secrets.md b/test_data/test_repos/test_repo_2/no_secrets.md deleted file mode 100644 index 243d535d..00000000 --- a/test_data/test_repos/test_repo_2/no_secrets.md +++ /dev/null @@ -1 +0,0 @@ -### This file does not contain any secrets diff --git a/test_data/test_repos/test_repo_2/secrets.md b/test_data/test_repos/test_repo_2/secrets.md deleted file mode 100644 index 8cb18882..00000000 --- a/test_data/test_repos/test_repo_2/secrets.md +++ /dev/null @@ -1,3 +0,0 @@ -### This file contains some secrets - -again, no more diff --git a/test_data/test_repos/test_repo_3/dotGit/COMMIT_EDITMSG b/test_data/test_repos/test_repo_3/dotGit/COMMIT_EDITMSG deleted file mode 100644 index 5f0f3ea6..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/COMMIT_EDITMSG +++ /dev/null @@ -1 +0,0 @@ -rm secrets diff --git a/test_data/test_repos/test_repo_3/dotGit/HEAD b/test_data/test_repos/test_repo_3/dotGit/HEAD deleted file mode 100644 index cb089cd8..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/HEAD +++ /dev/null @@ -1 +0,0 @@ -ref: refs/heads/master diff --git a/test_data/test_repos/test_repo_3/dotGit/config b/test_data/test_repos/test_repo_3/dotGit/config deleted file mode 100644 index 6c9406b7..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/config +++ /dev/null @@ -1,7 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true - ignorecase = true - precomposeunicode = true diff --git a/test_data/test_repos/test_repo_3/dotGit/description b/test_data/test_repos/test_repo_3/dotGit/description deleted file mode 100644 index 498b267a..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/description +++ /dev/null @@ -1 +0,0 @@ -Unnamed repository; edit this file 'description' to name the repository. diff --git a/test_data/test_repos/test_repo_3/dotGit/index b/test_data/test_repos/test_repo_3/dotGit/index deleted file mode 100644 index f00886b57b01a5a28f65974bf911c3abffde4ccc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 225 zcmZ?q402{*U|<5_*v&?}WtLpYjNPnxgRO2=G$R883-f|EK@1FyOT>Lv`dZ}8Ito;$ ztzsJ-+wyk$??b$tCodiPA|6oxB$0tPFF(FGHMuCYq*yOE1*nXHA$GIbNiIKQH!v;H z`x|OrAewn<%}2S#{(BpGil~Y&T6-c*pJnT2Wd<%Z!+_?61i88bDM 1572022632 -0400 commit (initial): init -85699e429f33e75541530998a5b5d457a12e6285 b10b3e2cb320a8c211fda94c4567299d37de7776 zach rice 1572022719 -0400 commit: adding aws key -b10b3e2cb320a8c211fda94c4567299d37de7776 51f6dcf6b89b93f4075ba92c400b075631a6cc93 zach rice 1572022773 -0400 commit: no secrets -51f6dcf6b89b93f4075ba92c400b075631a6cc93 17471a5fda722a9e423f1a0d3f0d267ea009d41c zach rice 1572022887 -0400 commit: wait this is actually adding an aws secret -17471a5fda722a9e423f1a0d3f0d267ea009d41c 996865bb912f3bc45898a370a13aadb315014b55 zach rice 1572023261 -0400 commit: committing pem -996865bb912f3bc45898a370a13aadb315014b55 d8ac0b73aeeb45843319cdc5ce506516eb49bf7a zach rice 1572023319 -0400 commit: removing secret.pem -d8ac0b73aeeb45843319cdc5ce506516eb49bf7a b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba zach rice 1572023528 -0400 commit: adding another one -b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572023552 -0400 commit: rm secrets again -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572024822 -0400 checkout: moving from master to dev -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 deea550dd6c7acaf0e59432600593533984a2125 zach rice 1572024903 -0400 commit: dev branch -deea550dd6c7acaf0e59432600593533984a2125 64cfcee9aad1c84581631636bfc54f2050718d1a zach rice 1572024982 -0400 commit: rm secrets -64cfcee9aad1c84581631636bfc54f2050718d1a f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572024992 -0400 checkout: moving from dev to master -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 84ac4e80d4dbf2c968b64e9d4005f5079795bb81 zach rice 1572026048 -0400 commit: more secrets -84ac4e80d4dbf2c968b64e9d4005f5079795bb81 cd5eb8bef855f73c46b97b4c088badffdc40ebe9 zach rice 1572026066 -0400 commit: rm secrets diff --git a/test_data/test_repos/test_repo_3/dotGit/logs/refs/heads/dev b/test_data/test_repos/test_repo_3/dotGit/logs/refs/heads/dev deleted file mode 100644 index b6e04136..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/logs/refs/heads/dev +++ /dev/null @@ -1,3 +0,0 @@ -0000000000000000000000000000000000000000 f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572024822 -0400 branch: Created from HEAD -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 deea550dd6c7acaf0e59432600593533984a2125 zach rice 1572024903 -0400 commit: dev branch -deea550dd6c7acaf0e59432600593533984a2125 64cfcee9aad1c84581631636bfc54f2050718d1a zach rice 1572024982 -0400 commit: rm secrets diff --git a/test_data/test_repos/test_repo_3/dotGit/logs/refs/heads/master b/test_data/test_repos/test_repo_3/dotGit/logs/refs/heads/master deleted file mode 100644 index 4ee29a70..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/logs/refs/heads/master +++ /dev/null @@ -1,10 +0,0 @@ -0000000000000000000000000000000000000000 85699e429f33e75541530998a5b5d457a12e6285 zach rice 1572022632 -0400 commit (initial): init -85699e429f33e75541530998a5b5d457a12e6285 b10b3e2cb320a8c211fda94c4567299d37de7776 zach rice 1572022719 -0400 commit: adding aws key -b10b3e2cb320a8c211fda94c4567299d37de7776 51f6dcf6b89b93f4075ba92c400b075631a6cc93 zach rice 1572022773 -0400 commit: no secrets -51f6dcf6b89b93f4075ba92c400b075631a6cc93 17471a5fda722a9e423f1a0d3f0d267ea009d41c zach rice 1572022887 -0400 commit: wait this is actually adding an aws secret -17471a5fda722a9e423f1a0d3f0d267ea009d41c 996865bb912f3bc45898a370a13aadb315014b55 zach rice 1572023261 -0400 commit: committing pem -996865bb912f3bc45898a370a13aadb315014b55 d8ac0b73aeeb45843319cdc5ce506516eb49bf7a zach rice 1572023319 -0400 commit: removing secret.pem -d8ac0b73aeeb45843319cdc5ce506516eb49bf7a b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba zach rice 1572023528 -0400 commit: adding another one -b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572023552 -0400 commit: rm secrets again -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 84ac4e80d4dbf2c968b64e9d4005f5079795bb81 zach rice 1572026048 -0400 commit: more secrets -84ac4e80d4dbf2c968b64e9d4005f5079795bb81 cd5eb8bef855f73c46b97b4c088badffdc40ebe9 zach rice 1572026066 -0400 commit: rm secrets diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/0b/c3a0c9536cc7273b74f48edcc6adead16333f7 b/test_data/test_repos/test_repo_3/dotGit/objects/0b/c3a0c9536cc7273b74f48edcc6adead16333f7 deleted file mode 100644 index 66cbf0901d664638bb2f6f321a850d8dd1d31705..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 55 zcmV-70LcG%0V^p=O;s?qU@$Z=Ff%bxC{9f-N-ZhY%S~ahy|pnd7G-oh0FfcPQQOL`WFHTJ^N-ZhY%S~ZWu?>!Gc{~00Azsdt zmkxaq52$~V2vrDCrB{%e%OL9Taq=G3EmO`um=sx6xt@j5g8dDODzI706#d?0B~AEu VLjF;})9u!6*GyJ60sxb_GE!YvGHw6> diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/15/40f193bc25b494cde092597a79af04013807ec b/test_data/test_repos/test_repo_3/dotGit/objects/15/40f193bc25b494cde092597a79af04013807ec deleted file mode 100644 index 5ad713e1584537fe3054161ef01357ec82e4cd80..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3391 zcmV-F4Z!kv0d1LEkKD!)h4buR(byLy!0bSB5ZlR%u~s5@9ZL=*A%-8DWY4fQB%9`C z$Kzk0?^HKucjfrO#tzBux|}+7s$6xca$o)Zo3H-l_~&CArr^%{mv>!STspX=jl*%~ zM^~q{Ylat#Ym$qD^Mm{F{`TuvJ6ElXp4)dz8{EOqOPCjTTraar14jf`b*Vn_O~bhl zp>b2_xkGm`3qA#odc$vL`QZlKtAaf_#0hK9X=>bkd8$MCwh41RMPB0& z*=m=Jogc#9-4B>Ehn?&FrQ+{@Jz!l;?5fFkd-okd!EwbCThb6*<1dPv{Qc13L-=hB zQw&4RD=ptDgl1anAMEy-50=(1n?vKuX~nC}^k<>ouG~33>H^Q)Ax-46Pkk7c{TE*- z%lG89uGeY82D|uY-z}CJyqCenSxZbDeCL+Q$3gzjX<8z_{v6y8Lc;;CUcPiKZ<3Fk zXu_<>)u|_E3#q}~>-WmPUlvYtZ{s{i!0|r#=HlkXFYCN_A21Y~FanfJ?se+YB5ex9z0Wb4t-_vsAyzD*86%&^K6l=JkS_~{V*-F`{w2DB}v9N6^zPs#gY3=2hMj~ zuLOo1_&VtZ40-LlNQj5%9g*wpU_h8{tuFnv&%a!dxW8^mQNDU5i0aVV2 z0{80*dIQyK_VO@SQ!y2iN`@RlhV232U; z8`3koW;J*Fi^EMSYBRX@Qy}#Bc2W6UyvU2`44FJJn6QXX3$c&byam3A57Br8fHW)Q zREUTeX5b4d`3m2BT4_ws2mOl--vgo8b>x1I_Pbh@?@r21>00Imp^W5pEBNy0IHh%H zc97pWKvhtXSX6nNQz`x>LpgWQ+$Kd_TN~~DQn&Kf8o?52ITZ4&V`akJrv&JpT0*UO zH=ks*^@VGOTKWqW(fVlwod&c^@R^hk!Xt5>$#nyV0WKq0Wohp0Ar+fF1t0ZlkcU=e z2wjw9S3y|8sJ;6hNDmb63=%}dg$=0+;y~`i0{qskzd_EW7Jne@3i=TS!G3j3rSGg4 zEo$7xYr;yOd#GX2pjipSXGu9AEhrQuM#OV5(##w zsd7MJ(7^*34JVN;IiGr^PGfL?_FWagb%he3kpDvA3Tjjdl(Y`pRk-I-DWiu8%8M_#of4G}>^!mOc2d@Dz zzqwam|Bd{==s|QkE6SI&sy1Nq0F|B4Zd)MB+54NUZQjwIgcqwhMWcXKG0V-k*m(`? zL{TaC23snFuMsRtSk|+J5I73AQaWK?cANb85{R9nNO7SwYPBI4xKq7KIC{WY0!}s| zFsT0WLQZ*n#p>had&6ahkG{noxhnVUNdvIxlFK8O^msG#Svs;skR1F+GM+r6xk@hc zGjf>-WWS9vK`sH-r;sGswnKOkspaR08I)-gf#01<0KpV(mVtz=`W1v+v|DE>ZdyH> zEPoVdaj+p{OKk`}hLroEC-SPa|9ZXBBKUNXm!IHsH;)#w5|_KEexJ5a^&|95HSkb>znXykqq_c@BVUSB+X$q$*4p zOAu9S`y)NwNG(t!g>#gm78X&B8LrM0#O3x7d8H81;W@$GxbG78-{Wyw>Ae=kY->%Q zpx0&**;`v=ygoUcq_7(Q`|qZCWmKWqifN)nA6om;@OV`|Rkz9&H~5E(dvp8ho5D-w zm3Ma^+>ZebL3(Q;^0NT#-7k>pX+XnH5&_NwjZI;B_fDsN(#*ci9oV=5L7<~7rS_g> z(cNUa*|~q>+r|Cu%V&|H*M|CZBVZ7E*MmIZaoIx9aNANl@u+le&)nUE|Cc$p-rD+~Vr2uooy4Q-p|X_xe^d zz(5|4G&y~kx);SU6Hpw`d$aReL%ALq*CgNkEa;i0cq_`37+3}fsZitF^hr1aL}zI- z>S&n|U)CkDPFf4hs{pozO0zQFntSMU7|qUNt&kay7bS3w7z;C42T68?gsSUT>O~s_ z-j)9>T&M$16ygMh@0r-NClN{N=8~0-H#7xVY@hZnV=tPh9`?%XmFh7ul3~AS(6{;r zkotqBzaeB-U|_=MY2khK<;x9TIni5>mu=VLQZP4+-~-SRGA1a2Ua_opwb7IU{H?nq zXOd#-0Yh#`6f&)WngpGVae^H0QFH9IXrZd)B2e?vs@#_YaaH{Uu{5f!ffQ9zG9|M$k$zyvqzUAOk1i8%u9{CRM&(l!k>~)#6bFcnNMy2Qxfz(`CL>My@b?LuN&9d+d-WEfe3#m6DDhr)9 zbiIn>BeYMG;=swsN^zbtp$h&yK61~v+A4%#={&YG>i&7vp$Iap*4he; ziF%OEVi5s<7kF4n82w~~*tl}!Rny*3N0Aw}MmlKGT&8)O;dm(`3Usf@KCU~3OYvOf zmn5{kwv3`!R?()YR17^N!_LmO3b!UKZ%z7H9{^r=4DXu`u!e)B!%1UScp-`_GhGc? zDP}2;by_rSxh)jIXdf;c>%XzqT*{=BhO7sksi=DBsH_qRxJnaGqMbsIoRGPho)#{c8~Zg1$d!c{7F?&f_$_vS@YN>)5A~7BH0&Q{-`8Cz(e8gP2ZWwWs1I zZkC8(=f)wA^?-I;+Ot7gK`?!nCk|X?2hIpX{ctHquu9Nsz!qpW_eoZhKC*`$wUMu@ zDATg!)PesN@L<0W8uBv>nEThxA$Ix$rI~#Nb<(*wf)?Z$mLi$j(P7ue;^bJP*avR8RNwIj@o#j%v_>1(gB5J(6lBvSXi zbRgp{y`=<%DU)@R)i@i6&KU{Xo2;D#ik55$5qTkX=a!BRX3927wqfzX>pY_~fj!BL z7>2fbVk_dc;zwU=gBQyRtw@6F>qG7L-fFMM&Sm?Sy8pmr93j!NIQYU*qlP;s_Vll? jdh)o}*K)!DOMmdT{Q<{VjvMd+{5;`I(o$D%3@=j8^c7ts diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/18/5715c36f82be353f34845811270a4d0ae4b24e b/test_data/test_repos/test_repo_3/dotGit/objects/18/5715c36f82be353f34845811270a4d0ae4b24e deleted file mode 100644 index 03bf1d87b2affd12fe23a57dbaf1c2ca77fec974..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwc&$5M@gPa7s@&f}eNx-+@`L>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfweO;QrM~8tP2Bd-Znt>6WfIs{Aze5CCM?A?I;%CGr3O diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/24/3d535d84ed97fbc20d09c9d2c2f417507fe461 b/test_data/test_repos/test_repo_3/dotGit/objects/24/3d535d84ed97fbc20d09c9d2c2f417507fe461 deleted file mode 100644 index 838bf1e1886164d1f5dacceb63dd67ee51647b8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59 zcmV-B0L1@z0ZYosPf{>3W>8jERtU++ELKR%%t=*9$xkg-$jdKLNY2kINzBYsNX)BL RC{9f-N-Zho0sxw35Zm6}7+U}U diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/3d/dab16668fe919638b76dd48c96bedf0e2276ca b/test_data/test_repos/test_repo_3/dotGit/objects/3d/dab16668fe919638b76dd48c96bedf0e2276ca deleted file mode 100644 index 94c73dafaadedfa175d39bd014335720be7c5c9f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 94 zcmV-k0HObQ0ZYosPg1ZjW>8jERtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya zR^a0DNG(cLFIGs*Q*aCqhKgG$IC^_J`Z)Ty`nviU8ylGz`}=r0x^i&=03ZAtQ+cr{ Ag8%>k diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/4a/3ffb6df0f421fdf325afae19dc749f8f6b1bfb b/test_data/test_repos/test_repo_3/dotGit/objects/4a/3ffb6df0f421fdf325afae19dc749f8f6b1bfb deleted file mode 100644 index 6efcf07daa19a2c267f297b45ea4fb0e712af754..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 125 zcmV-@0D}K`0Y%EO3c@fD08r&@1eE%^G;sH6^ba_JcH`iJ3;yB*5n8&2!Fl~} flRw}5{F{Am31jB>l8;E72z$#&omT1tM*StNrGY*Z diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/4b/a23978297d33c8d7744f059cc5bca2385e262d b/test_data/test_repos/test_repo_3/dotGit/objects/4b/a23978297d33c8d7744f059cc5bca2385e262d deleted file mode 100644 index 15e9e92765ea3ff2d56d095e0f193fd15271f18b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwdj`6##8e{Vxi5moU;Yfq%zïvº_öWì¶/Ónãå¾ýfGî \ No newline at end of file diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/5d/5c8724e8787e69cebcc9ea4bceb47d9941656e b/test_data/test_repos/test_repo_3/dotGit/objects/5d/5c8724e8787e69cebcc9ea4bceb47d9941656e deleted file mode 100644 index f1090fb35cd847048797eabe87866c168e898d94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwdjXJbc`L)Thvt^J|dA3q&+@B6Ir6##I|BXT`bBTWDR diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/5d/630e1163864c8b5616199962390a36a8a53b69 b/test_data/test_repos/test_repo_3/dotGit/objects/5d/630e1163864c8b5616199962390a36a8a53b69 deleted file mode 100644 index d93d42c3b9f9046d0473a91d5e3d49f4d6b247ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53 zcmbPBjN{}9oiLBnXFNka&YjoxJaa}nOyk^n-%t%dUp+5f&9Dbd J4ECIS3jsy?6iEO8 diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/5e/a982157d053ce35a9b79394973c7c8901f317c b/test_data/test_repos/test_repo_3/dotGit/objects/5e/a982157d053ce35a9b79394973c7c8901f317c deleted file mode 100644 index 1fe46e5225a209e5e0bce46298b1fe7cdeef9c93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwc&nWEpDtfUG5PRKtBc)H!X?V8ETMgVrLBY08lBv}9e diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/64/cfcee9aad1c84581631636bfc54f2050718d1a b/test_data/test_repos/test_repo_3/dotGit/objects/64/cfcee9aad1c84581631636bfc54f2050718d1a deleted file mode 100644 index 261fe7f663b2d350552fb233d05cba619f73884c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 156 zcmV;N0Av4n0iBM)3Bxc90Q>e7TA)RirNn_!x{Bf`Bv8l2aX*>9=?Z-v92{IKIj;?f z?sB1E~A3xORyOvhAtn2HRN`8Qso{)Hm1XpB4ciMBY*aqJ4|u_ diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/68/b020592645020c9afb7462e17842a1cc723071 b/test_data/test_repos/test_repo_3/dotGit/objects/68/b020592645020c9afb7462e17842a1cc723071 deleted file mode 100644 index 78d82a50de7c6818a97596fc6b5b64081cfa0043..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwd@%l>!nhcAkMKdY`^CwZr2et)*~ZvcNZBlA)SBh&x@ diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/69/b7669aa8e125ef0e14abce31911e84dd09e25e b/test_data/test_repos/test_repo_3/dotGit/objects/69/b7669aa8e125ef0e14abce31911e84dd09e25e deleted file mode 100644 index d944898203cf71b47a5c469a2298f55a79daad42..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwd@_SVL6G-6OzR#phf$ShV!%gjktNY2kINzBYERw&NTO;spPO)g3; zDOTX(;>s#5E>XzNOi9ViOIOH9ElO1YYDvt?F9EWl>a4gN!-HXL1tmvsPe&g|A6H*j VA7f)96JviLPe)fJE&x-+CJx*YEf@d* diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/83/c50b16ff4b3149142517a2adc8662f04b5b323 b/test_data/test_repos/test_repo_3/dotGit/objects/83/c50b16ff4b3149142517a2adc8662f04b5b323 deleted file mode 100644 index d5dd750a5041f3045df613aa835e0cf1becaa6eb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 54 zcmV-60LlM&0ZYosPf{?pU{F?8RtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya MR^Z|S08QKutateqkN^Mx diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/84/ac4e80d4dbf2c968b64e9d4005f5079795bb81 b/test_data/test_repos/test_repo_3/dotGit/objects/84/ac4e80d4dbf2c968b64e9d4005f5079795bb81 deleted file mode 100644 index 3d207fd1..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/objects/84/ac4e80d4dbf2c968b64e9d4005f5079795bb81 +++ /dev/null @@ -1,3 +0,0 @@ -x�ÎQ -Â0P¿sн€²Y“l -"^e»ÝÒ‚1’ÆOoõ~Í0ð`´–²v âCof�òˆ„q â^t�yä�È<ç@âU™ÎÈÞ=¥Ù£Ãœ¼N9fYÔO%òc™Qh¦  )��¼úR¼Eh«\Þßh·g«½>Ь÷“Ör™v�!âÛ×ýb·¿°+µl¦Íúæ>šŸG– \ No newline at end of file diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/85/699e429f33e75541530998a5b5d457a12e6285 b/test_data/test_repos/test_repo_3/dotGit/objects/85/699e429f33e75541530998a5b5d457a12e6285 deleted file mode 100644 index 312b2c1d5394f35ecc64f70258f0203fdac26e84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 124 zcmV-?0E7Q{0iBIO3d0}}0DJZo`+=5qjZvYLer2<6h)`n@d&%pYexavS>ZM3~|dEKPd e2Us5niDpM|#R<`z_FNAAD>h{>!+ZgTA~=5#yE$?I diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/8c/b18882408aad0b2abf556bf1f2c5478ef328f5 b/test_data/test_repos/test_repo_3/dotGit/objects/8c/b18882408aad0b2abf556bf1f2c5478ef328f5 deleted file mode 100644 index d87f932750dc7f93506d0eb4a1c4f26866240a74..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmV-K0K5Nq0ZYosPf{>7W>8jERtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya aR^Z}FOb3eUDCFfUmBFU z?4iZ(z&VF$Nd;nB2}0iLoVEfbKM4wj7u5nyz!8`pdTq5e7h@5H n#H;O3hW)3bIp56mt(B4}e5CgrJAo8XC`kfa_WOSTR;Vcc+zLL8 diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 b/test_data/test_repos/test_repo_3/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 deleted file mode 100644 index c88cfdb9..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 +++ /dev/null @@ -1,3 +0,0 @@ -x�ŽK -Â0@]÷se2ùŒ¯2M&¶`š⦧·.¼€«¼XKY:�§ÞT5¦ *‚‡ì£¤+2‹úI¯ŽÐyvh§‡Mš® ;6âs&’QÙl“͘(° -☜‰ƒ¼û\ìghKT¸í_´ÇÖj¯k‘åu‰µÜÁx&$KÁÀâpØc±ë_ñ¯^Ö'lZ†Ÿ>J$ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/a6/214eec6a6290fec81fe250e5b73b86d634a981 b/test_data/test_repos/test_repo_3/dotGit/objects/a6/214eec6a6290fec81fe250e5b73b86d634a981 deleted file mode 100644 index 2511ae02c3a7bf4c0c1cae10c3216b710b085c72..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 67 zcmV-J0KETr0ZYosPf{>7WKdRCRtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya ZR^a0D%U8(FFG^L&POU8F0st#)6CKCE976yA diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/b1/07a0d7a337f04413efa73d337461f548aef336 b/test_data/test_repos/test_repo_3/dotGit/objects/b1/07a0d7a337f04413efa73d337461f548aef336 deleted file mode 100644 index f3a3ba397cb7bcdf3a412d6dfc9fb894d0078301..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwdj$-7J2t^fQYmj~1KhU_rq*b(=o0|06ZB8_FFBvb$Z diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/b1/0b3e2cb320a8c211fda94c4567299d37de7776 b/test_data/test_repos/test_repo_3/dotGit/objects/b1/0b3e2cb320a8c211fda94c4567299d37de7776 deleted file mode 100644 index ac93c76f113240b82f367789ed77ddde86fef0fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 164 zcmV;V09*ff0iBLPY6CG00CV;$^nn&zvg|d4kgsTEZL>7H4vs@;Uf=W!Jq-*DjJ9oC z2OyTi=w{$&CGlFAl4{0GbB;@#tg0rdCN(4?TC%%Iw|&6GsT7M?79z{cF);a3CgGWD zo3eSrkOqXQx2Ds9`75uy%aHgo!zD`Zvhs45<{Qt|+8 z%w=?DAgK*vltGg>7?aU{@eY#>Zet%}wAv$UB@XOd2c&=`w+~#t(3?SJGnTu zOuEL+qrlJDTZa>Ahn|Vye*U6AkKRVB1@rqxtvo7U{F?8RtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya YR^Z|)O3lqL%gjqx$SmOk032`=6r7A3DgXcg diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/c0/23aab082c73abd327675ad485fe78bb427ae21 b/test_data/test_repos/test_repo_3/dotGit/objects/c0/23aab082c73abd327675ad485fe78bb427ae21 deleted file mode 100644 index 5e07a20409f13dd488cf7491b257265742ae009f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 84 zcmV-a0IUCa0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 q4t)_1sDF|ORfwc&+Q9>hleNB2dw+R~&cPe9RbTqn+5rHDd?aRS4q2I{G;Jxca*K7#kaz82kHpI=U)x0RTC68;+D+ BC@ug1 diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 b/test_data/test_repos/test_repo_3/dotGit/objects/cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 deleted file mode 100644 index 1533a3b4..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/objects/cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 +++ /dev/null @@ -1,3 +0,0 @@ -x�Ž] -Â0„}Î)öJÜæD¼J²ÙÒ‚iÊ6¾ôôÆ+ø40ó1Ôj]; ÚKf09á}ÀèË4Q(Þ3k‰l¦Á‚etXÔž„·Á$2t1%ÏHÑ…ì Çb´¶³Õ>úhsw•>}ig¢d%†Çù yíÒzÛjZß7jõ wëQ£ÓÎÁU�í¸Øù¯±’ -“p?Ô íG| \ No newline at end of file diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a b/test_data/test_repos/test_repo_3/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a deleted file mode 100644 index f195924b..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a +++ /dev/null @@ -1 +0,0 @@ -x�ŽAj1 E»ö)t�Û²b BÈUdEIêñà¸]äô™^!«ïkom™1}ÍadÂ%ÊWO¨†$\3#'ΨY ûpÃ�Õm2l�À|,Gª•C¼aÕD…‹`öPäZ1�©9ù��>à%ú€±¨Áéõ?ã²�>ûÚdù9hogØÛÑGÄÀðí“÷n§ûÅiÉnXëËz‡§é°yج¹7¥&J/ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/de/ea550dd6c7acaf0e59432600593533984a2125 b/test_data/test_repos/test_repo_3/dotGit/objects/de/ea550dd6c7acaf0e59432600593533984a2125 deleted file mode 100644 index 7ed4768c5f0684bc184dc370af4797ebe642bbd5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 158 zcmV;P0Ac@l0iBLp3c@fDMg7hyW&_IPIVp&^mFXm*1=Exe{pjkgTkz|04jj1BYF!5y z<1eG<46{aJOvKhwLFcs1g~_H9UC_n5$hlY>)XqI`14_`6qK`Bai%#S@PK+{fiG*y5 zaT3r3tN1;Z*5P1Tps$kQe*C6C_ufX^DzC4bwE6(;$)Ir)TDYP^RHr>Jj{H}wQvSf) Md6Pwb0i<(BR=a*tOaK4? diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 b/test_data/test_repos/test_repo_3/dotGit/objects/e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 deleted file mode 100644 index aaa3f442044293fba056e43ba7f5c6ce03677cbf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 54 zcmb)7U|?ckU~Cwu;peO8rK@@Ev~OaE?=xYayw5NBgeT9LnQ}69Thhu> KH3lnoJ{|z;z7p>M diff --git a/test_data/test_repos/test_repo_3/dotGit/objects/f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 b/test_data/test_repos/test_repo_3/dotGit/objects/f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 deleted file mode 100644 index fac91610..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/objects/f6/1cd8587b7ac1d75a89a0c9af870a2f24c60263 +++ /dev/null @@ -1,2 +0,0 @@ -x�ŽA -à E»ös�5JéUÆ™I¨1»Éé›^¡«ÿxðàS-eé`séM<{ŠÁ:‰!I&J‚.Ÿä§äÌèGQ6Y;d+yp8J1âÄ);DLÌ>Rdì'ã8£ÂOŸkƒi†¶�ÀýøM{n­öº\Þ7ªåÆ«íཅ«vZ«Óž»ü«V`jÒwÀ.«úÜÃKÝ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_3/dotGit/refs/heads/dev b/test_data/test_repos/test_repo_3/dotGit/refs/heads/dev deleted file mode 100644 index 986aea9e..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/refs/heads/dev +++ /dev/null @@ -1 +0,0 @@ -64cfcee9aad1c84581631636bfc54f2050718d1a diff --git a/test_data/test_repos/test_repo_3/dotGit/refs/heads/master b/test_data/test_repos/test_repo_3/dotGit/refs/heads/master deleted file mode 100644 index 95078805..00000000 --- a/test_data/test_repos/test_repo_3/dotGit/refs/heads/master +++ /dev/null @@ -1 +0,0 @@ -cd5eb8bef855f73c46b97b4c088badffdc40ebe9 diff --git a/test_data/test_repos/test_repo_3/no_secrets.md b/test_data/test_repos/test_repo_3/no_secrets.md deleted file mode 100644 index 243d535d..00000000 --- a/test_data/test_repos/test_repo_3/no_secrets.md +++ /dev/null @@ -1 +0,0 @@ -### This file does not contain any secrets diff --git a/test_data/test_repos/test_repo_3/secrets.md b/test_data/test_repos/test_repo_3/secrets.md deleted file mode 100644 index 83c50b16..00000000 --- a/test_data/test_repos/test_repo_3/secrets.md +++ /dev/null @@ -1,2 +0,0 @@ -### This file contains some secrets - diff --git a/test_data/test_repos/test_repo_4/dotGit/COMMIT_EDITMSG b/test_data/test_repos/test_repo_4/dotGit/COMMIT_EDITMSG deleted file mode 100644 index 0f22e864..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/COMMIT_EDITMSG +++ /dev/null @@ -1 +0,0 @@ -gitleaks toml diff --git a/test_data/test_repos/test_repo_4/dotGit/HEAD b/test_data/test_repos/test_repo_4/dotGit/HEAD deleted file mode 100644 index cb089cd8..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/HEAD +++ /dev/null @@ -1 +0,0 @@ -ref: refs/heads/master diff --git a/test_data/test_repos/test_repo_4/dotGit/config b/test_data/test_repos/test_repo_4/dotGit/config deleted file mode 100644 index 6c9406b7..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/config +++ /dev/null @@ -1,7 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true - ignorecase = true - precomposeunicode = true diff --git a/test_data/test_repos/test_repo_4/dotGit/description b/test_data/test_repos/test_repo_4/dotGit/description deleted file mode 100644 index 498b267a..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/description +++ /dev/null @@ -1 +0,0 @@ -Unnamed repository; edit this file 'description' to name the repository. diff --git a/test_data/test_repos/test_repo_4/dotGit/index b/test_data/test_repos/test_repo_4/dotGit/index deleted file mode 100644 index 94eec663c924e68626094bb724aa5cea5e999d9e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 305 zcmZ?q402{*U|<4b=GYUGYU^H$Af?Cp9sK5`X`ADym|TY#i_|fsU^jFxhYWdmj5y> zouMqdX2GumpO diff --git a/test_data/test_repos/test_repo_4/dotGit/info/exclude b/test_data/test_repos/test_repo_4/dotGit/info/exclude deleted file mode 100644 index a5196d1b..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/info/exclude +++ /dev/null @@ -1,6 +0,0 @@ -# git ls-files --others --exclude-from=.git/info/exclude -# Lines that start with '#' are comments. -# For a project mostly in C, the following would be a good set of -# exclude patterns (uncomment them if you want to use them): -# *.[oa] -# *~ diff --git a/test_data/test_repos/test_repo_4/dotGit/logs/HEAD b/test_data/test_repos/test_repo_4/dotGit/logs/HEAD deleted file mode 100644 index 99399d23..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/logs/HEAD +++ /dev/null @@ -1,18 +0,0 @@ -0000000000000000000000000000000000000000 85699e429f33e75541530998a5b5d457a12e6285 zach rice 1572022632 -0400 commit (initial): init -85699e429f33e75541530998a5b5d457a12e6285 b10b3e2cb320a8c211fda94c4567299d37de7776 zach rice 1572022719 -0400 commit: adding aws key -b10b3e2cb320a8c211fda94c4567299d37de7776 51f6dcf6b89b93f4075ba92c400b075631a6cc93 zach rice 1572022773 -0400 commit: no secrets -51f6dcf6b89b93f4075ba92c400b075631a6cc93 17471a5fda722a9e423f1a0d3f0d267ea009d41c zach rice 1572022887 -0400 commit: wait this is actually adding an aws secret -17471a5fda722a9e423f1a0d3f0d267ea009d41c 996865bb912f3bc45898a370a13aadb315014b55 zach rice 1572023261 -0400 commit: committing pem -996865bb912f3bc45898a370a13aadb315014b55 d8ac0b73aeeb45843319cdc5ce506516eb49bf7a zach rice 1572023319 -0400 commit: removing secret.pem -d8ac0b73aeeb45843319cdc5ce506516eb49bf7a b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba zach rice 1572023528 -0400 commit: adding another one -b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572023552 -0400 commit: rm secrets again -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572024822 -0400 checkout: moving from master to dev -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 deea550dd6c7acaf0e59432600593533984a2125 zach rice 1572024903 -0400 commit: dev branch -deea550dd6c7acaf0e59432600593533984a2125 64cfcee9aad1c84581631636bfc54f2050718d1a zach rice 1572024982 -0400 commit: rm secrets -64cfcee9aad1c84581631636bfc54f2050718d1a f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572024992 -0400 checkout: moving from dev to master -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 84ac4e80d4dbf2c968b64e9d4005f5079795bb81 zach rice 1572026048 -0400 commit: more secrets -84ac4e80d4dbf2c968b64e9d4005f5079795bb81 cd5eb8bef855f73c46b97b4c088badffdc40ebe9 zach rice 1572026066 -0400 commit: rm secrets -cd5eb8bef855f73c46b97b4c088badffdc40ebe9 828595723b76e4a35b5253d9f2ccb4f897f1845a zach rice 1573429084 -0500 commit: adding repo config -828595723b76e4a35b5253d9f2ccb4f897f1845a ce835da266b3f8c34e4b7f398693ed068f67cb30 zach rice 1573431270 -0500 commit: epstein didnt kill himself -ce835da266b3f8c34e4b7f398693ed068f67cb30 5accbc40c35906d99f073881fb8746c314f9d59f zach rice 1573431335 -0500 commit: removing a really important link -5accbc40c35906d99f073881fb8746c314f9d59f 7b2eba252004b7c867413def2a0984d545daab8b zach rice 1573431386 -0500 commit: gitleaks toml diff --git a/test_data/test_repos/test_repo_4/dotGit/logs/refs/heads/dev b/test_data/test_repos/test_repo_4/dotGit/logs/refs/heads/dev deleted file mode 100644 index b6e04136..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/logs/refs/heads/dev +++ /dev/null @@ -1,3 +0,0 @@ -0000000000000000000000000000000000000000 f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572024822 -0400 branch: Created from HEAD -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 deea550dd6c7acaf0e59432600593533984a2125 zach rice 1572024903 -0400 commit: dev branch -deea550dd6c7acaf0e59432600593533984a2125 64cfcee9aad1c84581631636bfc54f2050718d1a zach rice 1572024982 -0400 commit: rm secrets diff --git a/test_data/test_repos/test_repo_4/dotGit/logs/refs/heads/master b/test_data/test_repos/test_repo_4/dotGit/logs/refs/heads/master deleted file mode 100644 index 6daf2b8c..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/logs/refs/heads/master +++ /dev/null @@ -1,14 +0,0 @@ -0000000000000000000000000000000000000000 85699e429f33e75541530998a5b5d457a12e6285 zach rice 1572022632 -0400 commit (initial): init -85699e429f33e75541530998a5b5d457a12e6285 b10b3e2cb320a8c211fda94c4567299d37de7776 zach rice 1572022719 -0400 commit: adding aws key -b10b3e2cb320a8c211fda94c4567299d37de7776 51f6dcf6b89b93f4075ba92c400b075631a6cc93 zach rice 1572022773 -0400 commit: no secrets -51f6dcf6b89b93f4075ba92c400b075631a6cc93 17471a5fda722a9e423f1a0d3f0d267ea009d41c zach rice 1572022887 -0400 commit: wait this is actually adding an aws secret -17471a5fda722a9e423f1a0d3f0d267ea009d41c 996865bb912f3bc45898a370a13aadb315014b55 zach rice 1572023261 -0400 commit: committing pem -996865bb912f3bc45898a370a13aadb315014b55 d8ac0b73aeeb45843319cdc5ce506516eb49bf7a zach rice 1572023319 -0400 commit: removing secret.pem -d8ac0b73aeeb45843319cdc5ce506516eb49bf7a b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba zach rice 1572023528 -0400 commit: adding another one -b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba f61cd8587b7ac1d75a89a0c9af870a2f24c60263 zach rice 1572023552 -0400 commit: rm secrets again -f61cd8587b7ac1d75a89a0c9af870a2f24c60263 84ac4e80d4dbf2c968b64e9d4005f5079795bb81 zach rice 1572026048 -0400 commit: more secrets -84ac4e80d4dbf2c968b64e9d4005f5079795bb81 cd5eb8bef855f73c46b97b4c088badffdc40ebe9 zach rice 1572026066 -0400 commit: rm secrets -cd5eb8bef855f73c46b97b4c088badffdc40ebe9 828595723b76e4a35b5253d9f2ccb4f897f1845a zach rice 1573429084 -0500 commit: adding repo config -828595723b76e4a35b5253d9f2ccb4f897f1845a ce835da266b3f8c34e4b7f398693ed068f67cb30 zach rice 1573431270 -0500 commit: epstein didnt kill himself -ce835da266b3f8c34e4b7f398693ed068f67cb30 5accbc40c35906d99f073881fb8746c314f9d59f zach rice 1573431335 -0500 commit: removing a really important link -5accbc40c35906d99f073881fb8746c314f9d59f 7b2eba252004b7c867413def2a0984d545daab8b zach rice 1573431386 -0500 commit: gitleaks toml diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/0b/c3a0c9536cc7273b74f48edcc6adead16333f7 b/test_data/test_repos/test_repo_4/dotGit/objects/0b/c3a0c9536cc7273b74f48edcc6adead16333f7 deleted file mode 100644 index 66cbf0901d664638bb2f6f321a850d8dd1d31705..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 55 zcmV-70LcG%0V^p=O;s?qU@$Z=Ff%bxC{9f-N-ZhY%S~ahy|pnd7G-oh0FfcPQQOL`WFHTJ^N-ZhY%S~ZWu?>!Gc{~00Azsdt zmkxaq52$~V2vrDCrB{%e%OL9Taq=G3EmO`um=sx6xt@j5g8dDODzI706#d?0B~AEu VLjF;})9u!6*GyJ60sxb_GE!YvGHw6> diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/15/40f193bc25b494cde092597a79af04013807ec b/test_data/test_repos/test_repo_4/dotGit/objects/15/40f193bc25b494cde092597a79af04013807ec deleted file mode 100644 index 5ad713e1584537fe3054161ef01357ec82e4cd80..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3391 zcmV-F4Z!kv0d1LEkKD!)h4buR(byLy!0bSB5ZlR%u~s5@9ZL=*A%-8DWY4fQB%9`C z$Kzk0?^HKucjfrO#tzBux|}+7s$6xca$o)Zo3H-l_~&CArr^%{mv>!STspX=jl*%~ zM^~q{Ylat#Ym$qD^Mm{F{`TuvJ6ElXp4)dz8{EOqOPCjTTraar14jf`b*Vn_O~bhl zp>b2_xkGm`3qA#odc$vL`QZlKtAaf_#0hK9X=>bkd8$MCwh41RMPB0& z*=m=Jogc#9-4B>Ehn?&FrQ+{@Jz!l;?5fFkd-okd!EwbCThb6*<1dPv{Qc13L-=hB zQw&4RD=ptDgl1anAMEy-50=(1n?vKuX~nC}^k<>ouG~33>H^Q)Ax-46Pkk7c{TE*- z%lG89uGeY82D|uY-z}CJyqCenSxZbDeCL+Q$3gzjX<8z_{v6y8Lc;;CUcPiKZ<3Fk zXu_<>)u|_E3#q}~>-WmPUlvYtZ{s{i!0|r#=HlkXFYCN_A21Y~FanfJ?se+YB5ex9z0Wb4t-_vsAyzD*86%&^K6l=JkS_~{V*-F`{w2DB}v9N6^zPs#gY3=2hMj~ zuLOo1_&VtZ40-LlNQj5%9g*wpU_h8{tuFnv&%a!dxW8^mQNDU5i0aVV2 z0{80*dIQyK_VO@SQ!y2iN`@RlhV232U; z8`3koW;J*Fi^EMSYBRX@Qy}#Bc2W6UyvU2`44FJJn6QXX3$c&byam3A57Br8fHW)Q zREUTeX5b4d`3m2BT4_ws2mOl--vgo8b>x1I_Pbh@?@r21>00Imp^W5pEBNy0IHh%H zc97pWKvhtXSX6nNQz`x>LpgWQ+$Kd_TN~~DQn&Kf8o?52ITZ4&V`akJrv&JpT0*UO zH=ks*^@VGOTKWqW(fVlwod&c^@R^hk!Xt5>$#nyV0WKq0Wohp0Ar+fF1t0ZlkcU=e z2wjw9S3y|8sJ;6hNDmb63=%}dg$=0+;y~`i0{qskzd_EW7Jne@3i=TS!G3j3rSGg4 zEo$7xYr;yOd#GX2pjipSXGu9AEhrQuM#OV5(##w zsd7MJ(7^*34JVN;IiGr^PGfL?_FWagb%he3kpDvA3Tjjdl(Y`pRk-I-DWiu8%8M_#of4G}>^!mOc2d@Dz zzqwam|Bd{==s|QkE6SI&sy1Nq0F|B4Zd)MB+54NUZQjwIgcqwhMWcXKG0V-k*m(`? zL{TaC23snFuMsRtSk|+J5I73AQaWK?cANb85{R9nNO7SwYPBI4xKq7KIC{WY0!}s| zFsT0WLQZ*n#p>had&6ahkG{noxhnVUNdvIxlFK8O^msG#Svs;skR1F+GM+r6xk@hc zGjf>-WWS9vK`sH-r;sGswnKOkspaR08I)-gf#01<0KpV(mVtz=`W1v+v|DE>ZdyH> zEPoVdaj+p{OKk`}hLroEC-SPa|9ZXBBKUNXm!IHsH;)#w5|_KEexJ5a^&|95HSkb>znXykqq_c@BVUSB+X$q$*4p zOAu9S`y)NwNG(t!g>#gm78X&B8LrM0#O3x7d8H81;W@$GxbG78-{Wyw>Ae=kY->%Q zpx0&**;`v=ygoUcq_7(Q`|qZCWmKWqifN)nA6om;@OV`|Rkz9&H~5E(dvp8ho5D-w zm3Ma^+>ZebL3(Q;^0NT#-7k>pX+XnH5&_NwjZI;B_fDsN(#*ci9oV=5L7<~7rS_g> z(cNUa*|~q>+r|Cu%V&|H*M|CZBVZ7E*MmIZaoIx9aNANl@u+le&)nUE|Cc$p-rD+~Vr2uooy4Q-p|X_xe^d zz(5|4G&y~kx);SU6Hpw`d$aReL%ALq*CgNkEa;i0cq_`37+3}fsZitF^hr1aL}zI- z>S&n|U)CkDPFf4hs{pozO0zQFntSMU7|qUNt&kay7bS3w7z;C42T68?gsSUT>O~s_ z-j)9>T&M$16ygMh@0r-NClN{N=8~0-H#7xVY@hZnV=tPh9`?%XmFh7ul3~AS(6{;r zkotqBzaeB-U|_=MY2khK<;x9TIni5>mu=VLQZP4+-~-SRGA1a2Ua_opwb7IU{H?nq zXOd#-0Yh#`6f&)WngpGVae^H0QFH9IXrZd)B2e?vs@#_YaaH{Uu{5f!ffQ9zG9|M$k$zyvqzUAOk1i8%u9{CRM&(l!k>~)#6bFcnNMy2Qxfz(`CL>My@b?LuN&9d+d-WEfe3#m6DDhr)9 zbiIn>BeYMG;=swsN^zbtp$h&yK61~v+A4%#={&YG>i&7vp$Iap*4he; ziF%OEVi5s<7kF4n82w~~*tl}!Rny*3N0Aw}MmlKGT&8)O;dm(`3Usf@KCU~3OYvOf zmn5{kwv3`!R?()YR17^N!_LmO3b!UKZ%z7H9{^r=4DXu`u!e)B!%1UScp-`_GhGc? zDP}2;by_rSxh)jIXdf;c>%XzqT*{=BhO7sksi=DBsH_qRxJnaGqMbsIoRGPho)#{c8~Zg1$d!c{7F?&f_$_vS@YN>)5A~7BH0&Q{-`8Cz(e8gP2ZWwWs1I zZkC8(=f)wA^?-I;+Ot7gK`?!nCk|X?2hIpX{ctHquu9Nsz!qpW_eoZhKC*`$wUMu@ zDATg!)PesN@L<0W8uBv>nEThxA$Ix$rI~#Nb<(*wf)?Z$mLi$j(P7ue;^bJP*avR8RNwIj@o#j%v_>1(gB5J(6lBvSXi zbRgp{y`=<%DU)@R)i@i6&KU{Xo2;D#ik55$5qTkX=a!BRX3927wqfzX>pY_~fj!BL z7>2fbVk_dc;zwU=gBQyRtw@6F>qG7L-fFMM&Sm?Sy8pmr93j!NIQYU*qlP;s_Vll? jdh)o}*K)!DOMmdT{Q<{VjvMd+{5;`I(o$D%3@=j8^c7ts diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/18/51114bbb7484cccd61f18c71649699d73ede6c b/test_data/test_repos/test_repo_4/dotGit/objects/18/51114bbb7484cccd61f18c71649699d73ede6c deleted file mode 100644 index 46ccb0d0968ed4526866a104fa4491b22f33e5cb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 121 zcmV-<0EYi~0V^p=O;s>7GGH(?FfcPQQAp1$$w^JjF4il_&&^>-nR!J-r1t06oPB52 zP8IT4K52GPfhx?)k1tM5E=nya*2_&{P_Ye;ZFxKW_aR=+la~&C5f7+;k_c6Zq$>SL bbb`kdE$yp;YDuSZF6}?=Q{e;v6#O!n_Xaes diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/18/5715c36f82be353f34845811270a4d0ae4b24e b/test_data/test_repos/test_repo_4/dotGit/objects/18/5715c36f82be353f34845811270a4d0ae4b24e deleted file mode 100644 index 03bf1d87b2affd12fe23a57dbaf1c2ca77fec974..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwc&$5M@gPa7s@&f}eNx-+@`L>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfweO;QrM~8tP2Bd-Znt>6WfIs{Aze5CCM?A?I;%CGr3O diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/24/3d535d84ed97fbc20d09c9d2c2f417507fe461 b/test_data/test_repos/test_repo_4/dotGit/objects/24/3d535d84ed97fbc20d09c9d2c2f417507fe461 deleted file mode 100644 index 838bf1e1886164d1f5dacceb63dd67ee51647b8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59 zcmV-B0L1@z0ZYosPf{>3W>8jERtU++ELKR%%t=*9$xkg-$jdKLNY2kINzBYsNX)BL RC{9f-N-Zho0sxw35Zm6}7+U}U diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/29/b514fe50d6a7b2aa18cd581b46a85b84c2d4b3 b/test_data/test_repos/test_repo_4/dotGit/objects/29/b514fe50d6a7b2aa18cd581b46a85b84c2d4b3 deleted file mode 100644 index 14a0321b10d44c3f8e159eeadc8a9b0fa3d437da..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 425 zcmV;a0apHa0ezBBkJB&^#X09w%&G?@lx-!%p`aD3YPswQv@8dXZZln*Iy094$TFXv znKoTQ4&)Fyjy?0MuIug|vSs?X z{R|dc5AFz!3*;6M9O*hjsIs4-I`1J_u3)50HZjdEzq>wC8*jS1-R~0di!&qBAf*ds zjPIA*17o5Lp7{jcokW*bh0HMGtoEYV)M<7gTO($wyx~#%FZ;0VA)@iV-Oq0A_KAJT z=-cwV5;z!w7rrWov0az9j$W?oR_S!M$| z*U_j@H;Vk%5X^=AO@O%huNYHNgLc!|oJ0Dw+0jRIQ=U8w@Oy77|LafG# z1=Ta0nO$7S079MP!>B%gm6RpiLH?SQaZrL!6QZ|*iw2FZ2?3{MDPe&)*^)7rBuSU} TOi^E|(d_VP-F1HeA@&`aLB-hi diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/3d/dab16668fe919638b76dd48c96bedf0e2276ca b/test_data/test_repos/test_repo_4/dotGit/objects/3d/dab16668fe919638b76dd48c96bedf0e2276ca deleted file mode 100644 index 94c73dafaadedfa175d39bd014335720be7c5c9f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 94 zcmV-k0HObQ0ZYosPg1ZjW>8jERtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya zR^a0DNG(cLFIGs*Q*aCqhKgG$IC^_J`Z)Ty`nviU8ylGz`}=r0x^i&=03ZAtQ+cr{ Ag8%>k diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/4a/3ffb6df0f421fdf325afae19dc749f8f6b1bfb b/test_data/test_repos/test_repo_4/dotGit/objects/4a/3ffb6df0f421fdf325afae19dc749f8f6b1bfb deleted file mode 100644 index 6efcf07daa19a2c267f297b45ea4fb0e712af754..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 125 zcmV-@0D}K`0Y%EO3c@fD08r&@1eE%^G;sH6^ba_JcH`iJ3;yB*5n8&2!Fl~} flRw}5{F{Am31jB>l8;E72z$#&omT1tM*StNrGY*Z diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/4b/a23978297d33c8d7744f059cc5bca2385e262d b/test_data/test_repos/test_repo_4/dotGit/objects/4b/a23978297d33c8d7744f059cc5bca2385e262d deleted file mode 100644 index 15e9e92765ea3ff2d56d095e0f193fd15271f18b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwdj`6##8e{Vxi5moU;Yfq%7GGH(?FfcPQQAp1$$w^JjF4il_&&^?Y-+$AeODaFW(sPY> z*yjYlBQKpELlx%b#}}t27p0aI>*b~}sMrR_w!EGG`w%bZ$xDa6hzHa^NrWmyQk8xr bI>Fzïvº_öWì¶/Ónãå¾ýfGî \ No newline at end of file diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/5a/ccbc40c35906d99f073881fb8746c314f9d59f b/test_data/test_repos/test_repo_4/dotGit/objects/5a/ccbc40c35906d99f073881fb8746c314f9d59f deleted file mode 100644 index 7ab6cbed..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/objects/5a/ccbc40c35906d99f073881fb8746c314f9d59f +++ /dev/null @@ -1 +0,0 @@ -x�ŽQj!÷ÛSô²ØÛÚ*„�«hOÏ®ì8bÙÓgr…|<êAIo­N¸¹p™C0zDt¥”࢑…qÅ(Ù%Ni ¤‹²˜#Ý'ˆFòK¾1Z£�SWÂJ)r:EËqå …¬É_óѼ²<`TQxýa|£Ï¾·\·«ôöè9B"oÖ[kÎõLœú¯³ÚúwÝï�ahÞ¶¨íècæ3~«ûÓüvêPK \ No newline at end of file diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/5d/5c8724e8787e69cebcc9ea4bceb47d9941656e b/test_data/test_repos/test_repo_4/dotGit/objects/5d/5c8724e8787e69cebcc9ea4bceb47d9941656e deleted file mode 100644 index f1090fb35cd847048797eabe87866c168e898d94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwdjXJbc`L)Thvt^J|dA3q&+@B6Ir6##I|BXT`bBTWDR diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/5d/630e1163864c8b5616199962390a36a8a53b69 b/test_data/test_repos/test_repo_4/dotGit/objects/5d/630e1163864c8b5616199962390a36a8a53b69 deleted file mode 100644 index d93d42c3b9f9046d0473a91d5e3d49f4d6b247ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53 zcmbPBjN{}9oiLBnXFNka&YjoxJaa}nOyk^n-%t%dUp+5f&9Dbd J4ECIS3jsy?6iEO8 diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/5e/a982157d053ce35a9b79394973c7c8901f317c b/test_data/test_repos/test_repo_4/dotGit/objects/5e/a982157d053ce35a9b79394973c7c8901f317c deleted file mode 100644 index 1fe46e5225a209e5e0bce46298b1fe7cdeef9c93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwc&nWEpDtfUG5PRKtBc)H!X?V8ETMgVrLBY08lBv}9e diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/64/99d414147df9f56cbecd26ca710c39e4834024 b/test_data/test_repos/test_repo_4/dotGit/objects/64/99d414147df9f56cbecd26ca710c39e4834024 deleted file mode 100644 index 5b40db650875f73d9d9a76dfb34befe357cfd6f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 97 zcmV-n0G|JN0ZYosPf{>6v|xyiE-KAQEsl-l;!H^`PAe7TA)RirNn_!x{Bf`Bv8l2aX*>9=?Z-v92{IKIj;?f z?sB1E~A3xORyOvhAtn2HRN`8Qso{)Hm1XpB4ciMBY*aqJ4|u_ diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/67/c45b6048e42a2bd5512662ca6cd2bfc74c7842 b/test_data/test_repos/test_repo_4/dotGit/objects/67/c45b6048e42a2bd5512662ca6cd2bfc74c7842 deleted file mode 100644 index fa18daab..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/objects/67/c45b6048e42a2bd5512662ca6cd2bfc74c7842 +++ /dev/null @@ -1,5 +0,0 @@ -x}’1OÃ0…™ó+u@B¡�ŠT�ª²tB*00ºÍµ6qÎQl+2¿ž»$-!HdˆǾ{ï»··nËûÅÕl6ƒ7m<�E88 -Ê�ï*�‡ƒ‡,ËV› =,AcÊÁ!¹!Õ†dÝ@Ýò~€ÖX ^»— ªñ£Ë·ç‡kãu¶ZÅŸ�ª\:RÀf1Ý.z -`�+Áš’uIU*Õž:�­ØLËoØJÿi§shPY›žF·Ö{ïl hÓô¼8(‚“;+‡*�—w†Nçõô¢VZå ¶@4õÎŽ‘(‰).;îo�Í!¡ŸÃ+bÎò‘àãå½g?ëÀ óŽJô‚þâÿ7ã¡ -9S(LÁdKâimwùì�ì'¬s F­Ïd®•¡¦bù—Œ…ü$€Ýü+Fµ(Aû„V–'½ŠŽG¯�áÖí 6âá3úÀÁ­ù¯ò ¡³ìß0 -*$–ª®qH�Ðc@ƒdaôœbŽÆãé¸$®œgÙ7×D \ No newline at end of file diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/68/b020592645020c9afb7462e17842a1cc723071 b/test_data/test_repos/test_repo_4/dotGit/objects/68/b020592645020c9afb7462e17842a1cc723071 deleted file mode 100644 index 78d82a50de7c6818a97596fc6b5b64081cfa0043..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwd@%l>!nhcAkMKdY`^CwZr2et)*~ZvcNZBlA)SBh&x@ diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/69/b7669aa8e125ef0e14abce31911e84dd09e25e b/test_data/test_repos/test_repo_4/dotGit/objects/69/b7669aa8e125ef0e14abce31911e84dd09e25e deleted file mode 100644 index d944898203cf71b47a5c469a2298f55a79daad42..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwd@_SVLopszHg4(Ffmq~7v>-+8rx>#yFa(pwFgP!0 zT#ggPtoYOC+F)myp)Hc&y8qDbTdTdk3NPzLYPo@-0Ua6)9?qJyR);+nd-^L@kEO4P OpKs{3tm+F$JV6G-6OzR#phf$ShV!%gjktNY2kINzBYERw&NTO;spPO)g3; zDOTX(;>s#5E>XzNOi9ViOIOH9ElO1YYDvt?F9EWl>a4gN!-HXL1tmvsPe&g|A6H*j VA7f)96JviLPe)fJE&x-+CJx*YEf@d* diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/82/8595723b76e4a35b5253d9f2ccb4f897f1845a b/test_data/test_repos/test_repo_4/dotGit/objects/82/8595723b76e4a35b5253d9f2ccb4f897f1845a deleted file mode 100644 index 54afca4e1c36704d2e41ce19aa31af2d258c19a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 163 zcmV;U09^lg0iBLXY6CG40Daag`U45=(bfVJ@)h+WTaXzILcaL*alVjKK|w*u*!R9* z^Zv4?85mLtT+nCDDWssxq+861q*U~&P}Wq%+*zj`3q+$au{DaZWiKId$s7cUxN2)E z0gbJ=`dp7O;Z@}Uvx~v)^@sU=&auX^*Z%VЬ÷“Ör™v�!âÛ×ýb·¿°+µl¦Íúæ>šŸG– \ No newline at end of file diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/85/699e429f33e75541530998a5b5d457a12e6285 b/test_data/test_repos/test_repo_4/dotGit/objects/85/699e429f33e75541530998a5b5d457a12e6285 deleted file mode 100644 index 312b2c1d5394f35ecc64f70258f0203fdac26e84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 124 zcmV-?0E7Q{0iBIO3d0}}0DJZo`+=5qjZvYLer2<6h)`n@d&%pYexavS>ZM3~|dEKPd e2Us5niDpM|#R<`z_FNAAD>h{>!+ZgTA~=5#yE$?I diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/8c/b18882408aad0b2abf556bf1f2c5478ef328f5 b/test_data/test_repos/test_repo_4/dotGit/objects/8c/b18882408aad0b2abf556bf1f2c5478ef328f5 deleted file mode 100644 index d87f932750dc7f93506d0eb4a1c4f26866240a74..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmV-K0K5Nq0ZYosPf{>7W>8jERtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya aR^Z}FOb3eUDCFfUmBFU z?4iZ(z&VF$Nd;nB2}0iLoVEfbKM4wj7u5nyz!8`pdTq5e7h@5H n#H;O3hW)3bIp56mt(B4}e5CgrJAo8XC`kfa_WOSTR;Vcc+zLL8 diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 b/test_data/test_repos/test_repo_4/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 deleted file mode 100644 index c88cfdb9..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/objects/99/6865bb912f3bc45898a370a13aadb315014b55 +++ /dev/null @@ -1,3 +0,0 @@ -x�ŽK -Â0@]÷se2ùŒ¯2M&¶`š⦧·.¼€«¼XKY:�§ÞT5¦ *‚‡ì£¤+2‹úI¯ŽÐyvh§‡Mš® ;6âs&’QÙl“͘(° -☜‰ƒ¼û\ìghKT¸í_´ÇÖj¯k‘åu‰µÜÁx&$KÁÀâpØc±ë_ñ¯^Ö'lZ†Ÿ>J$ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/a6/214eec6a6290fec81fe250e5b73b86d634a981 b/test_data/test_repos/test_repo_4/dotGit/objects/a6/214eec6a6290fec81fe250e5b73b86d634a981 deleted file mode 100644 index 2511ae02c3a7bf4c0c1cae10c3216b710b085c72..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 67 zcmV-J0KETr0ZYosPf{>7WKdRCRtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya ZR^a0D%U8(FFG^L&POU8F0st#)6CKCE976yA diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/b1/07a0d7a337f04413efa73d337461f548aef336 b/test_data/test_repos/test_repo_4/dotGit/objects/b1/07a0d7a337f04413efa73d337461f548aef336 deleted file mode 100644 index f3a3ba397cb7bcdf3a412d6dfc9fb894d0078301..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmV-Z0IdIb0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 p4t)_1sDF|ORfwdj$-7J2t^fQYmj~1KhU_rq*b(=o0|06ZB8_FFBvb$Z diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/b1/0b3e2cb320a8c211fda94c4567299d37de7776 b/test_data/test_repos/test_repo_4/dotGit/objects/b1/0b3e2cb320a8c211fda94c4567299d37de7776 deleted file mode 100644 index ac93c76f113240b82f367789ed77ddde86fef0fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 164 zcmV;V09*ff0iBLPY6CG00CV;$^nn&zvg|d4kgsTEZL>7H4vs@;Uf=W!Jq-*DjJ9oC z2OyTi=w{$&CGlFAl4{0GbB;@#tg0rdCN(4?TC%%Iw|&6GsT7M?79z{cF);a3CgGWD zo3eSrkOqXQx2Ds9`75uy%aHgo!zD`Zvhs45<{Qt|+8 z%w=?DAgK*vltGg>7?aU{@eY#>Zet%}wAv$UB@XOd2c&=`w+~#t(3?SJGnTu zOuEL+qrlJDTZa>Ahn|Vye*U6AkKRVB1@rqxtvo7GGH(?FfcPQQAp1$$w^JjF4il_&&^>-nR!J-r1t06oPB52 zP8IT4K52GPfhx?)k1tM5E=nya*2_&{P_Ye;ZFxKW_aR=+la~&C5f7+;k_c6Zq)KzE b$iIMV%Qvl(I2$4Dwj#Ra(3Q;q8>lmO1$Q-+ diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/b8/a52870f2b093699e0d98cb896387c87e0c98a6 b/test_data/test_repos/test_repo_4/dotGit/objects/b8/a52870f2b093699e0d98cb896387c87e0c98a6 deleted file mode 100644 index ff582f60d9d67a6b5395c3aa58dd494fc1e81ff1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 66 zcmV-I0KNZs0ZYosPf{>7U{F?8RtU++ELKR%%t=*9&d)1J%*-oRD9+DKRVYqPE=nya YR^Z|)O3lqL%gjqx$SmOk032`=6r7A3DgXcg diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/c0/23aab082c73abd327675ad485fe78bb427ae21 b/test_data/test_repos/test_repo_4/dotGit/objects/c0/23aab082c73abd327675ad485fe78bb427ae21 deleted file mode 100644 index 5e07a20409f13dd488cf7491b257265742ae009f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 84 zcmV-a0IUCa0V^p=O;s?rWH2-^Ff%bx$jgr}PE9UKEh*N^O<_>64UTPjJN@?|Ue1%3 q4t)_1sDF|ORfwc&+Q9>hleNB2dw+R~&cPe9RbTqn+5rHDd?aRS4q2I{G;Jxca*K7#kaz82kHpI=U)x0RTC68;+D+ BC@ug1 diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 b/test_data/test_repos/test_repo_4/dotGit/objects/cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 deleted file mode 100644 index 1533a3b4..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/objects/cd/5eb8bef855f73c46b97b4c088badffdc40ebe9 +++ /dev/null @@ -1,3 +0,0 @@ -x�Ž] -Â0„}Î)öJÜæD¼J²ÙÒ‚iÊ6¾ôôÆ+ø40ó1Ôj]; ÚKf09á}ÀèË4Q(Þ3k‰l¦Á‚etXÔž„·Á$2t1%ÏHÑ…ì Çb´¶³Õ>úhsw•>}ig¢d%†Çù yíÒzÛjZß7jõ wëQ£ÓÎÁU�í¸Øù¯±’ -“p?Ô íG| \ No newline at end of file diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/ce/835da266b3f8c34e4b7f398693ed068f67cb30 b/test_data/test_repos/test_repo_4/dotGit/objects/ce/835da266b3f8c34e4b7f398693ed068f67cb30 deleted file mode 100644 index 62c73ed7..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/objects/ce/835da266b3f8c34e4b7f398693ed068f67cb30 +++ /dev/null @@ -1 +0,0 @@ -x�ŽAjÄ0 EgíSè-ŽlE ¥W‘™˜‰ãป9}Ó+tõà?>¼Ôj-ÐO�ÑU!z¶ÙòŠ"#96D ”$Î3#-Ñ«MÂæ”®Ç€p»…]äY½8Š„äÖ%cJÑç°pž‚'1ò3¶Öá-iƒ^’Âóý‡þ}ö6ÚQ¥ìŸ©Õ/˜ˆ�w²…KÖš{½‡þëlô¼†–Ö²Þ¹¯²ï°•zéžÍ/FÛMq \ No newline at end of file diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a b/test_data/test_repos/test_repo_4/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a deleted file mode 100644 index f195924b..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/objects/d8/ac0b73aeeb45843319cdc5ce506516eb49bf7a +++ /dev/null @@ -1 +0,0 @@ -x�ŽAj1 E»ö)t�Û²b BÈUdEIêñà¸]äô™^!«ïkom™1}ÍadÂ%ÊWO¨†$\3#'ΨY ûpÃ�Õm2l�À|,Gª•C¼aÕD…‹`öPäZ1�©9ù��>à%ú€±¨Áéõ?ã²�>ûÚdù9hogØÛÑGÄÀðí“÷n§ûÅiÉnXëËz‡§é°yج¹7¥&J/ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/de/ea550dd6c7acaf0e59432600593533984a2125 b/test_data/test_repos/test_repo_4/dotGit/objects/de/ea550dd6c7acaf0e59432600593533984a2125 deleted file mode 100644 index 7ed4768c5f0684bc184dc370af4797ebe642bbd5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 158 zcmV;P0Ac@l0iBLp3c@fDMg7hyW&_IPIVp&^mFXm*1=Exe{pjkgTkz|04jj1BYF!5y z<1eG<46{aJOvKhwLFcs1g~_H9UC_n5$hlY>)XqI`14_`6qK`Bai%#S@PK+{fiG*y5 zaT3r3tN1;Z*5P1Tps$kQe*C6C_ufX^DzC4bwE6(;$)Ir)TDYP^RHr>Jj{H}wQvSf) Md6Pwb0i<(BR=a*tOaK4? diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/e0/894b9037d76464dbb8d25768c9a036987d6ace b/test_data/test_repos/test_repo_4/dotGit/objects/e0/894b9037d76464dbb8d25768c9a036987d6ace deleted file mode 100644 index e8012361507a6bef2c7c0aa5978280534fbf95bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 121 zcmV-<0EYi~0V^p=O;s>7GGH(?FfcPQQAp1$$w^JjF4il_&&^>-nR!J-r1t06oPB52 zP8IT4K52GPfhx?)k1tM5E=nya*2_&{P_Ye;ZFxKW_aR=+la~&C5f7+;k_c6Zq^kKS bx7dGgLr)P^@kMJ-r0KJ4-K-1%0-7+V0?IV! diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 b/test_data/test_repos/test_repo_4/dotGit/objects/e8/abc5d9c3ea7760bf20054e8dada3832f9a00a9 deleted file mode 100644 index aaa3f442044293fba056e43ba7f5c6ce03677cbf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 54 zcmb)7U|?ckU~Cwu;peO8rK@@Ev~OaE?=xYayw5NBgeT9LnQ}69Thhu> KH3lnoJ{|z;z7p>M diff --git a/test_data/test_repos/test_repo_4/dotGit/objects/ef/8fd94f0a1a6f503949ac4b56f3604ec4e942e3 b/test_data/test_repos/test_repo_4/dotGit/objects/ef/8fd94f0a1a6f503949ac4b56f3604ec4e942e3 deleted file mode 100644 index 6de0925540e5eabb2472e1f36a01ac4eb15ccb99..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 99 zcmV-p0G$7L0ZYosPf{>6v|xyiE-KAQEsl-l;!H^`PARdì'ã8£ÂOŸkƒi†¶�ÀýøM{n­öº\Þ7ªåÆ«íཅ«vZ«Óž»ü«V`jÒwÀ.«úÜÃKÝ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_4/dotGit/refs/heads/dev b/test_data/test_repos/test_repo_4/dotGit/refs/heads/dev deleted file mode 100644 index 986aea9e..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/refs/heads/dev +++ /dev/null @@ -1 +0,0 @@ -64cfcee9aad1c84581631636bfc54f2050718d1a diff --git a/test_data/test_repos/test_repo_4/dotGit/refs/heads/master b/test_data/test_repos/test_repo_4/dotGit/refs/heads/master deleted file mode 100644 index b0575580..00000000 --- a/test_data/test_repos/test_repo_4/dotGit/refs/heads/master +++ /dev/null @@ -1 +0,0 @@ -7b2eba252004b7c867413def2a0984d545daab8b diff --git a/test_data/test_repos/test_repo_4/gitleaks.toml b/test_data/test_repos/test_repo_4/gitleaks.toml deleted file mode 100644 index 75cc6c80..00000000 --- a/test_data/test_repos/test_repo_4/gitleaks.toml +++ /dev/null @@ -1,9 +0,0 @@ -[[rules]] - description = "entropy" - regex = '''['|"]([0-9a-zA-Z-._{}$\/\+=]{20,120})['|"]''' - tags = ["entropy"] - [[rules.Entropies]] - Min = "3.3" - Max = "3.5" - Group = "1" - diff --git a/test_data/test_repos/test_repo_4/no_secrets.md b/test_data/test_repos/test_repo_4/no_secrets.md deleted file mode 100644 index 243d535d..00000000 --- a/test_data/test_repos/test_repo_4/no_secrets.md +++ /dev/null @@ -1 +0,0 @@ -### This file does not contain any secrets diff --git a/test_data/test_repos/test_repo_4/secrets.md b/test_data/test_repos/test_repo_4/secrets.md deleted file mode 100644 index 67c45b60..00000000 --- a/test_data/test_repos/test_repo_4/secrets.md +++ /dev/null @@ -1,21 +0,0 @@ -### This file contains some secrets - - - hey, if you type in your pw, it will show as stars - ********* see! - hunter2 - doesnt look like stars to me - ******* - thats what I see - oh, really? - Absolutely - you can go hunter2 my hunter2-ing hunter2 - haha, does that look funny to you? - lol, yes. See, when YOU type hunter2, it shows to us as ******* - thats neat, I didnt know IRC did that - yep, no matter how many times you type hunter2, it will show to us as ******* - awesome! - wait, how do you know my pw? - er, I just copy pasted YOUR ******'s and it appears to YOU as hunter2 cause its your pw - oh, ok. - diff --git a/test_data/test_repos/test_repo_5/dotGit/COMMIT_EDITMSG b/test_data/test_repos/test_repo_5/dotGit/COMMIT_EDITMSG deleted file mode 100644 index c629f60f..00000000 --- a/test_data/test_repos/test_repo_5/dotGit/COMMIT_EDITMSG +++ /dev/null @@ -1 +0,0 @@ -even more secrets diff --git a/test_data/test_repos/test_repo_5/dotGit/HEAD b/test_data/test_repos/test_repo_5/dotGit/HEAD deleted file mode 100644 index cb089cd8..00000000 --- a/test_data/test_repos/test_repo_5/dotGit/HEAD +++ /dev/null @@ -1 +0,0 @@ -ref: refs/heads/master diff --git a/test_data/test_repos/test_repo_5/dotGit/config b/test_data/test_repos/test_repo_5/dotGit/config deleted file mode 100644 index 6c9406b7..00000000 --- a/test_data/test_repos/test_repo_5/dotGit/config +++ /dev/null @@ -1,7 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true - ignorecase = true - precomposeunicode = true diff --git a/test_data/test_repos/test_repo_5/dotGit/description b/test_data/test_repos/test_repo_5/dotGit/description deleted file mode 100644 index 498b267a..00000000 --- a/test_data/test_repos/test_repo_5/dotGit/description +++ /dev/null @@ -1 +0,0 @@ -Unnamed repository; edit this file 'description' to name the repository. diff --git a/test_data/test_repos/test_repo_5/dotGit/index b/test_data/test_repos/test_repo_5/dotGit/index deleted file mode 100644 index c4a9350cedc43f950ad704a8dad9085692b69321..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 217 zcmZ?q402{*U|<5_IMd0?M4cL3K(xq_&j%S97+4tsle-xh8kaCIFn$H95dmV>>3S>v zeEEEHkywgP-$vPw7TS4Cs~I@*@=H>S^>R}f7~)K)w+QX}ybnzKDr|duHw|>qSTUNy@E=hU0@Ir)p0_i>AM80{|YgNNxZC diff --git a/test_data/test_repos/test_repo_5/dotGit/info/exclude b/test_data/test_repos/test_repo_5/dotGit/info/exclude deleted file mode 100644 index a5196d1b..00000000 --- a/test_data/test_repos/test_repo_5/dotGit/info/exclude +++ /dev/null @@ -1,6 +0,0 @@ -# git ls-files --others --exclude-from=.git/info/exclude -# Lines that start with '#' are comments. -# For a project mostly in C, the following would be a good set of -# exclude patterns (uncomment them if you want to use them): -# *.[oa] -# *~ diff --git a/test_data/test_repos/test_repo_5/dotGit/logs/HEAD b/test_data/test_repos/test_repo_5/dotGit/logs/HEAD deleted file mode 100644 index f4063b51..00000000 --- a/test_data/test_repos/test_repo_5/dotGit/logs/HEAD +++ /dev/null @@ -1,4 +0,0 @@ -0000000000000000000000000000000000000000 547bc0caa26ce3f20bea9ad9bb0f7e3e9dc749ec Zach Rice 1580490269 -0500 commit (initial): init -547bc0caa26ce3f20bea9ad9bb0f7e3e9dc749ec 1f2a4abc47dabf991e6af6f9770867ce0ac1f360 Zach Rice 1580569654 -0500 commit: introduce secrets -1f2a4abc47dabf991e6af6f9770867ce0ac1f360 ca71fcdeda15f25f0cc661d90e8785c255925c27 Zach Rice 1580569684 -0500 commit: introduce more secrets -ca71fcdeda15f25f0cc661d90e8785c255925c27 a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0 Zach Rice 1580571022 -0500 commit: even more secrets diff --git a/test_data/test_repos/test_repo_5/dotGit/logs/refs/heads/master b/test_data/test_repos/test_repo_5/dotGit/logs/refs/heads/master deleted file mode 100644 index f4063b51..00000000 --- a/test_data/test_repos/test_repo_5/dotGit/logs/refs/heads/master +++ /dev/null @@ -1,4 +0,0 @@ -0000000000000000000000000000000000000000 547bc0caa26ce3f20bea9ad9bb0f7e3e9dc749ec Zach Rice 1580490269 -0500 commit (initial): init -547bc0caa26ce3f20bea9ad9bb0f7e3e9dc749ec 1f2a4abc47dabf991e6af6f9770867ce0ac1f360 Zach Rice 1580569654 -0500 commit: introduce secrets -1f2a4abc47dabf991e6af6f9770867ce0ac1f360 ca71fcdeda15f25f0cc661d90e8785c255925c27 Zach Rice 1580569684 -0500 commit: introduce more secrets -ca71fcdeda15f25f0cc661d90e8785c255925c27 a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0 Zach Rice 1580571022 -0500 commit: even more secrets diff --git a/test_data/test_repos/test_repo_5/dotGit/objects/00/9114bb4fc3521c478aeb1666f4fc87a4fe2964 b/test_data/test_repos/test_repo_5/dotGit/objects/00/9114bb4fc3521c478aeb1666f4fc87a4fe2964 deleted file mode 100644 index 33381fc0af4225a45bf73cb4ab35d61c71273c12..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 123 zcmV->0EGW|0ZYosPf{?nG-pUGFOE-4PEIW@j?Yf5jL%H5Rd@9EboBH$b@O-e^D}pi zaP$rEaaHFkD9X$$(ZEoy$;E{shSdlod`9Hv7p2A*rzRJrmJ}=4DyUmpniv};rKOf9 drdb#nrzRU4S(>C885_dPKvoZQ0RX5iL$@DFfgjÜwñ;ìH� \ No newline at end of file diff --git a/test_data/test_repos/test_repo_5/dotGit/objects/2b/8f95ef90b07889acd0607a91a22bee87ac4a46 b/test_data/test_repos/test_repo_5/dotGit/objects/2b/8f95ef90b07889acd0607a91a22bee87ac4a46 deleted file mode 100644 index d98e1094cdfb7bd569737c0c9717d8b6ef90448d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 67 zcmV-J0KETr0ZYosPf{>5V@ND7j!#TZPAx8u&rYq3&rGpZcl7pj^z=7%^LO#{Gk1+} Z^bPQFRp%-w%FHX#z)-Hq1pt|e7{netAn^bI diff --git a/test_data/test_repos/test_repo_5/dotGit/objects/54/7bc0caa26ce3f20bea9ad9bb0f7e3e9dc749ec b/test_data/test_repos/test_repo_5/dotGit/objects/54/7bc0caa26ce3f20bea9ad9bb0f7e3e9dc749ec deleted file mode 100644 index 9e502d7f..00000000 --- a/test_data/test_repos/test_repo_5/dotGit/objects/54/7bc0caa26ce3f20bea9ad9bb0f7e3e9dc749ec +++ /dev/null @@ -1,4 +0,0 @@ -x•�A -‚!F[{й@1ú«)Dt†–ítû…L�iÓéó -­>xðÞG£÷& ½>Èd*¶š’3ç@hü‘μéZB$olEçL.dTúÈ>&<ípoÄpùÎ5·g“WÊ'ý -Ú´qe"Ñ!ªE×›ð¿žjï&êÚQ3– \ No newline at end of file diff --git a/test_data/test_repos/test_repo_5/dotGit/objects/5d/bb39e8aa13063310c7cd4787a62d3119674be0 b/test_data/test_repos/test_repo_5/dotGit/objects/5d/bb39e8aa13063310c7cd4787a62d3119674be0 deleted file mode 100644 index 1dbbf398b598cba5295d46b010b11d569e967954..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 87 zcmV-d0I2_X0V^p=O;s>AVK6i>Ff%bx$jdKDE!N9TVVJJB;?I}QHy4Se`1Ea*{b-?` t$Fv%%rZ_dZD7Bzn(P@3pv{&RJ(12LR%{Aac*XD@*_Y diff --git a/test_data/test_repos/test_repo_5/dotGit/objects/81/723dcbff8ae8bbcb2fb3051bfd12c79bd4b8fb b/test_data/test_repos/test_repo_5/dotGit/objects/81/723dcbff8ae8bbcb2fb3051bfd12c79bd4b8fb deleted file mode 100644 index 058a166446b2c3002c9137360bee5fb5a07a770a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 87 zcmV-d0I2_X0V^p=O;s>AVK6i>Ff%bx$jdKDE!N9TVVJJB;?I}QHy4Se`1Ea*{b-?` t$Fv%%rZ_dZD7BÇbèþdØ}‚o‹D)¹Ji9{#iÔ23&b5õ-:yÎ[ð#zƒË¦Ÿ¯qÌ÷u›¿RÎÚ÷/ðk•2¥'\ÝA�wÓþë¹í>G¯Ï#³÷að06î ÿGó \ No newline at end of file diff --git a/test_data/test_repos/test_repo_5/dotGit/objects/cd/4f2dbbeb8c026390c7e31fd89c624f0552bdc2 b/test_data/test_repos/test_repo_5/dotGit/objects/cd/4f2dbbeb8c026390c7e31fd89c624f0552bdc2 deleted file mode 100644 index 54825cb8c9df7be85cbcd31aad8eea9332b6a510..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53 zcmV-50LuS(0V^p=O;s>9V=y!@Ff%bx$jdKDE!N9TVVJJB;?I}QHy4Se`1Ea*{b-?` L$Fv#%Q;ZP}Ff$i5 diff --git a/test_data/test_repos/test_repo_5/dotGit/objects/f6/878b4d8b01947b3bd9bf23de8446cb6cae335e b/test_data/test_repos/test_repo_5/dotGit/objects/f6/878b4d8b01947b3bd9bf23de8446cb6cae335e deleted file mode 100644 index 0f4f495710d4394b6276171f76b391d3303e8231..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 77 zcmV-T0J8sh0ZYosPf{>6HfBgHFOE-4PEIW@j?Yf5jL%H5Rd@9EboBH$b@O-e^D}pi jaP$rEaaHFkD9X$$(ZEoy$;E{shSdloJVpQjET=DiZyh8X diff --git a/test_data/test_repos/test_repo_5/dotGit/objects/fe/2074a5245bc33007255e6f4fe2e6e7464f2b55 b/test_data/test_repos/test_repo_5/dotGit/objects/fe/2074a5245bc33007255e6f4fe2e6e7464f2b55 deleted file mode 100644 index 6ea38dfc840aca28239b2b037923aa83166e9f8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 87 zcmV-d0I2_X0V^p=O;s>AVK6i>Ff%bx$jdKDE!N9TVVJJB;?I}QHy4Se`1Ea*{b-?` t$Fv%%rZ_dZD7B_?EoLG{XpQl%un41GO=PXDI&^#~=)@~r)gl1lR%m#)FU#7*)=HcKF zaqr#l*M3msID>3*eqLH;x<0b81x5JD{#FUy3F#ANDl*FacWUnYLQ+^YH^8PK_y6UNRX>5kWyvPHB>O 1571923767 -0400 commit (initial): commit 1 with secrets -6557c92612d3b35979bd426d429255b3bf9fab74 d274003914c707212cbe84e3e466a00013ccb639 zach rice 1571925818 -0400 commit: comment -d274003914c707212cbe84e3e466a00013ccb639 98b6c7cb3fb29a5993c4c95c56a2dc53050b9247 Noel Algora 1582571595 -0500 commit: Adding some secrets in config folder -98b6c7cb3fb29a5993c4c95c56a2dc53050b9247 98b6c7cb3fb29a5993c4c95c56a2dc53050b9247 Noel Algora 1582571636 -0500 discard: [bc379e22c22a97ca5ffc871c1449af854f6f26c4] diff --git a/test_data/test_repos/test_repo_6/dotGit/logs/refs/heads/master b/test_data/test_repos/test_repo_6/dotGit/logs/refs/heads/master deleted file mode 100644 index 1112c7db..00000000 --- a/test_data/test_repos/test_repo_6/dotGit/logs/refs/heads/master +++ /dev/null @@ -1,3 +0,0 @@ -0000000000000000000000000000000000000000 6557c92612d3b35979bd426d429255b3bf9fab74 zach rice 1571923767 -0400 commit (initial): commit 1 with secrets -6557c92612d3b35979bd426d429255b3bf9fab74 d274003914c707212cbe84e3e466a00013ccb639 zach rice 1571925818 -0400 commit: comment -d274003914c707212cbe84e3e466a00013ccb639 98b6c7cb3fb29a5993c4c95c56a2dc53050b9247 Noel Algora 1582571595 -0500 commit: Adding some secrets in config folder diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/10/fa14c5ab0134436e2ae435138bf921eb477c60 b/test_data/test_repos/test_repo_6/dotGit/objects/10/fa14c5ab0134436e2ae435138bf921eb477c60 deleted file mode 100644 index c32cf91d44974fe535cf2b75e37623bbcbb69492..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 784 zcmV+r1MmEJ0fm%bZ__Xo#d)Ql;*wT$f0~2=FMx^!V~k0Rp|!kC3^%!H46Yq)XJZo| zp5r*BV@x3RA+>$)J@TEv_h8VmBU2=u-N+i_&7nWUB7FlBnQo z;i(obtRTM6+Gm_lWt1|PF=MD&a#SOYUZ;s6i0y;Mj+|+2!5PsUA)yDXHLY!oW0ELk zh)by3w6Te%pbC*kQDX<75>mO?gCK2mdd=35^TM}og3wK#kXpw1yNCh5}#@E#BmA2D{Is0Jr6u8;P>SuxKWin#wA&o+sPkKhfO+F^O^9$C0QsInxPc^d&q2y+I05 zU@Ct(v OU4)Rel7nBha@t(wn|DV5 diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/3a/76f3781306faf5612017bf18a4b4bdb9f927bf b/test_data/test_repos/test_repo_6/dotGit/objects/3a/76f3781306faf5612017bf18a4b4bdb9f927bf deleted file mode 100644 index 0bd54d2c1d8cca5c8246d0dd18fc408854cbe069..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 138 zcmV;50CoR(0ZYosPf{>6GGlP@402{*U|<4b#@LPP6&Tys1%m19Dqlth1{UVIz3dDO zjZ4IRR{C1x%{mHH#@5g+bo7+Bh;sU5y#m*(q021)i1aY<6{i-Jr55Rxq!yRx6;uMv sV+aXybp=vv47!F223)+Ejk-r?-kftzqvgflt1p>^C*RQm066(7zoF4W0{{R3 diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/41/42082bcb939bbc17985a69ba748491ac6b62a5 b/test_data/test_repos/test_repo_6/dotGit/objects/41/42082bcb939bbc17985a69ba748491ac6b62a5 deleted file mode 100644 index dba982899e55860a4eb9fd52adc3deaa74d41f11..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 281 zcmV+!0p|XA0acJ&P6IIvMfuJuF6pQOL0Wamv=Q^!XXiH1wk zg=vZz}Pal`Ndeue!ODiC}gn+foU}Oq=ooe=^kN1UoO^YsFL< f<^bLNA~fc6c>uNl!{+PhK{s#uTfL|spbC+Vc>jt5 diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/49/8b267a8c7812490d6479839c5577eaaec79d62 b/test_data/test_repos/test_repo_6/dotGit/objects/49/8b267a8c7812490d6479839c5577eaaec79d62 deleted file mode 100644 index b558235fa77fbc9e56902bc61148d32e42a70755..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 77 zcmV-T0J8sh0ZYosPf{>9W(dv8OUzA8Q7B3+$S=+;$uFw3R!B|BEKw-Q$ShV!%gjkt jP)|uMPA9Zjg diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/5c/b000d0f4965e9b0c080814478dbf4e87c114c7 b/test_data/test_repos/test_repo_6/dotGit/objects/5c/b000d0f4965e9b0c080814478dbf4e87c114c7 deleted file mode 100644 index 8226e0266b6e7ffe61314d45269678458f4b9075..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 111 zcmV-#0FeK90ZYosPg1ZnWynd)OD|1KPqj_Wi+A$eGm`)S diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/60/c9e47f150a6b713e247e6105b77f1b961f844f b/test_data/test_repos/test_repo_6/dotGit/objects/60/c9e47f150a6b713e247e6105b77f1b961f844f deleted file mode 100644 index e212d90f3fabd74203f9f743d042f0cde0bc711f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23 fcmbBdhdwu^tQ1~wf8p^i(s0T zT2HqeOm$Cvty?mYbnd$p&zYJo)?BWL&a|~$Qhra_#ehHSSqI*Q-)@t3iM59A1KYt+VIRAuu?D5!oHdRkh=Z9l z4cA<$LrKOpU}jv3N|`|>qIcFqRj{m1r**9L8Xu$a!_IUIWNYV39ByH(eJ>{UqF597 z79A#4MEf0o26rK4{f4$2quwNfp^adhJk7qHf6nMt@57C7ZGztf9DKb}Y9MfuE!LUp zg2m!6Q|jU9;N;*x|CEB6n3=%31P63|h2F*$dLErh!J*m}qN?<2W-9tl*$bGj!zCY&NHlkQ(qMTiioLj@689l+~EN1AUr50RZ8Gd&+}$MZK3M99|M`{3Ice zX4u^@n%_}DbSwje%cj&AR@i`ni>=(lzX2VJjGjCN+>u+Y{zR{g!ofM6$)kXg3j~)& z2y6^kC)apPpy2J&qAo2R$pFH=hF<=}`InF{anG)ilLWz;Y%yeKBIKhGT-2UUUmQ~Q q!FR5FQcf<#NDkKR$-^;CUj~4gyfU=L3Y_JaCR(NFf%*+dC9pC^&}bt7 diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/65/57c92612d3b35979bd426d429255b3bf9fab74 b/test_data/test_repos/test_repo_6/dotGit/objects/65/57c92612d3b35979bd426d429255b3bf9fab74 deleted file mode 100644 index edf7d2fb0e62b9a281faba25dcfc481559bbccbd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 133 zcmV;00DAv;0iBIo3c@fD0R7G>_5w=MY#s#>uac}=5->*66``lMf+z56U|<;PtyKXN z<3R>9@XXH6ehKWRlrY{Hqsthr=bSYfqOb%)uhL6OAFw4VFe)*ew=c%^IlA;mOZ9%D n-Y#HVF!N-C4{+3|wc72z6#gsz)nMRVrNGKGSXT7`Tx&jrpjJOP diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/69/465772e5c3a14379da6c369cdb46edbaa6d097 b/test_data/test_repos/test_repo_6/dotGit/objects/69/465772e5c3a14379da6c369cdb46edbaa6d097 deleted file mode 100644 index e59352e95772e6098665f165dce21d63710f0d03..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 133 zcmV;00DAv;0V^p=O;s>7v}76N4wm*^E#GAz7%S^xFtz0Z;j75m%kznPziiJt@jRLC^s?si0n diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/6a/756416384c210ada2631f17862f5c01fffa478 b/test_data/test_repos/test_repo_6/dotGit/objects/6a/756416384c210ada2631f17862f5c01fffa478 deleted file mode 100644 index 072ee533384e5be65d132e80b92e8d46ca29a11c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 946 zcmV;j15NyR0d16FYurW)DX-B86r5$B= zb>|DAzrF9QbPg{4cBh@4dFP#Hw(6v!%OAe~@w>xU=auv4u`LdZLt1&_C({odQ!DaF zu?}uXl!P`MT(hHXYZAFgrjjv#ub67-dzTX1B{JNau47BpjuvZ|=CcKDU24e-nXn#v z_9-rj9@>4CR>scaGC$$U9O}z29E4&rX+*syaX{fXI=?34$qYk~AvlwmdXCYonOuV$ zn!%ueijGMJN+>f)ggyj32(dR6T1+iE(LT>8;8Q<;X`G%3Er!75baSyR3fGW!6nIk( zCPb#PoK5-l-Rft$Ik&ty_hZ-5o15dy0%d)1VAjU@n65RX;4X4;a7cIFC1<)>)fHLS zG&DzQZ`==QM=3CqRDW}wzU4W3tr}Vr+j2Uh5@XQF=kljT;|lb7*U(PJY=(A&xyTkH z@a5|L?cE(|m)dir$Vj19Yz+L&#t3qbye#r1+%d6s?s_U-i*MW--B%)Awl6MU#GPvO zKiIke=>$%O36+>Ehp;U8iEFyNIew#Yw?Sg0p);wG&=ZEL4P$!jZI-%EskCovY=Pjv`|ME^ofp-m4V*`;On-CztfNx^uqk1Yp2qt`B-L`|aoqrcB1thQ$a2WgOi4qWGyAfflt zVW^QVFHRzzk1^zJPvP{8qVsjeQJsjNM-zB20PC9oMvEmw0i|lqsO9L^9(!je zY0KgO!HFh1GRtLIo4Q3nSt??s_-=>adRBrvn0LLR@(Ug9q5oPO5Z&MYwYtB*zSX8n zOD7+w{O8lhixc`v+nUPyRBgPN7pull-oE|#?)P7ccOgi)q7|MXEKY{Ts&_A0Csl$q zeo)eDY*}s8bpQwA`-sQm#ky=IJWhihSoA#cSW@=z$7sE|wjb73&%sOtf!|_U`Ki U?AIJ_Y5s+)Q~BHc07G9gA$trp-T(jq diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 b/test_data/test_repos/test_repo_6/dotGit/objects/6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 deleted file mode 100644 index b098b0b66e206a72124d32206debad73e240f4ee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2176 zcmV-`2!Ho@0hL($Z`;Tb?yursF{h}tlCB;Yhx@e zWu`QQ*14r9WUSEE&`Rai8XM-g{#7lQ)WrG?_S= zrZ!efQMwx=buJBUg&|n<5xN)>Hlo2IE?8<&r5o7HdcCzP8Y)e)tnH4r8(I0s{N7pD zXw8=Tg`)@?4m6^y3rS|9wgz6^l2v=Zs5(!>8bGoeVM)Nrq5#^}4v*~jG=-(S13YX)b+asTv%x-_+*qY|(Q_}l>|bvkKJ9O zV414;J*kXJVPL|P=%qn^(Cc3~mOfy(KjA&jm5aR$DiQjkaCu?y-Z>1kan73jcW>v- z4Sj({=|<7BzbvT#3MtbtXFYX;JA%#g&051a`XQ$U_DQnZ9R-t)X>j`H$A7;&ygUle zOS5JVKaLU`v<+@$-0PzC`#f?Xj}`st`>G$*4FBALK7zth)SSM(-t5Eh-QnbWG086f zI-(iN_lD?P$Ioa!;=5Zib&=cQ?0q#G2YB;K_X_Qc7`rTFNyApowI1Re%5BmJPlu-S-w@gZX7}VUNY|J!p%~zQ8b~{{FV5o-6iqm;FEd@c#Vu z+0~0z=Sgyb9v7Rkn<e(vSGPS7bphRB9JIo>9+PAH{DF!_N<5*-I0 zGC5Cc-feF&)VOBBT_M`)<{mgXkioA`H=NZvvHQR9>rZf<9jG#;05qjEZe%(^FMt z`MS|!iIEg9lfjQKFRspCzM1(qz{+8mIocn=@Mx@c47DPxyQepn` zam*($YbN?9ALc-I3?>LXvLVPGH{B)xfIMA%@L=Na^v9HFe_T+Hs|8e*=UGn zzY#Tf>=}*I81jZVc}9pGPDUGFfuY&052Yr8Kp_4h?SY|!55+j6xuggg3hwuMAds3& zCV%)1S?X5In0ENY{|~NNieCz7=I@eDS?2Bn2(e68$ya3f5k65eg|_xf&;3h&pRgr- z(fPUu?$7)7G75I(mJZ_C9mycq731su$E%z4W}ExdCQ{(pGsnp@Q0qWps)P_04HBQ z|HC7^tE_NB(qb)>=MOf%;09gR4JLM!ZYHt+VJ95+;(6wS_a=9&Z%Bk#IthP{KtfB@ z1!VR(WI8*)V<6@h7T=rK1+#bv#yfU8by$ED^}uByyy||BiACVsr7(%(-~Rym!v%V@ C_Bz%8 diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/80/8b12c5ca4b142367932e7045d555a639fc148c b/test_data/test_repos/test_repo_6/dotGit/objects/80/8b12c5ca4b142367932e7045d555a639fc148c deleted file mode 100644 index 9cd8d69460c86bbcd9b032b9c98776f077f08c21..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 209 zcmV;?051P{0Zorji^4Dv#XaX!4D`?yMX<7Z@=$I4!@4ShsHc)<1`XB(GQp+aeq&W| zPH$j-@4YE2TS78SS`lOxjP-Dl4nbKYP>zs{*Ro=vDjg(@p|su(de8MsK$w^Zako(s zEZ#5zd#BBrLGq_jx5;p%?CnMd340AG|G1D!5p!{+y3ja|)1PI!+;X&yJ} zSKao%?;|PMw46E3I-@`pk$3#=?z@ktMXna~=G)o%H{Dm$MJA^@jk-~n-boUl_ejwG9Hm0@1DYyih6^T#^<>(>4_*6~%F=+bqv% zA;|ebh?&IE*y{WgVxx3sR8dWczOQI05?GdM&r-KdOv=+ zy}$YJ3!{%$7LklPB2LjZH;$J@X>kHb-R!QVE$}#iF=2FlcF`EpYdEh|Nn0+>$UViX zwEbIdHb_r>pgWA<|InCv=kyj~UDI114<39l*Mnx~Cs1b=C0P`NQD=hDSoyfT_5N?~ zwc$<~o-^ES99SMY@=>A+k_s~DNd<9;Hii0K#KyjYM-BBD3+m7Q z=2PEfAv4Hwr;Gb>d@u{(rA}30?rUfB-koT zO&|M?$2Rz#+S$s2kQ=_j#L=iCe0jm@bRbzB%b|n3`SSR@)wF=qRx11g-ang&8#_4I zfxutNFNpXgN*wJWw(A-eY}f1uDCz8s{J8gsQLjKcdv)>Yn$XpcQ(0nqy0|`@A!>gI zg$1}p-usP7AH~B&v8*tQX4>c=%kJ8;&Ha-bTV9ZZz{%4|NO5ADagEh{tvzWxc`6V{Li;sv-@2XT6gZMlA$rl^Ro&wj)x3Z;J5!cXqFz&@9#O z+{cX@FfO5g4^nNRX;6Jq3HdJ{D@y3MebZsZ?WpgMTF%`Bx0kBcP4`14Go4~~by{{F J{R5J=dNhq_Y9s&v diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/98/b6c7cb3fb29a5993c4c95c56a2dc53050b9247 b/test_data/test_repos/test_repo_6/dotGit/objects/98/b6c7cb3fb29a5993c4c95c56a2dc53050b9247 deleted file mode 100644 index f3467bbd4d3b4c11f03a43f5954b6cf9619053b7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 176 zcmV;h08jsT0iBN9ZNwlD0P{^1+d!fP7GtDSlxrY8;AKsactn`%KdvFaGa6}lv{n`v zXWrHnfs{Cf$Xh@P4ihu&LX31oBNig53zG4KXoDuctwnaqL zmigFhQ1P{X#)R)76`nPZ8R5}~#F|TfedQKQ{ov6)LA%{JuU&BPjt)`X^j=)@uUI`( eDm}wBn!qJIWnEA@@aSjBaE_W}D)k3TXHVivi&aAa diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc b/test_data/test_repos/test_repo_6/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc deleted file mode 100644 index 2103921e..00000000 --- a/test_data/test_repos/test_repo_6/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc +++ /dev/null @@ -1,3 +0,0 @@ -xMŽO ‚@Å;ï§è`‘%:XjE ¢<ɺ;˜¤»°³~ûÌ -z§÷`~ïMVê Fþ´Ó…PƒÒnÜHZ"ƒ•-xIL”Eca™¶Ú÷>±Ç ‘C¾ã¶® «,�¬)TNÀé¿Èm7 -]U¨$J¯%ù“R.¥w¬ÓBΜ`³Ö‡q|÷ûIt vÇmôÝy_6ïÙ?¨!æ‹0Šb´�ÔW\>ε9æ …êr:-†Aò+a}Æ^K§N$ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/a1/ddd32febf3bde66331218f877ff637c85c5f92 b/test_data/test_repos/test_repo_6/dotGit/objects/a1/ddd32febf3bde66331218f877ff637c85c5f92 deleted file mode 100644 index 0867e75c9a688924acd123a3cee57ab17c13a56b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 208 zcmV;>05AV|0Zot1s=_c3g)|3Dg0e`U93dI6WywO7I!G8pVZH5lUTaf8n3(%jLRGAYaAIcw diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 b/test_data/test_repos/test_repo_6/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 deleted file mode 100644 index b72c5f77..00000000 --- a/test_data/test_repos/test_repo_6/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 +++ /dev/null @@ -1,3 +0,0 @@ -xuPMOÃ0 åÚüŠGV1lc.LEB`†Ä¸!Miç*a]R5!þ;N‡øââÄö{ÏÏÎ+—ãìôt§³;Ì�z-:¢ƒK zQ«º"hç–ðEcê€à°RKÂÚ\‰zí5\Œ³~À¬™¦/š7Ì~Ú‘‡ªª_h­|PMÀÆ�næªXf]Rv�†ž¨ßTVÙh²Ì$ÈmSþÔ„ñÑׂ�D+dUÎþƒæF\âˆ%­Z}VJ{²n¨ßPAæ™ä@S"�è[Èôz2›ß=Üß̧w³Éôv~5}¸�IÁ¬HLv,’�nu"C¦F¢_ÅÏ?¼dáD’гª 9¬){üeÆŠ/,Ó$axZòu ƒgm -‹(·jÏòc•~Üøé[+Ñ9ÈÞ%.öN"s<æ¸=àVéŌ⯠-~L–îïbÔãþÂY¥eMª$ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d b/test_data/test_repos/test_repo_6/dotGit/objects/a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d deleted file mode 100644 index 0aabdd404ead93e87747db7463148dcfc4406264..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 57 zcmbOuDK-kgbrAKuAb%2QHA^dN)z?r`Std5O*i(wxzt< z<8Q{(x!A$u)AQBhdezymA|n=J0q+5Dr+sn=CdLg=pKW5`2))6618flb=)GldaRiS< zdPHEo!2sR95OhjzpEUOdh8#WULR4N`cM`V;qmKfb9Za0uy0{kP*0O;RgZjc8fmriI zpa;ebmT0nJEV$Vt$CRyRJW;_8PzgFP)wsklU8HRR&W@HU!nwG`b(P|}99}$jdTOu^ zk70`_=&qE)#?m48J>)X-$4Qk|l>GZ%c^YLaL<^&3MMe?wl*C+K*}clt!8Zn-Acho3~C3mIU^)2m!&xD{|}q*hdbH4$sh3|egWDEqwx$qkTC!N diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/b5/8d1184a9d43a39c0d95f32453efc78581877d6 b/test_data/test_repos/test_repo_6/dotGit/objects/b5/8d1184a9d43a39c0d95f32453efc78581877d6 deleted file mode 100644 index 043d9c546046fd8e97c51aa441fc04770e35a2e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 529 zcmV+s0`C2I0ezC&Zqq;zhPjQO;>U@|L2;~bfdHwI3PI2tDpB`}kZNs@?N#kvcX!=# z2=C6U-H3n?H&HU4`43;5);h(@S1+E7pT?Skk)oml@JP|ZH;b? z6poIOAq#i~p&UDEKGm&vW|blO>cmsBW?kzC?#HW?^Wh1I$B^(nm;@^%yre|R5M9N$ zKKBxaM_js}_*E|z4qj1X%WxI&<+bt?#?%|6#HM~vLt={uxbsp!cg=(5Nq|o`L@x9z%<+64vz diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/bc/379e22c22a97ca5ffc871c1449af854f6f26c4 b/test_data/test_repos/test_repo_6/dotGit/objects/bc/379e22c22a97ca5ffc871c1449af854f6f26c4 deleted file mode 100644 index ad8ee05b479c62be3ecdc997879e1cd70d7c4904..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 195 zcmV;!06hPA0iDiEY6CG4MbV6V6}16}Zhb8XA%={dQ5H}tRm%c>f+T1C(Hb&)TsZKk zm69e1t6pYj2IG{`)(X}n@levbfQF=T6udGVJfaD^v)d1Lt`pqV8?xl(>4ih>oFqj~ zlQt*&ptv1FSQ+$5Jf+@dJEAMdVtI+l^(!gcueOq;1 xocu4m4gBQ*-}lciNcC*J;7qN;TF`m$1bSeNJOFEekOpB73!EwQ_yhQ*Ss;z>UgQ7( diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/c9/8e6c52cbd1f50de572ff12a3441271fccff705 b/test_data/test_repos/test_repo_6/dotGit/objects/c9/8e6c52cbd1f50de572ff12a3441271fccff705 deleted file mode 100644 index 14206b0be8055a643e766f4891228035eb86c109..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 158 zcmV;P0Ac@l0ZYosPf{>6F=cS^402{*U|<4b#@LPP6&Tys1%m19Dqlth1{UVIz3dDO zjZ4IRR{C1x%{mHH#@5g+bo7+Bh;sU5y#m*(q021)i1aY<6{i-Jr55Rxq!yRx6;uMv zV+aXybp=wA42B8@T>m~x@=YnSt7xg(`Qg?o(Y06pUwMDDPPCEZ!SShDS_fbL%zb99 MyDotZ0RKTY9%ztF9RL6T diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/cb/089cd89a7d7686d284d8761201649346b5aa1c b/test_data/test_repos/test_repo_6/dotGit/objects/cb/089cd89a7d7686d284d8761201649346b5aa1c deleted file mode 100644 index 17c8d93ced73ec5db532487582e5971988714a58..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 37 tcmbGp0iBLZ3Iib!1+(@PeSrkOqYWYCDy_E6KpY1#n>l?Jt4f_zRr-(&nB2tcWwxwjtMI6+5AFw#*6Y53jY@%`KF=nfmIn>TY z6AKoK-U@n;wRJcttiG%-=fA$O& IAAFxjc?OwAqyPW_ diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/db/4ccd6cc9ef282e9bf2f8c5f7877f0d40520724 b/test_data/test_repos/test_repo_6/dotGit/objects/db/4ccd6cc9ef282e9bf2f8c5f7877f0d40520724 deleted file mode 100644 index 7f8431777a0b401f45298e1a0df6364593149613..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 67 zcmV-J0KETr0V^p=O;s>8U@$Z=Ff%bxNGvGG$xKcx$;{8wD=5k@NG&SKOf6=J*}!n& Z%e1)JJRBS%?!Ei{+7F5x2LL$x6(>ml8+8Bx diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/dd/6e8207f130e113c97f5ed15238e7901290ee42 b/test_data/test_repos/test_repo_6/dotGit/objects/dd/6e8207f130e113c97f5ed15238e7901290ee42 deleted file mode 100644 index db5b596edb2959c3cae95e467f751e8a9afaa2fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 106 zcmV-w0G0oE0ZYosPf{>6Fk?t8DDX?nO|?=`a?dQuNlnZy)(uH5F3HSG*L5r?P~u7~ z$c!(^&rZ#=Qb?^x%q_@C4NgriN-YUUEG{n3FG}G`Ns2FkvaJ-#Qj02~@7v}76N4wm*^E#GBk7x9X;hOqMSZiufX+c=rYScB0T^q{W1q<5I?m5 diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/e6/73bb3980f3c286291809e05f80873852bc3e9c b/test_data/test_repos/test_repo_6/dotGit/objects/e6/73bb3980f3c286291809e05f80873852bc3e9c deleted file mode 100644 index 144d4077bbfa5593abd0ed2b1ae93b259fa6873e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1646 zcmV-!29f!A0hL$pPa8Q9y|0_UV!A|1QjsieKinx4t`+@poGL&qy`EGka(11>Wn(Y4 zmo%dEZ@)M8E&+OXYWV<(?HSL!dGkC>N;9D+PagmJ%f^GOb~c+RomJA7olfl}Id4_& zx5MY9uv+Pvi{JK-_QvDGO6tekoz4b5*CfA)MO8|g8*@%Bx2p2w4JqyA%nC2*gYfx$ zAvBKn=iXOtoMlsy%LxodGv(*?WTZ^CY>s6ET4Ir~!+u;PWkGdCh4eD_hy;GLT$0cQ zEli=N3j0%4N;m3kVDEU|#G)Kk!a3{;x|G%_qp6?Q)=KTm6+IdR7lOQ6NQ6sTXyasV zbm8D;YV1OI&(;nO7!f@S7N+)9?Oh1Y7x+e^EMo-Z=fcxmTuPcq$r;~7=#S;jzoE`J^?*lbON|e_I-R&M|l^WeCK{N-)9&O;#KtHc^Lz z_iq{?3`s2}Sn_jV!S&h16N3Ow+M#F9-@g7U5NB^L^Yf5a;0?3IGAY_hbvkOg zc0oHkT(7H6vcb{7vAQBx>I{#?{-7 z$$dJcop01zxRvYC*RRxV7V_0>sdO*od)E+YeNg(z?F%>XKUp}t*j)N{fiMVkH>j**~Dz6w<}!v2o)vr&f3Qit))@^y({QNGu)>Xg)f+@;!Ld-G=wv`s0lpSv z>OS}x{FyTQXg4%aC@=I1*SMet6Iq%iEoBd|2p5_QZ4YKGq(k4`>ghndxzIDPBzAJ7 z*#zCclrY!mRBwfL3hF|AFe|q*^ro1C+HAkJ(1uC_UlzeA=Lg`@2A?=KB=X!qPL-R7 z9^GuBtGT&D5^1oVU_I8RKzb~n zDYUaJT*}8vwP3-GPNKx|a?pqd5M8cDEU)_epw^(mnY0U-axl}{!lUJ$g@6i(EWRQ{ zSC<}g-DHiW9D&UY*ap$65)}6>ISJ5d{uy(B|a|=I<(ygYb;woa0dQ8v>} zO7C_cRv<1((o_nBW%=6-OAX*-`j|4P>1kZP1z*@Q9!@@{kQOrypJLG)CB=;~JD9Vh za5@bEyY%$*6gOSt7Xn5272YjRp#k>~s2egt_&^7oX_oPwdlq%6P$-GUEeu@&M^REY z+oq>&|L$I+?W1mfXrAjaio3w;UZAYLwi*ordPf5NgisRXejR|kpp-!l{r^8VDUDh} zY2tN2x=rE76@qGw(ZQ`vS(CF*Csz>92+L<@^jUR2Lp&1Kh2pki`scgDgYo$9ci2n1 z?Lpv|wi|&e5YXhBSkC|}PTsXXI{FXmqa(HskaKwq{NCI#+y$|RyS1PGHry@n_7$>! zlRb-b65h`!;k&dI`n_w0yI0a$W3Rvaj;t41-OLMyd(@PeM8XI%dI%+kut06_u8$rL z2=fFhUQlpZU}WR8BGujf&;!L9K3T>J>}aXvnmfHA~895N^u zUv9?2=H&feLzR+9lULz+VD}4g&T0{-&c^P37%eq_U&=yl+r9R!^gQ9s}_z*mGRDfe|FR8MI5D-!W%Pk>Ts5{we}yZ9Ch+baCPBo&IV<}Vil s|FdAcmITIy*&-ctJ8*Q3bZv4c#&{z)pIwE^!@F{gK(9Oh0QinDkobiyOaK4? diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 b/test_data/test_repos/test_repo_6/dotGit/objects/e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 deleted file mode 100644 index da7e1c7c4610280c50c51ee98c9c92925d129f44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59 zcmV-B0L1@z0V^p=O;s>4VlXr?Ff%bxC{8UZOD)nXNi8nXE2w0c7i6TmS?aFJbAA2S R+-k1pH>Wz?0RWT25#mb?7wrH5 diff --git a/test_data/test_repos/test_repo_6/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e b/test_data/test_repos/test_repo_6/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e deleted file mode 100644 index d7558de5..00000000 --- a/test_data/test_repos/test_repo_6/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e +++ /dev/null @@ -1,2 +0,0 @@ -x-ÍK‚0P×9E [�r§Kïà&0H -Ȥ&ƒ…·7~–Ý]õÚ/âq¾\õ±ó!vyrµ«q‹à�Ö´0&‘¹×� &Hʉ”AHÔÏ< dÉÁD_E±e†djX8fwljG;`*Kluj;-i0<-Zme}~_ z!1ID{vvQma7&uc(b8{>8N-9bq<`i#V2{s2vL(Tb(Y7Ue2rbI<`Yw1s~EutQJU0Cq3 z?eUU&Zw9f_wEW`u+|2ZhlK7<5_@dOr9I&B44}=7{x&kRl24e*SF7dC|e^jdOU7J36 k!=F0i=8FG24bzgmf?SP^GL9t(em{0@cK@%J2M@Xf0QU`Lj{pDw diff --git a/test_data/test_repos/test_repo_8/dotGit/info/exclude b/test_data/test_repos/test_repo_8/dotGit/info/exclude deleted file mode 100644 index a5196d1b..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/info/exclude +++ /dev/null @@ -1,6 +0,0 @@ -# git ls-files --others --exclude-from=.git/info/exclude -# Lines that start with '#' are comments. -# For a project mostly in C, the following would be a good set of -# exclude patterns (uncomment them if you want to use them): -# *.[oa] -# *~ diff --git a/test_data/test_repos/test_repo_8/dotGit/logs/HEAD b/test_data/test_repos/test_repo_8/dotGit/logs/HEAD deleted file mode 100644 index c1e43ae7..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/logs/HEAD +++ /dev/null @@ -1 +0,0 @@ -0000000000000000000000000000000000000000 748f11eaf2c38c3cf0ac6a22e44208777e79fa6f Zach Rice 1595702825 -0400 clone: from https://github.com/zricethezav/test_repo_8.git diff --git a/test_data/test_repos/test_repo_8/dotGit/logs/refs/heads/master b/test_data/test_repos/test_repo_8/dotGit/logs/refs/heads/master deleted file mode 100644 index c1e43ae7..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/logs/refs/heads/master +++ /dev/null @@ -1 +0,0 @@ -0000000000000000000000000000000000000000 748f11eaf2c38c3cf0ac6a22e44208777e79fa6f Zach Rice 1595702825 -0400 clone: from https://github.com/zricethezav/test_repo_8.git diff --git a/test_data/test_repos/test_repo_8/dotGit/logs/refs/remotes/origin/HEAD b/test_data/test_repos/test_repo_8/dotGit/logs/refs/remotes/origin/HEAD deleted file mode 100644 index c1e43ae7..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/logs/refs/remotes/origin/HEAD +++ /dev/null @@ -1 +0,0 @@ -0000000000000000000000000000000000000000 748f11eaf2c38c3cf0ac6a22e44208777e79fa6f Zach Rice 1595702825 -0400 clone: from https://github.com/zricethezav/test_repo_8.git diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/0b/aadf22eda42ba55c4fec3e14973edc6cec783a b/test_data/test_repos/test_repo_8/dotGit/objects/0b/aadf22eda42ba55c4fec3e14973edc6cec783a deleted file mode 100644 index 1f425766..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/objects/0b/aadf22eda42ba55c4fec3e14973edc6cec783a +++ /dev/null @@ -1,4 +0,0 @@ -xuRÉnã8œ³¾‚@�ÄZ¨ è„TdYqäEŠ×K@RÔb[–LQV¬¯O7èÃÌ»ÔC¡^…z¬®ªRG×þ’‚s 2èºÐ´lJufÛ”SmÇrRƒfZšêŽ�ê*4u¥!‚_$ åÌ6 �šaÚ :*µÓâªî:)· KÌŒgü­· …†ûpÊtj¸nFM]s8‡�e®ªiZjd6#.QH'‹Z€aw—Œƒïƒx€xiD-ëKEÊó3««¿�fº¦­ê–j�'ªªò`©$ (å´£àû¥¼9ß_òRýŸ³¼ÉÛ2Oÿöƒp–Á$a0GëØÿÉ+@}‹F{­ðê-›Nµ…ã™]áâfˆ°G(�†!òÄ~ð4áÒ‘úfLÔû—~9š>¶›Ó¹Û|xóþ€ ʰÃw iï«à–ònN‰#Í>¾ÎǘàÅy»vŠt¾Šö´‰fazñ�.CŠ¢‰w5o{ý}t�,'Fñ ¡Äóߨ–Å_ì ÓXÏB¯â÷­y<Ö¢e¥)¨lb3Q@\‡ñ¨1d†ü#´ÛÛr¶ÓG˜«�÷±WΤìó­iä§0y_ÌÔà.Û4êG:ZìÛ`2™( ›M§$zõÔè÷E8>ýk»,o²º-† -LJ'zÇîv¸.ñán 9m±ø¥En) ×‹ä}2ŽŽFP¿n/Á»7 %J®î~—0'¯¨» ö;˜Ÿ®«‰9ЈR»ðf±ì“y'ò -øAOh­üêÌŸ¿þwcJÄEÎAÓ�Ï@ðkÇ[ ¾é u~þ”,ø@nã?ö§†HV7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@c;ZL{WQoqR3J&rFKr^WHqzLR*Xpbu44nwDQ2pPQMUQ4*h& l8ef!}m;=^P`s%s^%WL)HFCX6hJn=*4D;CF3P5`W%HJBfgK{fyY diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/0c/79fa4384c973e9a6fe794491492da04ea289aa b/test_data/test_repos/test_repo_8/dotGit/objects/0c/79fa4384c973e9a6fe794491492da04ea289aa deleted file mode 100644 index 40b16b2a84b0a583d54c820f77fd705d10863b2d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@cVe`5TU-x-6?|$`8HtXs3&;SL6#(7XhrD^%a@wu7l871*a lsqsari8){$Hm7s6jeEqich^1?^|`)HmOnA{8~_T`GypwVK_f*yynL(&ZwlW|Q1bJu_^ftU70y^RYzCPLHy4#2D zs;=tlLwDRYP1yqpE5CZ4ra(fNVMWd&9E&o`NJbQ>%#e&_l**AfLm5J{0+GP3ebI4n zU~$3t0M=!kf|rqh$v3^_4J(ho)*Zr1aQBou}Z0`QR=JyGBb=@ zuB}yTR#e!%iQK$Xni!@@7qn_slAO<>2`6HMV$n486&JufX(ww*3*@`!*}m_7z$(*R z6iHP_#Sw2ON_uCLw2DGQL>imyRXxiMD>&?KXIeqGwZ7|=)DwU;ub`H)dB)7#WY(siSFvSdhwq{b zZxJO!m;}r1;KJIFEvq7-Uo#etH&im`w3G#~xhtV4%k|2(CuF6YBWu^h!H+a)oDZoc zkFW^e$8@>xy6|b#@7Nv?KJE(XaaxN+s|3(a{rGU^qj%MpQGg2WZ_GlQKAGdK$pd{= zYpazs$$KvtWZiqu;!Q1fI^R89nRLVDRRFKNJ?@2{&2(q}@5KbOE&Gxk!Ot;10TD3D EILeX&#{d8T diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/17/f5d7f87925bdad6793b0fc7e338378ffb93166 b/test_data/test_repos/test_repo_8/dotGit/objects/17/f5d7f87925bdad6793b0fc7e338378ffb93166 deleted file mode 100644 index fef363e1c8081bde6bb32983d7b3128dd24ef73b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@cA*6J2SwwV~AG5^9HwT^QZQ7Z!YMd%UFH8vvdnG(0u~JJbLG diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/23/efedf4961168dc048e896f68eda78bcfb8e51f b/test_data/test_repos/test_repo_8/dotGit/objects/23/efedf4961168dc048e896f68eda78bcfb8e51f deleted file mode 100644 index ed1e3becd5a56bd84ed93118a59d806bd3908572..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@cA*6J2SwwV~AG5^9HwT^K1Kil diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/2a/5fecc2737429b02047e5a99d9c0ac6e76a3ac2 b/test_data/test_repos/test_repo_8/dotGit/objects/2a/5fecc2737429b02047e5a99d9c0ac6e76a3ac2 deleted file mode 100644 index ec7b7787adeb92a015ff8e9c7bc88a5640a46277..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 554 zcmV+_0@eL^0d-N?j-xOD+h@Ka?`XC_0x8nWYLb=~XrYuITjq@;9Ob5=*Vk`%o_GCX z$&zKuj@!B}IKYzhgAa^>NSEYPLokvVVMS3EHBhT9be1&ly4iDfLF$3?<;YGt|H?+KM z>aeJO#%=uz$f~Yl>6L@Pn}j4uc&V?JoDE=EaC3~nd(#fAs~(?O!SgZtk1gx6OOb)M zzo5p_a)Gz>z|LB_WPk9DZ(RTaxLs&W386DWwsdQ!rYUV_K3(Dbj5b#|ST{lv)3OMe zV?$IB($f5#EUpv#Xlff)2q1GzyO(#^I>S}u2Bhq&Y9=?nsvAnVb|dSq;yk@+A*EG+ zYSvxVxu*6c&cXJ`<}M0Aj73FyP4_Brc|b9hQ3J~Y-;W(Tk+PgugqNXK5StQxZw-dy zglM&T@HE)Wjod5+aL5wRANLAfT~1Th3Cw#s5|MFeM!0}T`VFlsJNhBIz>?|DvL#-;IAKN<~s8( zFZq&}yyU}mSr!cFqWptVLVzTblq9KQYNDta2^JKC7^aqL21$@^#5j!&qKYZkAWA9* zB&4PUV@a2FMKWVS5)_@N$TSlZ3kYjO*N}{`#G#JmH3cVxb3_La7MOsKCw&$DYG}>s zszk;09oOYgAgZRS3zDV?;7w2jfqT){OGYU03O4Ct@KM#2G}qxPD_Gve|Cwb?))pCf z`yI>m`~a-H71;P*0Jpo){lhuHfk$g$3qs3=aBZ!p>0}~4?9iI&`B_=sW$Hg5OeVe$ z?Y)ba*Mw|?r9WTQP3cyifGZA6qPP{Byq=^tx#+xuU(I)9-Rt8%DQ22Bj6)Mz#ElB) zVdFw2Be=4+(!!hVV}AV1-+k)r`P0H;BUf@zm}SbcA2v7ju`$j#3HfMP z&2N(8&u*>A;vIh(bfc4=9Psk_td?cNlFeiNxKkL3xg*&^MPWgE&o=P|dDCGt3)?G( zEQ4&V&uX%l_sJMpj>dtACpRk{4Po?jvwl8{>9Of*1i^TDRY2k>%_=Cf}5x>pSb&FQ291 EgHDJY*8l(j diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce b/test_data/test_repos/test_repo_8/dotGit/objects/3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce deleted file mode 100644 index f17380c8..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/objects/3c/cb6c2b338c176bbb7de1154cd7b61d0f6155ce +++ /dev/null @@ -1,4 +0,0 @@ -x5‘QJÄ@ †}î)r€RQ¼€.º -*‹�éLÚ§™Ì´êÓ^CÐËíÏæ¥Iþ|ÿŸ>Hçg›“�À�Ä‘p„‡ ½¬ÚÂ=ÅŒ£ÄãáSá©ÛvwAVK6i>Ff%bx2y%6F@paY9O<~yZlX$D34*;pN9@pE5E35zj diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/54/759376585b8a4e0318b1ecc0e770f69a6c4230 b/test_data/test_repos/test_repo_8/dotGit/objects/54/759376585b8a4e0318b1ecc0e770f69a6c4230 deleted file mode 100644 index a2e02e6b4a884c3ed5080b49cbe4b3bbf1feedeb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 120 zcmV-;0Ehp00ZYosPf{>6wP0{eNy*GhS4dPSPE9UKE#XQmFOE-4PEIW@j?Yf5jL%H5 zRd@9EboBH$b@O-e^D}piaP$rEaaGsh;^IQntB{|kkeHWWl95`ZkW`eImz<%fs7Q)| a!TGtV3c2}3sS3&Yc_pcNC0qcfdNq%vR6PO! diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/61/4a498fb4c38af5f5909718481e8b371f118901 b/test_data/test_repos/test_repo_8/dotGit/objects/61/4a498fb4c38af5f5909718481e8b371f118901 deleted file mode 100644 index 380207392de6161abf5bc9271714479adb268bc0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 54 zcmV-60LlM&0V^p=O;s>9XD~D{Ff%bx2y%6F@paY9O<~yZgnQ;!?A=P2_kxsE0c?X43~OR1buJML%L3u$WsR|aebe^Z z&Sj)e8fiw8^=(@TfE4YU;FJP6(`{QfOhky9Aw(#lIb9YZg5Gan9xX-Ap^?1_w=HfVc zu-Q1P?V*1ib_A6cT=sZSLlzy_EP+%BdYIX0?IfI9KAG4eDgv=@O1y_|Ob_aACfjxN zB&z1zF0#;ii?Z_YJSA~d&;CIIpLklBS*41F;#YzZ9w#e6)my{39sx$tB0**@1AX3GM;MIBywjaf9Uj#-BZ zoKJn>O%3+qh%KB((5H(87<7?34+>nyb-fFgr!?k)FBl0ezdf4nv}N)xhDWGfFhXb; zzqYyKNG@Hn`5Zl60;h!dp{gG#hS!2Y9E!e+}zk);ocJ1YgVyvc^$%AT)(H$ zI+&uD*W+8}jt>%eSbK3N{rzkeE&u(PbQtnfP;f5#@uRI+DLx4O;52Q%i&^{v>RsR7 Dkh&0) diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/64/dbb271509f9b9647106da59914a6f5320de7c4 b/test_data/test_repos/test_repo_8/dotGit/objects/64/dbb271509f9b9647106da59914a6f5320de7c4 deleted file mode 100644 index 572af320aa4be96923d1a746313e2416e63bd0b9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@c;ZL{WQoqR3J&rFKr^WHqzLR*Xpbu44nwDQ2pPQMUQ4*h& l8ef!}m;=^fb2>-cxJNvDckM$_pX=LX`4dCW0RVu!G1U7iKm-5) diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f b/test_data/test_repos/test_repo_8/dotGit/objects/74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f deleted file mode 100644 index 062870af..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/objects/74/8f11eaf2c38c3cf0ac6a22e44208777e79fa6f +++ /dev/null @@ -1,5 +0,0 @@ -xu’I�›@…sæW´”£51ЬÒL4Íàañ2¶1Æö­iºÛ,n/üúL&Ê-y—’>½*©ôiªªÀRà7Á)ŠÉôÌd–i«zšáÌ0m˜ÊŒ˜B šc© Ã�ZÌi-€œbœ1U¥ÖÔë:Ñ%�*šmBšƒPbZÿõjPÚÉ,¬É²¥œ)*¶˜Flƒê–LTU–‰"á^ L -Ì`] -žþ9økËÑÔ.Ï?HSýŠn리–žäÏ«Ò'ýüJP¼Rø} -žë†ÓöüxÍKQôéÖò6ïÊ<ý–3ñ‚XzKÞmâõä‹K@·Î!BÎB+g2ßW‹·µ35‹£öq…<¸!”ùA€œ²� Ûe”Íp…®Ó½}¹�$`LœÕ)Q£—°¸Äè^Ò…u8.šážTs@â8F†«ØÃ›ÊÇ—õUÓù¶‰NLënåó�ûÍ=ÉX�?|÷Ñi¥Ÿˆ“DiÂín}བྷzrXoº8!^³XmÇm©—K eµ›¸§B› ½ºôµÃ¡×s¦T—+Šxn÷óñu÷ü˜ôÓª•å5W½ò¨ɺ—€=«¶¡zàGy£—íþ�Ù‘æN{\0X30dO5{Kg#(mBy>Hr~#AbNn^0YOJWW!T3`cXd+O>5{JQWZkE^hTvXq zPO{a*8t9jN_2>6}HAWfX`ug@_FK{nuq70nic}6dr_V7fh;3VmE{8V@ycEjTUuZasB zI7WEDH-cwb2zH!2r%B5$;l<7K*1a2HXP1Dif(rqGy%&c2_S z9UKPufh(IYOn_Rlyw4xXj2KESL%eQ<|&q zl)e-C?-G=a8?G)dZ+cMVHUdlEIJJf5P{~;6H!hs8u%za^4P3BU!>H!jTQLO8_Ba|{ z5lhr$>p6$U*$Qg5MGdl5%)GQJ19h>s{&Z!<+KqX_L7hE}GWy$W`1y^)ynAAK+YlaDneVmN0 ziY01gn|TY3i#4=jiyYEB7GAx}KtpPt{N?=nWb34*=$EXfZ-=uh+MH6_NQcY$kEOKB c{*#J!T__Z-ZYswg-#x#!tp8s37at+VI<=C$uK)l5 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/92/67bc86ec1497471cbc6f3308f3527f7ef34b9d b/test_data/test_repos/test_repo_8/dotGit/objects/92/67bc86ec1497471cbc6f3308f3527f7ef34b9d deleted file mode 100644 index 9ab8fb9f5b259eb165741b9f04994e5991ce7a03..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 554 zcmV+_0@eL^0d&MQ6=dcwe- z-CXHNSGv++m%1(lKoI^A9p?Ztgj1@ihQ=^bIi~ZJBdlpy*07RLsBx+om{O^w9d86U zsVB~ms!>f=b;L9So{*u>IaIKb@VSPmp7K=IBsz%v(t((=oOU;`FBk{U_wKv8*S5Qe zOH5GLsO~B4lUo+|+UIjBvw=1Rw&Uy6Bv%=+YX&e^i zJ7pGvSGOL+Rt|(clfXQJ>aEi=QhMf9J1*i$**zF&Le1xKvmrDxbW51jyIQ)4mi9WR zO0FK?uG!LQ_OqETfloFZ{8c;<`Y=QKV(dldjNCi2o8_+@HxLKQ#ve(RyH^~3(19eO sQ9u`!K`@>2>_q}Ew5@m2UuU+r__r}BY7;6rNQSz;J&7;z3z3`Jkd<8!ssI20 diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/b0/e4c4f24e7787b8ae08521f56b5dd9a76f90011 b/test_data/test_repos/test_repo_8/dotGit/objects/b0/e4c4f24e7787b8ae08521f56b5dd9a76f90011 deleted file mode 100644 index 0fbd83bbc0569fc192e9268623ababa49e7417a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 43 zcmb;<18d&oq77YZThc z?MW(c8^gSeq+j3vYf3V~$J_VsjsjmL&s2ajJT4ey*8v_VSDYnZ&c76%#>03&!c*o7 zCr%0O@R{IIR)PcPz$TBW;s zOX)44|1Lqg9+ixRe&EU(D@*RqyWoo58YVT*!I~jrv5%9{ zRk1{^Y%|x;xL89gwx~n)j)m9WWuQK_p8Vzf`(*2+rO+=~P2Ub@SF|~$w2_XN^B+rT nm;EOdb6wq$TjNy*GhS4dPSPE9UKE#XQmFOE-4PEIW@j?Yf5jL%H5 zRd@9EboBH$b@O-e^D}piaP$rEaaGsh;^IQntB{|kkeHWWl95`ZkW`eImz<%fs7Qi= I0P09C_?5OZp8x;= diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/b3/bec734a41357c480b7856e0298de649a5fef14 b/test_data/test_repos/test_repo_8/dotGit/objects/b3/bec734a41357c480b7856e0298de649a5fef14 deleted file mode 100644 index 66a5e8cbccc9c59bff6d8f57a9720167af70f0e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY&0d&MQ6=dcptT~c^Ra3RLBdG<^^dW-Bh+QkCXs$ObGe<$;@nL z?&eBIy3&y@t52sw0*tgDQg9ATJ)u;^$bfcgQ`^)rf@VSt+eSJuQ$tf>!ZFj8h6r9s zz&Pd>!kE(3A_%Jtn$#qSYZwv@>xsdToth?8NGtPNfKS45B6<)MjDwfEc$9c+L@n#; zM2hm6)u*2T8Mc9;s;d@wf;xoCgFY-J7hqOMuchFnss(S#{w*tH-qQcfvL?F}8F=~~ zcQW%=U^Cl*(4VcG-A6F_!xf-_?&31naomyPY~AfV^}L>q0(XJ)qrSds!tWd>@qFKz z_9ED?!`>T5Y#W8l({d|pi2@R@i&c0S@uB^#SA7r`mrFG0J8ef(SRXh2X1dg}FkLV< zr_EqKf7d40S{;#X>g#o3DL}Kmyfn4K)OLO2m*d@f?4m2&w^(b9!aTej_xI}D$;7Px{BQM(2i!O6wBq_ zU*WlRy~Q0~(53Ua#tJBmn#vtUGB+!0Qw@UN8b&Qzr=j<4ZRW#|GZbRlq_XZLTuJ{B zHPd?#1p9Hi>^}8Z1-y9BHd&4T{g^TmoJbDZw7z_uiY%93lz%-~`7Cep7kb0s ETgWvYC;$Ke diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/b9/01f643b1eeeaeb7ff12931213bd0d9a47254d1 b/test_data/test_repos/test_repo_8/dotGit/objects/b9/01f643b1eeeaeb7ff12931213bd0d9a47254d1 deleted file mode 100644 index 32965723788ae8009793ba676eba5b2cb9ca4d44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 131 zcmV-}0DS*=0V^p=O;s>7GGQ<@FfcPQQ3!H%bn$i7%S~a}@Z`uRzw-7S>o|hs!?xa? zRrZrX5UMDpG&i?WucV@cA*6J2SwwV~AG5^9HwT^-cxJNvDckM$_pX=LX`4dCW0RWN5GEXtWJXZh! diff --git a/test_data/test_repos/test_repo_8/dotGit/objects/ce/6e0398cd8a40085cad12a8f4c96e580c2200c1 b/test_data/test_repos/test_repo_8/dotGit/objects/ce/6e0398cd8a40085cad12a8f4c96e580c2200c1 deleted file mode 100644 index 142ab78be68660bd00d64e26c4f67cf0b120674d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 611 zcmV-p0-XJL0d-PKZ<|0E?3rJ&w;U`tzyb?WQU&}1V`B{QE4O`NaBaZLf@6Mt-A28& zbNQsveA0|&Xmz<15+ECXlY(=gq0D3`vyr2lgkfeO2NE@-h(l;YWM>(1pk`T0jRh|y zfR^e|%os-mQXA@!Ii_PkW^tC$%%KRIHX|(it5*reEYo$)u%Q!dn$*ZRgv`t;`eu}PA<9q2s)Hi9xi0gAzzwX!dTZ<}%ZtvJdpBR6AY1;tD&Uej zhqT+MWEV1h^f6KGb-$58p-bOINYlMzL*3+4g^O)Ww)^?*gteeg{ZsNe>*}Caz%C}q z&)q>d3)LNbE>_|7@L`NuqK~F+U#_l8FTO5UvPY(E>@|NT#;g3C1uM;JZNmG9hmm$u zM>Li#v&NK0X11M9%SE6%xjbH zCdZO(qws#d?NgWMVIa4`bJwP`DCh|~oU6OJbkccOBaIGZG|=+sPWaSFu>#)5O$(*m zPww5QZpu+af{7{yFe$3SKHqNU8sb>ITit1NDPIC4M)E@=*)F1UGY;|Ua{tiWTug)FKPpN9>ng3IBT>=$gc_PSX=?U}EbyOnsr3@}ns1@IUs3C0U}xv>le%w`x2=Ii6O*Y;hW z^cLw!FRIHjV?c)d57tr&L`mkcAYmM0Dg{BJAQAEl1yeo_5sWC76cmI=;+mkP6$8AK zAX%nV2yyZZJxwZO0b(JRWgJH`#Q};jOt_$DY2AWz5T!x;0NX60;B9K3)P6K=&FZQQ zvf?$W%b$Qp7|BprARfFx5kl^%K36i@0wZH)AA+~4ZfR3IJ}wzc`|v-tOLOV63wZer zjTn{#T*C!B%W%}aw8w)vHq=IH8M&6d+#T;CV1HK=NAT9&F> zYI=+heSV(}svnOD)P0O@955z5HephNj2>< z-;#$~L5=1{gL!u+!~x|}T7q3*r|CrUX(nXj*y||WLoDj3YMi}P-#)eV3Wf0QDfOmK zquM6@tew{L;|*0DI0WXyD%f5^ntqL`nHwUnHyQNLv1RMbx?T$Fl$(A|DwwZWK3B@e zd4HbHfq&Zh+lT|?noFx~*o?E3b!+>UdEKZNz1X(nz#kbIGUb*yP1GyAd0OU&s5bod5s; diff --git a/test_data/test_repos/test_repo_8/dotGit/packed-refs b/test_data/test_repos/test_repo_8/dotGit/packed-refs deleted file mode 100644 index 749d5955..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/packed-refs +++ /dev/null @@ -1,4 +0,0 @@ -# pack-refs with: peeled fully-peeled sorted -ce6e0398cd8a40085cad12a8f4c96e580c2200c1 refs/remotes/origin/additional-secret-branch -748f11eaf2c38c3cf0ac6a22e44208777e79fa6f refs/remotes/origin/master -64b4391ddf2b399fb5218ee44cf90111d3f7ca9a refs/remotes/origin/zricethezav-patch-1 diff --git a/test_data/test_repos/test_repo_8/dotGit/refs/heads/master b/test_data/test_repos/test_repo_8/dotGit/refs/heads/master deleted file mode 100644 index 4037f091..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/refs/heads/master +++ /dev/null @@ -1 +0,0 @@ -748f11eaf2c38c3cf0ac6a22e44208777e79fa6f diff --git a/test_data/test_repos/test_repo_8/dotGit/refs/remotes/origin/HEAD b/test_data/test_repos/test_repo_8/dotGit/refs/remotes/origin/HEAD deleted file mode 100644 index 6efe28ff..00000000 --- a/test_data/test_repos/test_repo_8/dotGit/refs/remotes/origin/HEAD +++ /dev/null @@ -1 +0,0 @@ -ref: refs/remotes/origin/master diff --git a/test_data/test_repos/test_repo_8/dummy.txt b/test_data/test_repos/test_repo_8/dummy.txt deleted file mode 100644 index 54759376..00000000 --- a/test_data/test_repos/test_repo_8/dummy.txt +++ /dev/null @@ -1,8 +0,0 @@ -Adding a secret -aws_access_key_id='AKIAIO5FODNN7EXAMPLE', - - -Adding a secret on another branch!!! -aws_access_key_id='AKIAIO5FODNN7EXAMPLE', - -Some more content diff --git a/test_data/test_repos/test_repo_8/ufos_might_be_real.txt b/test_data/test_repos/test_repo_8/ufos_might_be_real.txt deleted file mode 100644 index b2612127..00000000 --- a/test_data/test_repos/test_repo_8/ufos_might_be_real.txt +++ /dev/null @@ -1,19 +0,0 @@ -No Longer in Shadows, Pentagon’s U.F.O. Unit Will Make Some Findings Public - -For over a decade, the program, now tucked inside the Office of Naval Intelligence, has discussed mysterious events in classified briefings. - - - -Eric W. Davis, an astrophysicist who worked as a subcontractor and then a consultant for the Pentagon U.F.O. program since 2007, said that, in some cases, examination of the materials had so far failed to determine their source and led him to conclude, “We couldn’t make it ourselves.â€� - - -wowzers - -credit to NYT - - - -uhmmmmmmm - -Some more stuff - diff --git a/test_data/test_repos/test_repo_9/dotGit/COMMIT_EDITMSG b/test_data/test_repos/test_repo_9/dotGit/COMMIT_EDITMSG deleted file mode 100644 index 73bc0b91..00000000 --- a/test_data/test_repos/test_repo_9/dotGit/COMMIT_EDITMSG +++ /dev/null @@ -1 +0,0 @@ -gitleaks allow secret diff --git a/test_data/test_repos/test_repo_9/dotGit/HEAD b/test_data/test_repos/test_repo_9/dotGit/HEAD deleted file mode 100644 index cb089cd8..00000000 --- a/test_data/test_repos/test_repo_9/dotGit/HEAD +++ /dev/null @@ -1 +0,0 @@ -ref: refs/heads/master diff --git a/test_data/test_repos/test_repo_9/dotGit/config b/test_data/test_repos/test_repo_9/dotGit/config deleted file mode 100644 index 6c9406b7..00000000 --- a/test_data/test_repos/test_repo_9/dotGit/config +++ /dev/null @@ -1,7 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true - ignorecase = true - precomposeunicode = true diff --git a/test_data/test_repos/test_repo_9/dotGit/description b/test_data/test_repos/test_repo_9/dotGit/description deleted file mode 100644 index 498b267a..00000000 --- a/test_data/test_repos/test_repo_9/dotGit/description +++ /dev/null @@ -1 +0,0 @@ -Unnamed repository; edit this file 'description' to name the repository. diff --git a/test_data/test_repos/test_repo_9/dotGit/index b/test_data/test_repos/test_repo_9/dotGit/index deleted file mode 100644 index fcab4fb7a3d12b80dc1a24c9a945d129848353fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 145 zcmZ?q402{*U|<4b#&{ErCjCo{HDEehHi40WftAs_^&A63;}W3sSD+dZAT9dy)91{j zUlylaRd>$&&h&eMomJ&>2EO9dqO#N?y^_@861{>-pjw8IAXir)CCOl@V8C_o^Dz@q qk7dyh-@Xmo^8M7g 1571923767 -0400 commit (initial): commit 1 with secrets -6557c92612d3b35979bd426d429255b3bf9fab74 d274003914c707212cbe84e3e466a00013ccb639 zach rice 1571925818 -0400 commit: comment -d274003914c707212cbe84e3e466a00013ccb639 8d1fb60d2d80f0590f191ed5ace1e45ef780909a Zach Rice 1597253780 -0400 commit: gitleaks allow secret diff --git a/test_data/test_repos/test_repo_9/dotGit/logs/refs/heads/master b/test_data/test_repos/test_repo_9/dotGit/logs/refs/heads/master deleted file mode 100644 index 8244f382..00000000 --- a/test_data/test_repos/test_repo_9/dotGit/logs/refs/heads/master +++ /dev/null @@ -1,3 +0,0 @@ -0000000000000000000000000000000000000000 6557c92612d3b35979bd426d429255b3bf9fab74 zach rice 1571923767 -0400 commit (initial): commit 1 with secrets -6557c92612d3b35979bd426d429255b3bf9fab74 d274003914c707212cbe84e3e466a00013ccb639 zach rice 1571925818 -0400 commit: comment -d274003914c707212cbe84e3e466a00013ccb639 8d1fb60d2d80f0590f191ed5ace1e45ef780909a Zach Rice 1597253780 -0400 commit: gitleaks allow secret diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/10/fa14c5ab0134436e2ae435138bf921eb477c60 b/test_data/test_repos/test_repo_9/dotGit/objects/10/fa14c5ab0134436e2ae435138bf921eb477c60 deleted file mode 100644 index c32cf91d44974fe535cf2b75e37623bbcbb69492..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 784 zcmV+r1MmEJ0fm%bZ__Xo#d)Ql;*wT$f0~2=FMx^!V~k0Rp|!kC3^%!H46Yq)XJZo| zp5r*BV@x3RA+>$)J@TEv_h8VmBU2=u-N+i_&7nWUB7FlBnQo z;i(obtRTM6+Gm_lWt1|PF=MD&a#SOYUZ;s6i0y;Mj+|+2!5PsUA)yDXHLY!oW0ELk zh)by3w6Te%pbC*kQDX<75>mO?gCK2mdd=35^TM}og3wK#kXpw1yNCh5}#@E#BmA2D{Is0Jr6u8;P>SuxKWin#wA&o+sPkKhfO+F^O^9$C0QsInxPc^d&q2y+I05 zU@Ct(v OU4)Rel7nBha@t(wn|DV5 diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/3a/76f3781306faf5612017bf18a4b4bdb9f927bf b/test_data/test_repos/test_repo_9/dotGit/objects/3a/76f3781306faf5612017bf18a4b4bdb9f927bf deleted file mode 100644 index 0bd54d2c1d8cca5c8246d0dd18fc408854cbe069..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 138 zcmV;50CoR(0ZYosPf{>6GGlP@402{*U|<4b#@LPP6&Tys1%m19Dqlth1{UVIz3dDO zjZ4IRR{C1x%{mHH#@5g+bo7+Bh;sU5y#m*(q021)i1aY<6{i-Jr55Rxq!yRx6;uMv sV+aXybp=vv47!F223)+Ejk-r?-kftzqvgflt1p>^C*RQm066(7zoF4W0{{R3 diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/41/42082bcb939bbc17985a69ba748491ac6b62a5 b/test_data/test_repos/test_repo_9/dotGit/objects/41/42082bcb939bbc17985a69ba748491ac6b62a5 deleted file mode 100644 index dba982899e55860a4eb9fd52adc3deaa74d41f11..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 281 zcmV+!0p|XA0acJ&P6IIvMfuJuF6pQOL0Wamv=Q^!XXiH1wk zg=vZz}Pal`Ndeue!ODiC}gn+foU}Oq=ooe=^kN1UoO^YsFL< f<^bLNA~fc6c>uNl!{+PhK{s#uTfL|spbC+Vc>jt5 diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/49/8b267a8c7812490d6479839c5577eaaec79d62 b/test_data/test_repos/test_repo_9/dotGit/objects/49/8b267a8c7812490d6479839c5577eaaec79d62 deleted file mode 100644 index b558235fa77fbc9e56902bc61148d32e42a70755..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 77 zcmV-T0J8sh0ZYosPf{>9W(dv8OUzA8Q7B3+$S=+;$uFw3R!B|BEKw-Q$ShV!%gjkt jP)|uMPA9Zjg diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/60/c9e47f150a6b713e247e6105b77f1b961f844f b/test_data/test_repos/test_repo_9/dotGit/objects/60/c9e47f150a6b713e247e6105b77f1b961f844f deleted file mode 100644 index e212d90f3fabd74203f9f743d042f0cde0bc711f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23 fcmbBdhdwu^tQ1~wf8p^i(s0T zT2HqeOm$Cvty?mYbnd$p&zYJo)?BWL&a|~$Qhra_#ehHSSqI*Q-)@t3iM59A1KYt+VIRAuu?D5!oHdRkh=Z9l z4cA<$LrKOpU}jv3N|`|>qIcFqRj{m1r**9L8Xu$a!_IUIWNYV39ByH(eJ>{UqF597 z79A#4MEf0o26rK4{f4$2quwNfp^adhJk7qHf6nMt@57C7ZGztf9DKb}Y9MfuE!LUp zg2m!6Q|jU9;N;*x|CEB6n3=%31P63|h2F*$dLErh!J*m}qN?<2W-9tl*$bGj!zCY&NHlkQ(qMTiioLj@689l+~EN1AUr50RZ8Gd&+}$MZK3M99|M`{3Ice zX4u^@n%_}DbSwje%cj&AR@i`ni>=(lzX2VJjGjCN+>u+Y{zR{g!ofM6$)kXg3j~)& z2y6^kC)apPpy2J&qAo2R$pFH=hF<=}`InF{anG)ilLWz;Y%yeKBIKhGT-2UUUmQ~Q q!FR5FQcf<#NDkKR$-^;CUj~4gyfU=L3Y_JaCR(NFf%*+dC9pC^&}bt7 diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/65/57c92612d3b35979bd426d429255b3bf9fab74 b/test_data/test_repos/test_repo_9/dotGit/objects/65/57c92612d3b35979bd426d429255b3bf9fab74 deleted file mode 100644 index edf7d2fb0e62b9a281faba25dcfc481559bbccbd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 133 zcmV;00DAv;0iBIo3c@fD0R7G>_5w=MY#s#>uac}=5->*66``lMf+z56U|<;PtyKXN z<3R>9@XXH6ehKWRlrY{Hqsthr=bSYfqOb%)uhL6OAFw4VFe)*ew=c%^IlA;mOZ9%D n-Y#HVF!N-C4{+3|wc72z6#gsz)nMRVrNGKGSXT7`Tx&jrpjJOP diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/6a/756416384c210ada2631f17862f5c01fffa478 b/test_data/test_repos/test_repo_9/dotGit/objects/6a/756416384c210ada2631f17862f5c01fffa478 deleted file mode 100644 index 072ee533384e5be65d132e80b92e8d46ca29a11c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 946 zcmV;j15NyR0d16FYurW)DX-B86r5$B= zb>|DAzrF9QbPg{4cBh@4dFP#Hw(6v!%OAe~@w>xU=auv4u`LdZLt1&_C({odQ!DaF zu?}uXl!P`MT(hHXYZAFgrjjv#ub67-dzTX1B{JNau47BpjuvZ|=CcKDU24e-nXn#v z_9-rj9@>4CR>scaGC$$U9O}z29E4&rX+*syaX{fXI=?34$qYk~AvlwmdXCYonOuV$ zn!%ueijGMJN+>f)ggyj32(dR6T1+iE(LT>8;8Q<;X`G%3Er!75baSyR3fGW!6nIk( zCPb#PoK5-l-Rft$Ik&ty_hZ-5o15dy0%d)1VAjU@n65RX;4X4;a7cIFC1<)>)fHLS zG&DzQZ`==QM=3CqRDW}wzU4W3tr}Vr+j2Uh5@XQF=kljT;|lb7*U(PJY=(A&xyTkH z@a5|L?cE(|m)dir$Vj19Yz+L&#t3qbye#r1+%d6s?s_U-i*MW--B%)Awl6MU#GPvO zKiIke=>$%O36+>Ehp;U8iEFyNIew#Yw?Sg0p);wG&=ZEL4P$!jZI-%EskCovY=Pjv`|ME^ofp-m4V*`;On-CztfNx^uqk1Yp2qt`B-L`|aoqrcB1thQ$a2WgOi4qWGyAfflt zVW^QVFHRzzk1^zJPvP{8qVsjeQJsjNM-zB20PC9oMvEmw0i|lqsO9L^9(!je zY0KgO!HFh1GRtLIo4Q3nSt??s_-=>adRBrvn0LLR@(Ug9q5oPO5Z&MYwYtB*zSX8n zOD7+w{O8lhixc`v+nUPyRBgPN7pull-oE|#?)P7ccOgi)q7|MXEKY{Ts&_A0Csl$q zeo)eDY*}s8bpQwA`-sQm#ky=IJWhihSoA#cSW@=z$7sE|wjb73&%sOtf!|_U`Ki U?AIJ_Y5s+)Q~BHc07G9gA$trp-T(jq diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 b/test_data/test_repos/test_repo_9/dotGit/objects/6c/bef5c370d8c3486ca85423dd70440c5e0a2aa2 deleted file mode 100644 index b098b0b66e206a72124d32206debad73e240f4ee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2176 zcmV-`2!Ho@0hL($Z`;Tb?yursF{h}tlCB;Yhx@e zWu`QQ*14r9WUSEE&`Rai8XM-g{#7lQ)WrG?_S= zrZ!efQMwx=buJBUg&|n<5xN)>Hlo2IE?8<&r5o7HdcCzP8Y)e)tnH4r8(I0s{N7pD zXw8=Tg`)@?4m6^y3rS|9wgz6^l2v=Zs5(!>8bGoeVM)Nrq5#^}4v*~jG=-(S13YX)b+asTv%x-_+*qY|(Q_}l>|bvkKJ9O zV414;J*kXJVPL|P=%qn^(Cc3~mOfy(KjA&jm5aR$DiQjkaCu?y-Z>1kan73jcW>v- z4Sj({=|<7BzbvT#3MtbtXFYX;JA%#g&051a`XQ$U_DQnZ9R-t)X>j`H$A7;&ygUle zOS5JVKaLU`v<+@$-0PzC`#f?Xj}`st`>G$*4FBALK7zth)SSM(-t5Eh-QnbWG086f zI-(iN_lD?P$Ioa!;=5Zib&=cQ?0q#G2YB;K_X_Qc7`rTFNyApowI1Re%5BmJPlu-S-w@gZX7}VUNY|J!p%~zQ8b~{{FV5o-6iqm;FEd@c#Vu z+0~0z=Sgyb9v7Rkn<e(vSGPS7bphRB9JIo>9+PAH{DF!_N<5*-I0 zGC5Cc-feF&)VOBBT_M`)<{mgXkioA`H=NZvvHQR9>rZf<9jG#;05qjEZe%(^FMt z`MS|!iIEg9lfjQKFRspCzM1(qz{+8mIocn=@Mx@c47DPxyQepn` zam*($YbN?9ALc-I3?>LXvLVPGH{B)xfIMA%@L=Na^v9HFe_T+Hs|8e*=UGn zzY#Tf>=}*I81jZVc}9pGPDUGFfuY&052Yr8Kp_4h?SY|!55+j6xuggg3hwuMAds3& zCV%)1S?X5In0ENY{|~NNieCz7=I@eDS?2Bn2(e68$ya3f5k65eg|_xf&;3h&pRgr- z(fPUu?$7)7G75I(mJZ_C9mycq731su$E%z4W}ExdCQ{(pGsnp@Q0qWps)P_04HBQ z|HC7^tE_NB(qb)>=MOf%;09gR4JLM!ZYHt+VJ95+;(6wS_a=9&Z%Bk#IthP{KtfB@ z1!VR(WI8*)V<6@h7T=rK1+#bv#yfU8by$ED^}uByyy||BiACVsr7(%(-~Rym!v%V@ C_Bz%8 diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/80/8b12c5ca4b142367932e7045d555a639fc148c b/test_data/test_repos/test_repo_9/dotGit/objects/80/8b12c5ca4b142367932e7045d555a639fc148c deleted file mode 100644 index 9cd8d69460c86bbcd9b032b9c98776f077f08c21..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 209 zcmV;?051P{0Zorji^4Dv#XaX!4D`?yMX<7Z@=$I4!@4ShsHc)<1`XB(GQp+aeq&W| zPH$j-@4YE2TS78SS`lOxjP-Dl4nbKYP>zs{*Ro=vDjg(@p|su(de8MsK$w^Zako(s zEZ#5zd#BBrLGq_jx5;p%?CnMd340AG|G1D!5p!{+y3ja|)1PI!+;X&yJ} zSKao%?;|PMw46E3I-@`pk$3#=?z@ktMXna~=G)o%H{Dm$MJA^@jk-~n-boUl_ejwG9Hm0@1DYyih6^T#^<>(>4_*6~%F=+bqv% zA;|ebh?&IE*y{WgVxx3sR8dWczOQI05?GdM&r-KdOv=+ zy}$YJ3!{%$7LklPB2LjZH;$J@X>kHb-R!QVE$}#iF=2FlcF`EpYdEh|Nn0+>$UViX zwEbIdHb_r>pgWA<|InCv=kyj~UDI114<39l*Mnx~Cs1b=C0P`NQD=hDSoyfT_5N?~ zwc$<~o-^ES99SMY@=>A+k_s~DNd<9;Hii0K#KyjYM-BBD3+m7Q z=2PEfAv4Hwr;Gb>d@u{(rA}30?rUfB-koT zO&|M?$2Rz#+S$s2kQ=_j#L=iCe0jm@bRbzB%b|n3`SSR@)wF=qRx11g-ang&8#_4I zfxutNFNpXgN*wJWw(A-eY}f1uDCz8s{J8gsQLjKcdv)>Yn$XpcQ(0nqy0|`@A!>gI zg$1}p-usP7AH~B&v8*tQX4>c=%kJ8;&Ha-bTV9ZZz{%4|NO5ADagEh{tvzWxc`6V{Li;sv-@2XT6gZMlA$rl^Ro&wj)x3Z;J5!cXqFz&@9#O z+{cX@FfO5g4^nNRX;6Jq3HdJ{D@y3MebZsZ?WpgMTF%`Bx0kBcP4`14Go4~~by{{F J{R5J=dNhq_Y9s&v diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/8d/1fb60d2d80f0590f191ed5ace1e45ef780909a b/test_data/test_repos/test_repo_9/dotGit/objects/8d/1fb60d2d80f0590f191ed5ace1e45ef780909a deleted file mode 100644 index e086a5ae..00000000 --- a/test_data/test_repos/test_repo_9/dotGit/objects/8d/1fb60d2d80f0590f191ed5ace1e45ef780909a +++ /dev/null @@ -1,2 +0,0 @@ -x•ŽM -Â0F]çseò߀ˆgpén2�Úbk$�žÞzWEãmìö¸eÕF·wMþõÔ¯*t_�æ¹¼a®ÒÔ­¼G* \ No newline at end of file diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc b/test_data/test_repos/test_repo_9/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc deleted file mode 100644 index 2103921e..00000000 --- a/test_data/test_repos/test_repo_9/dotGit/objects/9e/523225b31add24e72f2feb0b2645cfb36542dc +++ /dev/null @@ -1,3 +0,0 @@ -xMŽO ‚@Å;ï§è`‘%:XjE ¢<ɺ;˜¤»°³~ûÌ -z§÷`~ïMVê Fþ´Ó…PƒÒnÜHZ"ƒ•-xIL”Eca™¶Ú÷>±Ç ‘C¾ã¶® «,�¬)TNÀé¿Èm7 -]U¨$J¯%ù“R.¥w¬ÓBΜ`³Ö‡q|÷ûIt vÇmôÝy_6ïÙ?¨!æ‹0Šb´�ÔW\>ε9æ …êr:-†Aò+a}Æ^K§N$ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 b/test_data/test_repos/test_repo_9/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 deleted file mode 100644 index b72c5f77..00000000 --- a/test_data/test_repos/test_repo_9/dotGit/objects/a1/fd29ec14823d8bc4a8d1a2cfe35451580f5118 +++ /dev/null @@ -1,3 +0,0 @@ -xuPMOÃ0 åÚüŠGV1lc.LEB`†Ä¸!Miç*a]R5!þ;N‡øââÄö{ÏÏÎ+—ãìôt§³;Ì�z-:¢ƒK zQ«º"hç–ðEcê€à°RKÂÚ\‰zí5\Œ³~À¬™¦/š7Ì~Ú‘‡ªª_h­|PMÀÆ�næªXf]Rv�†ž¨ßTVÙh²Ì$ÈmSþÔ„ñÑׂ�D+dUÎþƒæF\âˆ%­Z}VJ{²n¨ßPAæ™ä@S"�è[Èôz2›ß=Üß̧w³Éôv~5}¸�IÁ¬HLv,’�nu"C¦F¢_ÅÏ?¼dáD’гª 9¬){üeÆŠ/,Ó$axZòu ƒgm -‹(·jÏòc•~Üøé[+Ñ9ÈÞ%.öN"s<æ¸=àVéŌ⯠-~L–îïbÔãþÂY¥eMª$ \ No newline at end of file diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d b/test_data/test_repos/test_repo_9/dotGit/objects/a4/fa2187727281aea78d7c3aaebdb4b924fc4e4d deleted file mode 100644 index 0aabdd404ead93e87747db7463148dcfc4406264..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 57 zcmbOuDK-kgbrAKuAb%2QHA^dN)z?r`Std5O*i(wxzt< z<8Q{(x!A$u)AQBhdezymA|n=J0q+5Dr+sn=CdLg=pKW5`2))6618flb=)GldaRiS< zdPHEo!2sR95OhjzpEUOdh8#WULR4N`cM`V;qmKfb9Za0uy0{kP*0O;RgZjc8fmriI zpa;ebmT0nJEV$Vt$CRyRJW;_8PzgFP)wsklU8HRR&W@HU!nwG`b(P|}99}$jdTOu^ zk70`_=&qE)#?m48J>)X-$4Qk|l>GZ%c^YLaL<^&3MMe?wl*C+K*}clt!8Zn-Acho3~C3mIU^)2m!&xD{|}q*hdbH4$sh3|egWDEqwx$qkTC!N diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/b5/8d1184a9d43a39c0d95f32453efc78581877d6 b/test_data/test_repos/test_repo_9/dotGit/objects/b5/8d1184a9d43a39c0d95f32453efc78581877d6 deleted file mode 100644 index 043d9c546046fd8e97c51aa441fc04770e35a2e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 529 zcmV+s0`C2I0ezC&Zqq;zhPjQO;>U@|L2;~bfdHwI3PI2tDpB`}kZNs@?N#kvcX!=# z2=C6U-H3n?H&HU4`43;5);h(@S1+E7pT?Skk)oml@JP|ZH;b? z6poIOAq#i~p&UDEKGm&vW|blO>cmsBW?kzC?#HW?^Wh1I$B^(nm;@^%yre|R5M9N$ zKKBxaM_js}_*E|z4qj1X%WxI&<+bt?#?%|6#HM~vLt={uxbsp!cg=(5Nq|o`L@x9z%<+64vz diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/c1/f3c6341548a65be1eded56b4f7cacec7fe9090 b/test_data/test_repos/test_repo_9/dotGit/objects/c1/f3c6341548a65be1eded56b4f7cacec7fe9090 deleted file mode 100644 index 7a69ceae39b2ced357a194cee84ba746b5a31caf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59 zcmV-B0L1@z0V^p=O;s>4VlXr?Ff%bxC{8UZOD)nXNi8nXE2w1n`RQ|J(l3isuBtod ReP{Z;z|N|2IRL_z6trD{7>)n{ diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/c9/8e6c52cbd1f50de572ff12a3441271fccff705 b/test_data/test_repos/test_repo_9/dotGit/objects/c9/8e6c52cbd1f50de572ff12a3441271fccff705 deleted file mode 100644 index 14206b0be8055a643e766f4891228035eb86c109..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 158 zcmV;P0Ac@l0ZYosPf{>6F=cS^402{*U|<4b#@LPP6&Tys1%m19Dqlth1{UVIz3dDO zjZ4IRR{C1x%{mHH#@5g+bo7+Bh;sU5y#m*(q021)i1aY<6{i-Jr55Rxq!yRx6;uMv zV+aXybp=wA42B8@T>m~x@=YnSt7xg(`Qg?o(Y06pUwMDDPPCEZ!SShDS_fbL%zb99 MyDotZ0RKTY9%ztF9RL6T diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/cb/089cd89a7d7686d284d8761201649346b5aa1c b/test_data/test_repos/test_repo_9/dotGit/objects/cb/089cd89a7d7686d284d8761201649346b5aa1c deleted file mode 100644 index 17c8d93ced73ec5db532487582e5971988714a58..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 37 tcmbGp0iBLZ3Iib!1+(@PeSrkOqYWYCDy_E6KpY1#n>l?Jt4f_zRr-(&nB2tcWwxwjtMI6+5AFw#*6Y53jY@%`KF=nfmIn>TY z6AKoK-U@n;wRJcttiG%-=fA$O& IAAFxjc?OwAqyPW_ diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/e6/73bb3980f3c286291809e05f80873852bc3e9c b/test_data/test_repos/test_repo_9/dotGit/objects/e6/73bb3980f3c286291809e05f80873852bc3e9c deleted file mode 100644 index 144d4077bbfa5593abd0ed2b1ae93b259fa6873e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1646 zcmV-!29f!A0hL$pPa8Q9y|0_UV!A|1QjsieKinx4t`+@poGL&qy`EGka(11>Wn(Y4 zmo%dEZ@)M8E&+OXYWV<(?HSL!dGkC>N;9D+PagmJ%f^GOb~c+RomJA7olfl}Id4_& zx5MY9uv+Pvi{JK-_QvDGO6tekoz4b5*CfA)MO8|g8*@%Bx2p2w4JqyA%nC2*gYfx$ zAvBKn=iXOtoMlsy%LxodGv(*?WTZ^CY>s6ET4Ir~!+u;PWkGdCh4eD_hy;GLT$0cQ zEli=N3j0%4N;m3kVDEU|#G)Kk!a3{;x|G%_qp6?Q)=KTm6+IdR7lOQ6NQ6sTXyasV zbm8D;YV1OI&(;nO7!f@S7N+)9?Oh1Y7x+e^EMo-Z=fcxmTuPcq$r;~7=#S;jzoE`J^?*lbON|e_I-R&M|l^WeCK{N-)9&O;#KtHc^Lz z_iq{?3`s2}Sn_jV!S&h16N3Ow+M#F9-@g7U5NB^L^Yf5a;0?3IGAY_hbvkOg zc0oHkT(7H6vcb{7vAQBx>I{#?{-7 z$$dJcop01zxRvYC*RRxV7V_0>sdO*od)E+YeNg(z?F%>XKUp}t*j)N{fiMVkH>j**~Dz6w<}!v2o)vr&f3Qit))@^y({QNGu)>Xg)f+@;!Ld-G=wv`s0lpSv z>OS}x{FyTQXg4%aC@=I1*SMet6Iq%iEoBd|2p5_QZ4YKGq(k4`>ghndxzIDPBzAJ7 z*#zCclrY!mRBwfL3hF|AFe|q*^ro1C+HAkJ(1uC_UlzeA=Lg`@2A?=KB=X!qPL-R7 z9^GuBtGT&D5^1oVU_I8RKzb~n zDYUaJT*}8vwP3-GPNKx|a?pqd5M8cDEU)_epw^(mnY0U-axl}{!lUJ$g@6i(EWRQ{ zSC<}g-DHiW9D&UY*ap$65)}6>ISJ5d{uy(B|a|=I<(ygYb;woa0dQ8v>} zO7C_cRv<1((o_nBW%=6-OAX*-`j|4P>1kZP1z*@Q9!@@{kQOrypJLG)CB=;~JD9Vh za5@bEyY%$*6gOSt7Xn5272YjRp#k>~s2egt_&^7oX_oPwdlq%6P$-GUEeu@&M^REY z+oq>&|L$I+?W1mfXrAjaio3w;UZAYLwi*ordPf5NgisRXejR|kpp-!l{r^8VDUDh} zY2tN2x=rE76@qGw(ZQ`vS(CF*Csz>92+L<@^jUR2Lp&1Kh2pki`scgDgYo$9ci2n1 z?Lpv|wi|&e5YXhBSkC|}PTsXXI{FXmqa(HskaKwq{NCI#+y$|RyS1PGHry@n_7$>! zlRb-b65h`!;k&dI`n_w0yI0a$W3Rvaj;t41-OLMyd(@PeM8XI%dI%+kut06_u8$rL z2=fFhUQlpZU}WR8BGujf&;!L9K3T>J>}aXvnmfHA~895N^u zUv9?2=H&feLzR+9lULz+VD}4g&T0{-&c^P37%eq_U&=yl+r9R!^gQ9s}_z*mGRDfe|FR8MI5D-!W%Pk>Ts5{we}yZ9Ch+baCPBo&IV<}Vil s|FdAcmITIy*&-ctJ8*Q3bZv4c#&{z)pIwE^!@F{gK(9Oh0QinDkobiyOaK4? diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 b/test_data/test_repos/test_repo_9/dotGit/objects/e9/e5396f7e52aa48de485b4836ebb041cc7f7c46 deleted file mode 100644 index da7e1c7c4610280c50c51ee98c9c92925d129f44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59 zcmV-B0L1@z0V^p=O;s>4VlXr?Ff%bxC{8UZOD)nXNi8nXE2w0c7i6TmS?aFJbAA2S R+-k1pH>Wz?0RWT25#mb?7wrH5 diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e b/test_data/test_repos/test_repo_9/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e deleted file mode 100644 index d7558de5..00000000 --- a/test_data/test_repos/test_repo_9/dotGit/objects/ec/17ec1939b7c3e86b7cb6c0c4de6b0818a7e75e +++ /dev/null @@ -1,2 +0,0 @@ -x-ÍK‚0P×9E [�r§Kïà&0H -Ȥ&ƒ…·7~–Ý]õÚ/âq¾\õ±ó!vyrµ«q‹à�Ö´0&‘¹×� &Hʉ”AHÔÏ< dÉÁD_E±e†YQjJehI`(p7|0=(20^6+3Lc_~t<#<&K?dH#|>>A<=GNAwD$Qv}kJA{#Us7SiY#VG4~4ZZf>B0|9YTo}^iy z68O5q3OIOeTL$E3QP$t^B;EN;R*@R^Bwn~iDT%p0QCDj+`FB+)RNm(}7;j#qiNr_cZ2&TrcTm-cVBn~#daT`FFM WNC1_JeF5VSj^x2;OX3PNC|jdhXKG6T diff --git a/test_data/test_repos/test_repo_9/dotGit/objects/fe/f3190e94723e78847ab9f0daaa15add4ffd4ef b/test_data/test_repos/test_repo_9/dotGit/objects/fe/f3190e94723e78847ab9f0daaa15add4ffd4ef deleted file mode 100644 index 708c674cc657379608f2552cdc96673bc3a0f78d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 58 zcmbPf`L5}vV7h~U9U}t+E7LWXoeT_(OBfg!zXH{W0I}7t>bc5= z!io76#Ri|QzRl>`*ZN9=fiuX}(Z$zQFE@oD(L(yT`t6^*VESfO9K@Ws&8X%u1iW7Z`*Dxw--wk_<))23%W0KWH`Z ov$z@jJQNl9x2iEX{}o64@2!?Eyxuf0X+@NGymef|d{bEm048TfjQ{`u literal 0 HcmV?d00001 diff --git a/testdata/repos/basic/dotGit/logs/HEAD b/testdata/repos/basic/dotGit/logs/HEAD new file mode 100644 index 00000000..caf085d5 --- /dev/null +++ b/testdata/repos/basic/dotGit/logs/HEAD @@ -0,0 +1,3 @@ +0000000000000000000000000000000000000000 ae8db4a2306798fcb3a5b9cbe8c486027fc1931f Zach Rice 1631064384 -0500 commit (initial): First commit, README only +ae8db4a2306798fcb3a5b9cbe8c486027fc1931f e7c0aff3e8a60b50a85432fdf933f8beff013743 Zach Rice 1631064550 -0500 commit: adding yelp secrets file +e7c0aff3e8a60b50a85432fdf933f8beff013743 208ae4669ade2563fcaf9f12922fa2c0a5b37c63 Zach Rice 1631067099 -0500 commit: adding another aws secrets diff --git a/testdata/repos/basic/dotGit/logs/refs/heads/master b/testdata/repos/basic/dotGit/logs/refs/heads/master new file mode 100644 index 00000000..caf085d5 --- /dev/null +++ b/testdata/repos/basic/dotGit/logs/refs/heads/master @@ -0,0 +1,3 @@ +0000000000000000000000000000000000000000 ae8db4a2306798fcb3a5b9cbe8c486027fc1931f Zach Rice 1631064384 -0500 commit (initial): First commit, README only +ae8db4a2306798fcb3a5b9cbe8c486027fc1931f e7c0aff3e8a60b50a85432fdf933f8beff013743 Zach Rice 1631064550 -0500 commit: adding yelp secrets file +e7c0aff3e8a60b50a85432fdf933f8beff013743 208ae4669ade2563fcaf9f12922fa2c0a5b37c63 Zach Rice 1631067099 -0500 commit: adding another aws secrets diff --git a/testdata/repos/basic/dotGit/logs/refs/remotes/origin/master b/testdata/repos/basic/dotGit/logs/refs/remotes/origin/master new file mode 100644 index 00000000..b3a3d756 --- /dev/null +++ b/testdata/repos/basic/dotGit/logs/refs/remotes/origin/master @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 208ae4669ade2563fcaf9f12922fa2c0a5b37c63 Zach Rice 1631067479 -0500 update by push diff --git a/testdata/repos/basic/dotGit/objects/20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 b/testdata/repos/basic/dotGit/objects/20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 new file mode 100644 index 00000000..cdeb30f4 --- /dev/null +++ b/testdata/repos/basic/dotGit/objects/20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 @@ -0,0 +1,2 @@ +x�ŽA +Â0E]çseÒIÒD<ƒKwÓtÆl"iDðôö ®>mfU7AAcMm^g0wa}uYcdRb$6l7y_ z(7^N;1*`?FY&vP|k|+(WJ$v$5WCLL$e@E_`(P)9^0@}8yuI5+M+WPD5#`kxYQSiA= zW7MSafYU_YGUwc7$wBZyb{XCXh=<>4{Bq-tkhGMV?58Z=->=03|z^}^B4vkWl40KI5*sH z#Khuh&Eym?{Nr0vgwT>=?}1^2f!{j|a1q9otPoy!OXLA}9p+f`DFw?(r^S57oahv2 zr=YD!36H%P`?`~Sth=czg?G)bh}4T*t-&!VP-)U&1PF|@>Qs_&6Zzu>XLUXlJ59o` zpR;l?RobQf9zW;!yi}Id^5&B-ca{dFInl&oWt9Q9&UKkvLhDLBI?g52qM`S!%$)>e z<#5oz^j8I}2CW=wFiuXChT0i8=>T$oFp+*p?yG)O15X9ibyi%gZdi-Fp(fT)8VG&7~$=GsioR;+>$86m-i4#9_%J zuVBTSJsMG>;9+ueAMngQ{$}}c9BhzeI20%M^}^iQ1)@3Hxt$6&p5*zl4>lZ~;_zy8 zUa(yXqs7L?Fa>n~@MaVtG^2R>z%atVC+-+LgfS&^gvZkvngaJ+=GsG)jHRT}V#qNx zY6@)>)CI}mu@!w=Hj?*cWA29OxvVRqR9n_ueTROPA9ByV>_*72(@*8U-I_S3`44>t~d?q1H>kL31#?YTY*dDM5<9XD~D{Ff%bx2y%6F@paY9O=0*|Jy*F*UiT zbKx~%T=vB22+C?DZL7N$cG5^GDy^3#{3VNP%+CV9#ukSDe7W_&>+%*~F2X*y0-i-T literal 0 HcmV?d00001 diff --git a/testdata/repos/basic/dotGit/objects/b1/db8ec404791b70cccb2124223199e6ec9b1520 b/testdata/repos/basic/dotGit/objects/b1/db8ec404791b70cccb2124223199e6ec9b1520 new file mode 100644 index 0000000000000000000000000000000000000000..d5852b35c713911ecf1c1e1fdd127e0c52e794b5 GIT binary patch literal 88 zcmV-e0H^AWiT`_Ff%bx2y%6F@paY9O=0*|Jy*FlIWo%*;^``EapJ^xsm&MLz}EUdPT|?hgRD*B|{Ut0x-( literal 0 HcmV?d00001 diff --git a/testdata/repos/basic/dotGit/objects/b4/55f02a800f044630f9c25a51fd7a81536fea08 b/testdata/repos/basic/dotGit/objects/b4/55f02a800f044630f9c25a51fd7a81536fea08 new file mode 100644 index 0000000000000000000000000000000000000000..cc82093ee28ea6c627c8c4a66a927935ab872c7c GIT binary patch literal 88 zcmV-e0H^AWiT`_Ff%bx2y%6F@paY9O=0*|Jy*FlIWo%q@JXvNA9D$z^wqPP8^7M`ELH%bl8jV^q{QOPWQCH{;*ylal0=1~)Pj62E@TC1 UnMK7V3d#AoxtS$g0OuAKn72J0>i_@% literal 0 HcmV?d00001 diff --git a/testdata/repos/basic/dotGit/refs/heads/master b/testdata/repos/basic/dotGit/refs/heads/master new file mode 100644 index 00000000..1071f1e7 --- /dev/null +++ b/testdata/repos/basic/dotGit/refs/heads/master @@ -0,0 +1 @@ +208ae4669ade2563fcaf9f12922fa2c0a5b37c63 diff --git a/testdata/repos/basic/dotGit/refs/remotes/origin/master b/testdata/repos/basic/dotGit/refs/remotes/origin/master new file mode 100644 index 00000000..1071f1e7 --- /dev/null +++ b/testdata/repos/basic/dotGit/refs/remotes/origin/master @@ -0,0 +1 @@ +208ae4669ade2563fcaf9f12922fa2c0a5b37c63 diff --git a/testdata/repos/basic/secrets.py b/testdata/repos/basic/secrets.py new file mode 100644 index 00000000..9d71e524 --- /dev/null +++ b/testdata/repos/basic/secrets.py @@ -0,0 +1,13 @@ +# testdata copied from https://github.com/Yelp/detect-secrets/blob/master/test_data/each_secret.py +red_herring = 'DEADBEEF' +id = 'YW1pYWx3YXlzZ2VuZXJhdGluZ3BheWxvYWRzd2hlbmltaHVuZ3J5b3JhbWlhbHdheXNodW5ncnk' + +base64_secret = 'c2VjcmV0IG1lc3NhZ2Ugc28geW91J2xsIG5ldmVyIGd1ZXNzIG15IHBhc3N3b3Jk' +hex_secret = '8b1118b376c313ed420e5133ba91307817ed52c2' +basic_auth = 'http://username:whywouldyouusehttpforpasswords@example.com' + +aws_access_key = 'AKIAIOSFODNN7EXAMPLE' +aws_secret_access_key = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY' + +# another aws secrets +aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE' diff --git a/testdata/repos/empty/.gitignore b/testdata/repos/empty/.gitignore new file mode 100644 index 00000000..5e7d2734 --- /dev/null +++ b/testdata/repos/empty/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore diff --git a/testdata/repos/with_config/README.md b/testdata/repos/with_config/README.md new file mode 100644 index 00000000..fa7b9d23 --- /dev/null +++ b/testdata/repos/with_config/README.md @@ -0,0 +1,3 @@ +This is the basic testdata repo + +This is the first commit diff --git a/testdata/repos/with_config/dotGit/COMMIT_EDITMSG b/testdata/repos/with_config/dotGit/COMMIT_EDITMSG new file mode 100644 index 00000000..582a0a30 --- /dev/null +++ b/testdata/repos/with_config/dotGit/COMMIT_EDITMSG @@ -0,0 +1 @@ +adding another aws secrets diff --git a/test_data/test_repos/test_repo_2/dotGit/HEAD b/testdata/repos/with_config/dotGit/HEAD similarity index 100% rename from test_data/test_repos/test_repo_2/dotGit/HEAD rename to testdata/repos/with_config/dotGit/HEAD diff --git a/test_data/test_repos/test_repo_10/dotGit/config b/testdata/repos/with_config/dotGit/config similarity index 69% rename from test_data/test_repos/test_repo_10/dotGit/config rename to testdata/repos/with_config/dotGit/config index 9a4aba0d..fc33e141 100644 --- a/test_data/test_repos/test_repo_10/dotGit/config +++ b/testdata/repos/with_config/dotGit/config @@ -6,8 +6,8 @@ ignorecase = true precomposeunicode = true [remote "origin"] - url = git@github.com:zricethezav/test_repo_paths.git + url = git@github.com:zricethezav/basic.git fetch = +refs/heads/*:refs/remotes/origin/* -[branch "main"] +[branch "master"] remote = origin - merge = refs/heads/main + merge = refs/heads/master diff --git a/test_data/test_repos/test_repo_10/dotGit/description b/testdata/repos/with_config/dotGit/description similarity index 100% rename from test_data/test_repos/test_repo_10/dotGit/description rename to testdata/repos/with_config/dotGit/description diff --git a/testdata/repos/with_config/dotGit/index b/testdata/repos/with_config/dotGit/index new file mode 100644 index 0000000000000000000000000000000000000000..420b9edacff0039f2c2454fbccd2ab6b581c9f42 GIT binary patch literal 217 zcmZ?q402{*U|<5_L<>Pf`L5}vV7h~U9U}t+E7LWXoeT_(OBfg!zXH{W0I}7t>bc5= z!io76#Ri|QzRl>`*ZN9=fiuX}(Z$zQFE@oD(L(yT`t6^*VESfO9K@Ws&8X%u1iW7Z`*Dxw--wk_<))23%W0KWH`Z ov$z@jJQNl9x2iEX{}o64@2!?Eyxuf0X+@NGymef|d{bEm048TfjQ{`u literal 0 HcmV?d00001 diff --git a/testdata/repos/with_config/dotGit/logs/HEAD b/testdata/repos/with_config/dotGit/logs/HEAD new file mode 100644 index 00000000..caf085d5 --- /dev/null +++ b/testdata/repos/with_config/dotGit/logs/HEAD @@ -0,0 +1,3 @@ +0000000000000000000000000000000000000000 ae8db4a2306798fcb3a5b9cbe8c486027fc1931f Zach Rice 1631064384 -0500 commit (initial): First commit, README only +ae8db4a2306798fcb3a5b9cbe8c486027fc1931f e7c0aff3e8a60b50a85432fdf933f8beff013743 Zach Rice 1631064550 -0500 commit: adding yelp secrets file +e7c0aff3e8a60b50a85432fdf933f8beff013743 208ae4669ade2563fcaf9f12922fa2c0a5b37c63 Zach Rice 1631067099 -0500 commit: adding another aws secrets diff --git a/testdata/repos/with_config/dotGit/logs/refs/heads/master b/testdata/repos/with_config/dotGit/logs/refs/heads/master new file mode 100644 index 00000000..caf085d5 --- /dev/null +++ b/testdata/repos/with_config/dotGit/logs/refs/heads/master @@ -0,0 +1,3 @@ +0000000000000000000000000000000000000000 ae8db4a2306798fcb3a5b9cbe8c486027fc1931f Zach Rice 1631064384 -0500 commit (initial): First commit, README only +ae8db4a2306798fcb3a5b9cbe8c486027fc1931f e7c0aff3e8a60b50a85432fdf933f8beff013743 Zach Rice 1631064550 -0500 commit: adding yelp secrets file +e7c0aff3e8a60b50a85432fdf933f8beff013743 208ae4669ade2563fcaf9f12922fa2c0a5b37c63 Zach Rice 1631067099 -0500 commit: adding another aws secrets diff --git a/testdata/repos/with_config/dotGit/logs/refs/remotes/origin/master b/testdata/repos/with_config/dotGit/logs/refs/remotes/origin/master new file mode 100644 index 00000000..b3a3d756 --- /dev/null +++ b/testdata/repos/with_config/dotGit/logs/refs/remotes/origin/master @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 208ae4669ade2563fcaf9f12922fa2c0a5b37c63 Zach Rice 1631067479 -0500 update by push diff --git a/testdata/repos/with_config/dotGit/objects/20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 b/testdata/repos/with_config/dotGit/objects/20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 new file mode 100644 index 00000000..cdeb30f4 --- /dev/null +++ b/testdata/repos/with_config/dotGit/objects/20/8ae4669ade2563fcaf9f12922fa2c0a5b37c63 @@ -0,0 +1,2 @@ +x�ŽA +Â0E]çseÒIÒD<ƒKwÓtÆl"iDðôö ®>mfU7AAcMm^g0wa}uYcdRb$6l7y_ z(7^N;1*`?FY&vP|k|+(WJ$v$5WCLL$e@E_`(P)9^0@}8yuI5+M+WPD5#`kxYQSiA= zW7MSafYU_YGUwc7$wBZyb{XCXh=<>4{Bq-tkhGMV?58Z=->=03|z^}^B4vkWl40KI5*sH z#Khuh&Eym?{Nr0vgwT>=?}1^2f!{j|a1q9otPoy!OXLA}9p+f`DFw?(r^S57oahv2 zr=YD!36H%P`?`~Sth=czg?G)bh}4T*t-&!VP-)U&1PF|@>Qs_&6Zzu>XLUXlJ59o` zpR;l?RobQf9zW;!yi}Id^5&B-ca{dFInl&oWt9Q9&UKkvLhDLBI?g52qM`S!%$)>e z<#5oz^j8I}2CW=wFiuXChT0i8=>T$oFp+*p?yG)O15X9ibyi%gZdi-Fp(fT)8VG&7~$=GsioR;+>$86m-i4#9_%J zuVBTSJsMG>;9+ueAMngQ{$}}c9BhzeI20%M^}^iQ1)@3Hxt$6&p5*zl4>lZ~;_zy8 zUa(yXqs7L?Fa>n~@MaVtG^2R>z%atVC+-+LgfS&^gvZkvngaJ+=GsG)jHRT}V#qNx zY6@)>)CI}mu@!w=Hj?*cWA29OxvVRqR9n_ueTROPA9ByV>_*72(@*8U-I_S3`44>t~d?q1H>kL31#?YTY*dDM5<9XD~D{Ff%bx2y%6F@paY9O=0*|Jy*F*UiT zbKx~%T=vB22+C?DZL7N$cG5^GDy^3#{3VNP%+CV9#ukSDe7W_&>+%*~F2X*y0-i-T literal 0 HcmV?d00001 diff --git a/testdata/repos/with_config/dotGit/objects/b1/db8ec404791b70cccb2124223199e6ec9b1520 b/testdata/repos/with_config/dotGit/objects/b1/db8ec404791b70cccb2124223199e6ec9b1520 new file mode 100644 index 0000000000000000000000000000000000000000..d5852b35c713911ecf1c1e1fdd127e0c52e794b5 GIT binary patch literal 88 zcmV-e0H^AWiT`_Ff%bx2y%6F@paY9O=0*|Jy*FlIWo%*;^``EapJ^xsm&MLz}EUdPT|?hgRD*B|{Ut0x-( literal 0 HcmV?d00001 diff --git a/testdata/repos/with_config/dotGit/objects/b4/55f02a800f044630f9c25a51fd7a81536fea08 b/testdata/repos/with_config/dotGit/objects/b4/55f02a800f044630f9c25a51fd7a81536fea08 new file mode 100644 index 0000000000000000000000000000000000000000..cc82093ee28ea6c627c8c4a66a927935ab872c7c GIT binary patch literal 88 zcmV-e0H^AWiT`_Ff%bx2y%6F@paY9O=0*|Jy*FlIWo%q@JXvNA9D$z^wqPP8^7M`ELH%bl8jV^q{QOPWQCH{;*ylal0=1~)Pj62E@TC1 UnMK7V3d#AoxtS$g0OuAKn72J0>i_@% literal 0 HcmV?d00001 diff --git a/testdata/repos/with_config/dotGit/refs/heads/master b/testdata/repos/with_config/dotGit/refs/heads/master new file mode 100644 index 00000000..1071f1e7 --- /dev/null +++ b/testdata/repos/with_config/dotGit/refs/heads/master @@ -0,0 +1 @@ +208ae4669ade2563fcaf9f12922fa2c0a5b37c63 diff --git a/testdata/repos/with_config/dotGit/refs/remotes/origin/master b/testdata/repos/with_config/dotGit/refs/remotes/origin/master new file mode 100644 index 00000000..1071f1e7 --- /dev/null +++ b/testdata/repos/with_config/dotGit/refs/remotes/origin/master @@ -0,0 +1 @@ +208ae4669ade2563fcaf9f12922fa2c0a5b37c63 diff --git a/testdata/repos/with_config/gitleaks.toml b/testdata/repos/with_config/gitleaks.toml new file mode 100644 index 00000000..9344dde6 --- /dev/null +++ b/testdata/repos/with_config/gitleaks.toml @@ -0,0 +1,8 @@ +[[rules]] + description = "Generic Credential" + regex = '''(?i)(dbpasswd|dbuser|dbname|dbhost|api_key|apikey|secret|key|api|password|user|guid|hostname|pw|auth)(.{0,20})?['|"]([0-9a-zA-Z-_\/+!{}/=]{4,120})['|"]''' + tags = ["key", "API", "generic"] + [rules.allowlist] + description = "ignore gitleaks config" + regexes = ['''gitleaks.toml'''] + diff --git a/testdata/repos/with_config/secrets.py b/testdata/repos/with_config/secrets.py new file mode 100644 index 00000000..9d71e524 --- /dev/null +++ b/testdata/repos/with_config/secrets.py @@ -0,0 +1,13 @@ +# testdata copied from https://github.com/Yelp/detect-secrets/blob/master/test_data/each_secret.py +red_herring = 'DEADBEEF' +id = 'YW1pYWx3YXlzZ2VuZXJhdGluZ3BheWxvYWRzd2hlbmltaHVuZ3J5b3JhbWlhbHdheXNodW5ncnk' + +base64_secret = 'c2VjcmV0IG1lc3NhZ2Ugc28geW91J2xsIG5ldmVyIGd1ZXNzIG15IHBhc3N3b3Jk' +hex_secret = '8b1118b376c313ed420e5133ba91307817ed52c2' +basic_auth = 'http://username:whywouldyouusehttpforpasswords@example.com' + +aws_access_key = 'AKIAIOSFODNN7EXAMPLE' +aws_secret_access_key = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY' + +# another aws secrets +aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE' From 0137637c2c426a8b91229ad1a92b35642652ec0a Mon Sep 17 00:00:00 2001 From: b-abderrahmane Date: Sat, 25 Sep 2021 11:14:52 +0200 Subject: [PATCH 3/5] Fixed typo in Readme.md Fixed description of main example rule --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd616a72..7ada9247 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ The rules are written in [TOML](https://github.com/toml-lang/toml) as defined in ```toml [[rules]] - description = "a string describing one of many rule in this config" + description = "a string describing one of many rules in this config" regex = '''one-go-style-regex-for-this-rule''' file = '''a-file-name-regex''' path = '''a-file-path-regex''' From 270207e5ebf112f398be5cbcfe2f9f351045a57f Mon Sep 17 00:00:00 2001 From: Dustin Shimono <5289+dustinsand@users.noreply.github.com> Date: Thu, 30 Sep 2021 10:49:09 -0400 Subject: [PATCH 4/5] fix: fix the multiple scan executions from pre-commit hook (#649) Co-authored-by: dustin --- .pre-commit-hooks.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index f9b0a976..f2db04c8 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,3 +3,4 @@ description: Detect hardcoded secrets using Gitleaks entry: gitleaks language: golang + pass_filenames: false From 3128789777f151d1db506ca885ce47a25e6647a2 Mon Sep 17 00:00:00 2001 From: Dustin Shimono <5289+dustinsand@users.noreply.github.com> Date: Thu, 30 Sep 2021 12:00:21 -0400 Subject: [PATCH 5/5] Add clarification in README.md that Go 1.16+ required. (#651) * fix: fix the multiple scan executions from pre-commit hook * docs: add clarification note about Go version required\ Ref 646 Co-authored-by: dustin --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7ada9247..4f40b6d3 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ docker run -v ${PWD}:/my-repo zricethezav/gitleaks:latest --path="/my-repo" [OPT ``` ##### Go +Go 1.16+ required. ```bash GO111MODULE=on go get github.com/zricethezav/gitleaks/v7 ```