- Update to version 3.63.2: * update regex (#2184) * Deprecate some detectors (#2186) * allow targets for the source manager (#2182) * use https for verification endpoints (#2185) * remove unnecessary Git cmd check (#2175) * [feat] - Remove go-git dependency (#2174) * Skip trying to determine MIME type for directories (#2178) * fixing how to rotate URL (#2183) * Use forked sevenzip (#2180) * [thog-1548] add auto redaction for verification errors (#2106) * fix(deps): update module github.com/google/go-github/v42 to v57 (#2172) * chore(deps): update google-github-actions/auth action to v2 (#2171) * skip files we can't scan (#2170) * fix(deps): update module google.golang.org/api to v0.152.0 (#2169) * [chore] - remove deprecated types (#2168) * fix(deps): update module golang.org/x/oauth2 to v0.15.0 (#2167) * fix(deps): update module github.com/aws/aws-sdk-go to v1.48.12 (#2166) * fix(deps): update module github.com/xanzy/go-gitlab to v0.94.0 (#2165) * fix(deps): update module github.com/trufflesecurity/disk-buffer-reader to v0.2.1 (#2163) * Ignore images and binaries (#2162) * [chore] - Increase pagination limit (#2154) * fix(deps): update module github.com/google/go-containerregistry to v0.17.0 (#2160) * update forager types (#2159) * fix(deps): update module github.com/go-logr/zapr to v1.3.0 (#2158) * fix(deps): update module github.com/fatih/color to v1.16.0 (#2155) * fix(deps): update module github.com/couchbase/gocb/v2 to v2.7.0 (#2153) * fix(deps): update module github.com/aws/aws-sdk-go to v1.48.11 (#2152) * fix(deps): update module github.com/alecthomas/kingpin/v2 to v2.4.0 (#2151) * fix(deps): update module cloud.google.com/go/storage to v1.35.1 (#2150) OBS-URL: https://build.opensuse.org/request/show/1131604 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/trufflehog?expand=0&rev=32
56 lines
1.5 KiB
RPMSpec
56 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package trufflehog
|
|
#
|
|
# Copyright (c) 2023 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.63.2
|
|
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.21
|
|
|
|
%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
|