Debian Patches

Status for trufflehog/3.60.0-1

Patch Description Author Forwarded Bugs Origin Last update
0001-fix-go-imports-on-debian.patch Fix Golang imports on Debian unstable packages
In Debian, there is a package
golang-github-googlе-go-github-dev version 60


===================================================================
Mikhail Potemkin <potemkinmr@gmail.com> no 2026-05-06
0002-comment-gosnowflake-import.patch Comment golang import gosnowflake
The patch is needed because the build results
in an error in the github.com/snowflakedb/gosnowflake
dependency from debian/vendor:
'''
# github.com/trufflesecurity/trufflehog/vendor/github.com/snowflakedb/gosnowflake
src/github.com/trufflesecurity/trufflehog/vendor/github.com/snowflakedb/gosnowflake/s3_storage_client.go:109:3: cannot use out.ContentLength (variable of type *int64) as int64 value in struct literal
'''

Also, if you enable this import, need two more modules that need to be added to debian/vendor:
1) github.com/apache/arrow/go/v12
2) github.com/apache/thrift
After adding these two imports, the build above will fail.
Mikhail Potemkin <potemkinmr@gmail.com> no 2026-05-06
0003-fix-import-and-code-in-style-go.patch Fix import and code in style.go
This patch is needed to fix the following error
when building the Debian package trufflehog:
'''
# github.com/trufflesecurity/trufflehog/pkg/tui/common
src/github.com/trufflesecurity/trufflehog/pkg/tui/common/style.go:15:15: undefined: glamour.DarkStyleConfig
'''
Mikhail Potemkin <potemkinmr@gmail.com> no 2026-05-08
0004-replace-archiver-on-archives.patch Adaptation of code for mholt/archives
This patch is needed because the github.com/mholt/archiver
repository is deprecated and has been moved to an archive by its owner.
This repository should now be replaced by github.com/mholt/archives.
Mikhail Potemkin <potemkinmr@gmail.com> no 2026-06-21

All known versions for source package 'trufflehog'

Links