Accepting request 1224658 from home:ph03nix

- Update to version 3.83.7:
  * chore: fix typos in comments and tests; enable misspell (#3573)
  * [feat] - S3 Progress Tracker (#3568)
  * [feat] - Introduce Fatal/Non-Fatal File Handling Errors (#3521)
  * [refactor] - Add DataOrErr (#3520)
  * [refactor] - Adjust File Handling Errors (#3519)
  * [fix] - Improve UTF8 decoder's handling of non-printable characters (#3588)
  * [bug] - correctly capture db type for postgres detector (#3610)
  * Add support for scanning APK files (#3517)
  * feat(opsgenie): update detector (#3608)
  * fix(deps): update module google.golang.org/api to v0.206.0 (#3609)
  * fix(deps): update module cloud.google.com/go/storage to v1.47.0 (#3607)
  * fix(deps): update module github.com/elastic/go-elasticsearch/v8 to v8.16.0 (#3606)
  * fix(deps): update module github.com/bradleyfalzon/ghinstallation/v2 to v2.12.0 (#3600)
  * chore(deps): update jaxxstorm/action-install-gh-release action to v1.13.0 (#3599)
  * fix(deps): update module golang.org/x/oauth2 to v0.24.0 (#3605)
  * build: upgrade go-debian to v0.17.0 (#3603)
  * fix(deps): update module google.golang.org/protobuf to v1.35.2 (#3604)
  * fix(deps): update module github.com/googleapis/gax-go/v2 to v2.14.0 (#3601)
  * fix(deps): update module github.com/schollz/progressbar/v3 to v3.17.1 (#3598)
  * golangci-lint: replace exportloopref with copyloopvar and remove the copy of the 'for' variables (#3591)
  * chore(deps): update module github.com/trufflesecurity/overseer to v1.2.8 (#3596)
  * fix(deps): update golang.org/x/exp digest to 2d47ceb (#3595)
  * chore(deps): update mikepenz/action-junit-report action to v5 (#3553)
  * feat: added check for valid git commit and warning message (#3413)
  * fix(deps): update module github.com/azuread/microsoft-authentication-library-for-go to v1.3.1 (#3566)
  * fix(deps): update module github.com/xanzy/go-gitlab to v0.113.0 (#3562)
  * Add Detector Description to JSON output (#3404)
  * added pattern test cases for F, G and H alphabet detectors (#3590)
  * remove unused embedded struct (#3592)

OBS-URL: https://build.opensuse.org/request/show/1224658
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/trufflehog?expand=0&rev=153
This commit is contained in:
Jeff Kowalczyk 2024-11-17 16:52:43 +00:00 committed by Git OBS Bridge
commit cee0809560
26 changed files with 3425 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.83.7</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>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/trufflesecurity/trufflehog.git</param>
<param name="changesrevision">c38064d9f071d5517b574c153e9f8b6595f523a2</param></service></servicedata>

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

3264
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.83.7
mtime: 1731798612
commit: c38064d9f071d5517b574c153e9f8b6595f523a2

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.83.7
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:dea60fb0ab486a0eb794a8d1690a09d88d38709fe3a77f3c2dc37d47761ab139
size 23525344