Repository navigation
Changes
- Fixed a slowdown from v1.1.3 on files where many lines end in a label such as
API keyoraccess token. Those lines merged into one block the size of the file, and every regex ran over all of it. A 21 MB file went from 1s in v1.1.1 to 5.6s in v1.1.3, and now takes 0.9s. - Files with many Kubernetes Secrets are much faster too. A 15 MB test file took 22s in v1.1.1 and over 2 minutes in v1.1.2 and v1.1.3, and now takes 6s.
Findings don't change: on a 1.6 GB history, this release reports the same labels and counts as v1.1.3. Scans of typical history take about the same time as before.
A file with a very large number of distinct secrets, such as hundreds of thousands of signed URLs, is still slower than before v1.1.3, because each one is a value to redact.
Install
Download the binary for your platform below, or run go install github.com/overflowy/claude-scrub@v1.1.4. checksums.txt has the SHA-256 of each file.
The macOS binaries aren't signed. If macOS blocks one, run xattr -d com.apple.quarantine on it.