Richard Gomez

Results 101 issues of Richard Gomez

### Description: This fixes a [minor test issue](https://github.com/trufflesecurity/trufflehog/actions/runs/9229315476/job/25395275435) introduced by #2814. I've also updated the method's logic to remove unnecessary code duplication and (imo) make it easier to understand. ###...

### Description: This creates a detector to match both JSON and YAML kubeconfig files[^1][^2]. While it _works_, it clashes against many of TruffleHog's current limitations. 1. Using regular expression to...

### Description: This fixes an issue where paths that contain `%` cause `UpdateLinkLineNumber` to fail. ``` parse \"https://github.com/coinbase/cbpay-js/blob/abcdefg/folder/%/name\": invalid URL escape \"%/n\" ``` ### Checklist: * [x] Tests passing (`make...

Please review the [Community Note](https://github.com/trufflesecurity/trufflehog/blob/main/.github/community_note.md) before submitting ### TruffleHog Version HEAD ### Description When using TruffleHog with a `file://` uri, the scan will complete with a 0 exit code even...

bug

Please review the [Community Note](https://github.com/trufflesecurity/trufflehog/blob/main/.github/community_note.md) before submitting ### TruffleHog Version HEAD ### Description I have no idea how to reproduce this, but it's possible for `ahocorasickcore.calculateSpan` to produce a `matchSpan`...

bug

### Description: When looking at trace logs you will see countless lines with the message: "no decoder found for chunk". ``` 2024-05-01T15:10:28Z info-4 trufflehog finished scanning chunks {"secret_worker_id": "MMpLT"} 2024-05-01T15:10:28Z...

### Description: This fixes #2494. It relies on #1918 being merged. **Caveats/Limitations of GitHub's Events API** - [The `/events` endpoint only returns events from the last 90 days.](https://docs.github.com/en/rest/activity/events?apiVersion=2022-11-28#about-github-events) - [The...

### Description: This supersedes #1979. Depends on #2976. ### Checklist: * [ ] Tests passing (`make test-community`)? * [ ] Lint passing (`make lint` this requires [golangci-lint](https://golangci-lint.run/usage/install/#local-installation))?

### Description: Azure refresh tokens are long-lived opaque tokens returned alongside access tokens[^1]. They can remain valid for an indefinite period, and can be used to generate a new valid...

### Description: This fixes #1953 by adding a list of UUID false positives. It also renames the lists so they appear together in the file explorer (nitpick). > For things...