- Update to version 3.80.0:

* [perf] -  Optimize MIME Type Detection to Reduce Allocations (#3048)
  * [feat] - Streamlined File Handling with BufferedReaderSeeker (#3041)
  * fix(deps): update module github.com/google/go-containerregistry to v0.20.1 (#3072)
  * Atlassian Token Detector (#3065)
  * fix(deps): update golang.org/x/exp digest to 1d5bc16 (#3070)
  * fix(deps): update module github.com/xanzy/go-gitlab to v0.107.0 (#3069)
  * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.19 (#3064)
  * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.18 (#3062)
  * fix(deps): update module cloud.google.com/go/secretmanager to v1.13.4 (#3059)
  * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.17 (#3057)
  * update package name (#3020)
  * Log more GitLab stuff (#3040)
  * Order GitLab repos by ID (#3047)
  * fix(deps): update module github.com/google/go-containerregistry to v0.20.0 (#3055)
  * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.16 (#3054)
  * fix(deps): update golang.org/x/exp digest to 46b0784 (#3053)
  * chore(deps): update goreleaser/goreleaser-action action to v6 (#3051)
  * remove dead code (#3044)
  * fix(deps): update testcontainers-go monorepo to v0.32.0 (#3050)
  * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.15 (#3049)
  * fix(deps): update module golang.org/x/crypto to v0.25.0 (#3045)
  * fix(deps): update module golang.org/x/net to v0.27.0 (#3046)
  * fix(deps): update module cloud.google.com/go/storage to v1.43.0 (#3043)
  * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.14 (#3042)
  * fix(deps): update module cloud.google.com/go/secretmanager to v1.13.3 (#3037)
  * fix(deps): update module go.mongodb.org/mongo-driver to v1.16.0 (#3036)
  * Elevenlabs detector (#3023)
  * fix(detectors): avoid race (#3028)
  * remove launchdarkly dep (#3034)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/trufflehog?expand=0&rev=111
This commit is contained in:
Jeff Kowalczyk 2024-07-18 14:20:18 +00:00 committed by Git OBS Bridge
commit 9909eb4a1d
9 changed files with 2744 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/trufflesecurity/trufflehog.git</param>
<param name="scm">git</param>
<param name="revision">main</param>
<param name="version">v3.80.0</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="manual"/>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be54ea22e90d969f34cd9f2b393a62c56394cd03bc05f7413f9c2a817e39e609
size 10210317

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af283aded7f06f784f832e48ec4db8ee79d32d845d41b883367bb6e039aa7426
size 10375181

2635
trufflehog.changes Normal file

File diff suppressed because it is too large Load Diff

4
trufflehog.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: trufflehog
version: 3.80.0
mtime: 1721250269
commit: 42b3a9d999fd0ebd2a4b0edbd434d8dac2c8adf0

55
trufflehog.spec Normal file
View File

@ -0,0 +1,55 @@
#
# spec file for package trufflehog
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: trufflehog
Version: 3.80.0
Release: 0
Summary: CLI tool to find exposed secrets in source and archives
License: AGPL-3.0-or-later
URL: https://github.com/trufflesecurity/trufflehog
Source: trufflehog-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang(API) >= 1.22
%description
TruffleHog is a scanning engine that helps find exposed secrets
within e.g. GitHub/GitLab repos, AWS S3 buckets, GCS buckets,
Docker images, Circle CI/Travis CI setups, or in individual files.
%prep
%autosetup -D -a 1
%build
%ifnarch ppc64
export GOFLAGS="-buildmode=pie"
%endif
go build
%check
# execute the binary as a basic check
./%{name} --help
%install
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%changelog

3
vendor.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4a7442f1220991fa1d3e0e7ec773f0161c3d8b8da6bb3a14832cfe28fba9742
size 21675195