Skip to content

Conversation

rgmz
Copy link
Contributor

@rgmz rgmz commented May 12, 2025

Description:

This updates the findEncodedSegments log statement to include which decoder produced the segment.

6:01PM DBG using stdlib regex engine
6:01PM DBG unable to load gitleaks config from /tmp/decode.txt/.gitleaks.toml since --source=/tmp/decode.txt is a file, using default config
6:01PM DBG found .gitleaksignore file: .gitleaksignore
6:01PM DBG segment found: original=[29,38] pos=[29,38]: "%3D%3D%0A" -> "==\n" decoder=percent
6:01PM DBG segment found: original=[11,38] pos=[11,31]: "aGVsbG8sIHdvcmxkIQ==" -> "hello, world!" decoder=base64
6:01PM INF scanned ~51 bytes (51 bytes) in 2.75ms
6:01PM INF no leaks found

Checklist:

  • Does your PR pass tests?
  • Have you written new tests for your changes?
  • Have you lint your code locally prior to submission?

@zricethezav zricethezav merged commit f97a9ee into gitleaks:master May 13, 2025
2 checks passed
alayne222 pushed a commit to alayne222/gitleaks that referenced this pull request May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants