- trufflehog-v3.35.2 * Pass GitHub apiEndpoint for basic or no auth by @rgmz in #1454 * Bump github.com/xanzy/go-gitlab from 0.86.0 to 0.88.0 by @dependabot in #1522 * Bump github.com/google/go-containerregistry from 0.14.0 to 0.15.2 by @dependabot in #1504 * Add SourceManager tests for Run and Wait methods by @mcastorina in #1530 * Improve log message when scanning GitHub comments by @rgmz in #1553 * Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.4.0 to 2.6.0 by @dependabot in #1503 * Bump github.com/go-git/go-git/v5 from 5.8.0 to 5.8.1 by @dependabot in #1554 * [MongoDB] Detect CosmoDB access keys by @rgmz in #1511 * Override broken dependency version by @dustin-decker in #1558 * Add azure repos protos by @ahrav in #1559 * add merge support by @zricethezav in #1561 - trufflehog-v3.35.1 * [chore] - optimize chunker by @ahrav in #1535 * Add commitsScanned metrics by @bill-rich in #1533 * Make Ahocorasick matching case insensitive by @zricethezav in #1547 * Fix data race in context wrapper library by @mcastorina in #1546 * Update gitparse logic by @rgmz in #1486 OBS-URL: https://build.opensuse.org/request/show/1101178 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/trufflehog?expand=0&rev=12
53 lines
1.4 KiB
RPMSpec
53 lines
1.4 KiB
RPMSpec
#
|
||
# spec file for package trufflehog
|
||
#
|
||
# Copyright (c) 2022 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.45.2
|
||
Release: 0
|
||
Summary: Find credentials all over the place
|
||
License: AGPL-3.0-or-later
|
||
URL: https://github.com/trufflesecurity/trufflehog
|
||
Source: trufflehog-%{version}.tar.gz
|
||
Source1: vendor.tar.gz
|
||
BuildRequires: golang-packaging
|
||
BuildRequires: libpcre1
|
||
BuildRequires: go >= 1.18
|
||
%{go_nostrip}
|
||
|
||
%description
|
||
TruffleHog is an open source secret-scanning engine that helps resolve exposed
|
||
secrets across your company’s entire tech stack.
|
||
|
||
%prep
|
||
%autosetup -D -a 1
|
||
|
||
%build
|
||
make install GOARGS="-mod vendor -buildmode pie"
|
||
|
||
%install
|
||
install -Dm 755 /home/abuild/go/bin/trufflehog %{buildroot}/%{_bindir}/trufflehog
|
||
|
||
|
||
%files
|
||
%doc README.md
|
||
%license LICENSE
|
||
%{_bindir}/trufflehog
|
||
|
||
%changelog
|
||
|