-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
Thanks for the answer. The second problem is that out of 60 keys that are in regex101, gitleaks detects 50. Although the regex is the same: https://regex101.com/r/PmAzy3/1
docker run -v /yourpath:/path/ zricethezav/gitleaks:latest detect -c /path/original.toml -s/path/keys.txt --no-git -v -l trace
Originally posted by @almaz045 in #1631 (comment)
This looks like an issue with chunking. If I manually increase the chunk size, the number of secrets detected changes. FYI @zricethezav
Line 25 in 7f77987
chunkSize = 10 * 1_000 // 10kb # 20kb 8:37AM INF scan completed in 80.9ms 8:37AM WRN leaks found: 55 # 50kb 8:38AM INF scan completed in 82.4ms 8:38AM WRN leaks found: 58 # 100kb 8:38AM INF scan completed in 80.7ms 8:38AM WRN leaks found: 59
Related
I believe #1435 seems partially related to this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
