Description
Git 2.45.0 added support for reftable which has performance improvements on large projects. Unfortunately, Trufflehog does not support this format and if you scan a repository which was initialized with that option or migrated using git refs migrate --ref-format=reftable you will get this error:
$ trufflehog --version
trufflehog 3.95.5
$ trufflehog git --trust-local-git-config --detector-timeout=120s file://.
…
2026-06-04T16:49:24-04:00 error trufflehog encountered errors during scan {"job": 1, "source_name": "trufflehog - git", "errors": ["error chunking dir \".\": core.repositoryformatversion does not support extension: refstorage"]}
Preferred Solution
Trufflehog should support this Git feature.
References
Description
Git 2.45.0 added support for
reftablewhich has performance improvements on large projects. Unfortunately, Trufflehog does not support this format and if you scan a repository which was initialized with that option or migrated usinggit refs migrate --ref-format=reftableyou will get this error:$ trufflehog --version trufflehog 3.95.5 $ trufflehog git --trust-local-git-config --detector-timeout=120s file://. … 2026-06-04T16:49:24-04:00 error trufflehog encountered errors during scan {"job": 1, "source_name": "trufflehog - git", "errors": ["error chunking dir \".\": core.repositoryformatversion does not support extension: refstorage"]}Preferred Solution
Trufflehog should support this Git feature.
References