<86>Dec 21 09:04:38 userdel[2026241]: delete user 'rooter' <86>Dec 21 09:04:38 userdel[2026241]: removed group 'rooter' owned by 'rooter' <86>Dec 21 09:04:38 userdel[2026241]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 21 09:04:38 groupadd[2026262]: group added to /etc/group: name=rooter, GID=1853 <86>Dec 21 09:04:38 groupadd[2026262]: group added to /etc/gshadow: name=rooter <86>Dec 21 09:04:38 groupadd[2026262]: new group: name=rooter, GID=1853 <86>Dec 21 09:04:38 useradd[2026281]: new user: name=rooter, UID=1853, GID=1853, home=/root, shell=/bin/bash, from=none <86>Dec 21 09:04:38 userdel[2026300]: delete user 'builder' <86>Dec 21 09:04:38 userdel[2026300]: removed group 'builder' owned by 'builder' <86>Dec 21 09:04:38 userdel[2026300]: removed shadow group 'builder' owned by 'builder' <86>Dec 21 09:04:38 groupadd[2026319]: group added to /etc/group: name=builder, GID=1854 <86>Dec 21 09:04:38 groupadd[2026319]: group added to /etc/gshadow: name=builder <86>Dec 21 09:04:38 groupadd[2026319]: new group: name=builder, GID=1854 <86>Dec 21 09:04:38 useradd[2026326]: new user: name=builder, UID=1854, GID=1854, home=/usr/src, shell=/bin/bash, from=none <13>Dec 21 09:04:42 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718975 installed <13>Dec 21 09:04:42 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 21 09:04:42 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 21 09:04:42 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 21 09:04:42 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 21 09:04:42 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734008167 installed <13>Dec 21 09:04:42 rpmi: libngtcp2.16-1.9.1-alt1 sisyphus+363819.100.1.1 1733129258 installed <13>Dec 21 09:04:42 rpmi: libngtcp2_crypto_gnutls8-1.9.1-alt1 sisyphus+363819.100.1.1 1733129258 installed <13>Dec 21 09:04:43 rpmi: golang-src-1.23.4-alt1 sisyphus+364018.100.1.1 1733260969 installed <13>Dec 21 09:04:43 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Dec 21 09:04:43 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Dec 21 09:04:43 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684771 installed <13>Dec 21 09:04:43 rpmi: libnghttp3.9-1.6.0-alt1 sisyphus+363819.40.1.1 1733129195 installed <13>Dec 21 09:04:43 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118560 installed <13>Dec 21 09:04:43 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 21 09:04:43 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Dec 21 09:04:43 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Dec 21 09:04:43 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 21 09:04:43 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 21 09:04:43 rpmi: libxxhash-0.8.2-alt1 sisyphus+336514.200.7.1 1702672120 installed <13>Dec 21 09:04:43 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Dec 21 09:04:43 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Dec 21 09:04:43 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819639 installed <13>Dec 21 09:04:43 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 21 09:04:43 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729916 installed <13>Dec 21 09:04:43 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922745 installed <13>Dec 21 09:04:43 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>Dec 21 09:04:43 rpmi: diffstat-1.64-alt1 sisyphus+346132.200.3.2 1716466240 installed <13>Dec 21 09:04:43 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 21 09:04:43 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 21 09:04:43 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 21 09:04:43 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 21 09:04:43 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 21 09:04:43 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 21 09:04:43 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <86>Dec 21 09:04:43 groupadd[2035796]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 21 09:04:43 groupadd[2035796]: group added to /etc/gshadow: name=_keytab <86>Dec 21 09:04:43 groupadd[2035796]: new group: name=_keytab, GID=999 <13>Dec 21 09:04:43 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed <13>Dec 21 09:04:43 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905438 installed <86>Dec 21 09:04:43 groupadd[2035930]: group added to /etc/group: name=sasl, GID=998 <86>Dec 21 09:04:43 groupadd[2035930]: group added to /etc/gshadow: name=sasl <86>Dec 21 09:04:43 groupadd[2035930]: new group: name=sasl, GID=998 <13>Dec 21 09:04:43 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112524 installed <13>Dec 21 09:04:43 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971261 installed <13>Dec 21 09:04:43 rpmi: openssh-common-9.6p1-alt2 sisyphus+351911.100.1.1 1719838551 installed <86>Dec 21 09:04:43 groupadd[2036009]: group added to /etc/group: name=sshagent, GID=997 <86>Dec 21 09:04:43 groupadd[2036009]: group added to /etc/gshadow: name=sshagent <86>Dec 21 09:04:43 groupadd[2036009]: new group: name=sshagent, GID=997 <13>Dec 21 09:04:43 rpmi: openssh-clients-9.6p1-alt2 sisyphus+351911.100.1.1 1719838551 installed <13>Dec 21 09:04:43 rpmi: rsync-3.2.7-alt1 sisyphus+325006.2000.1.1 1689498390 installed <13>Dec 21 09:04:43 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593140 installed <13>Dec 21 09:04:43 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905244 installed <13>Dec 21 09:04:44 rpmi: git-core-2.42.2-alt1 sisyphus+348068.100.1.1 1715721643 installed <13>Dec 21 09:04:45 rpmi: golang-1.23.4-alt1 sisyphus+364018.100.1.1 1733260944 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/gitleaks-8.21.2-alt1.nosrc.rpm (w1.gzdio) Installing gitleaks-8.21.2-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.87463 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gitleaks-8.21.2 + echo 'Source #0 (gitleaks-8.21.2.tar):' Source #0 (gitleaks-8.21.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/gitleaks-8.21.2.tar + cd gitleaks-8.21.2 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.87463 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gitleaks-8.21.2 + go build -v -buildmode=pie -ldflags -X=github.com/zricethezav/gitleaks/v8/cmd.Version=8.21.2 internal/asan internal/coverage/rtcov internal/goarch internal/godebugs internal/race internal/profilerecord unicode unicode/utf8 internal/byteorder internal/unsafeheader internal/goos internal/runtime/syscall internal/runtime/atomic internal/goexperiment sync/atomic internal/cpu internal/itoa runtime/internal/math internal/abi runtime/internal/sys internal/msan cmp encoding unicode/utf16 math/bits internal/nettrace log/internal container/list internal/chacha8rand crypto/internal/alias crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias golang.org/x/exp/maps image/color github.com/rivo/uniseg math internal/runtime/exithook internal/bytealg internal/stringslite runtime internal/weak crypto/subtle iter internal/reflectlite sync maps slices internal/testlog internal/singleflight internal/bisect runtime/cgo internal/godebug errors io sort internal/oserror github.com/hashicorp/hcl/hcl/strconv math/rand/v2 crypto/internal/edwards25519/field math/rand vendor/golang.org/x/net/dns/dnsmessage path strconv crypto/internal/nistec/fiat syscall hash crypto/internal/randutil strings bytes crypto/internal/edwards25519 hash/adler32 hash/crc32 internal/concurrent unique vendor/golang.org/x/text/transform crypto/cipher golang.org/x/text/transform bufio net/http/internal/ascii html github.com/h2non/filetype/types crypto/rc4 crypto regexp/syntax reflect net/netip crypto/des crypto/internal/boring crypto/md5 crypto/sha512 crypto/hmac crypto/aes crypto/sha1 crypto/sha256 vendor/golang.org/x/crypto/hkdf regexp internal/syscall/execenv internal/syscall/unix time crypto/internal/nistec crypto/ecdh context io/fs internal/poll golang.org/x/sync/semaphore embed internal/filepathlite encoding/binary internal/fmtsort os encoding/base64 github.com/h2non/filetype/matchers/isobmff vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix github.com/h2non/filetype/matchers encoding/pem vendor/golang.org/x/crypto/chacha20poly1305 io/ioutil github.com/h2non/filetype os/signal path/filepath fmt github.com/mattn/go-runewidth vendor/golang.org/x/sys/cpu net vendor/golang.org/x/crypto/sha3 github.com/muesli/reflow/ansi github.com/muesli/reflow/truncate github.com/muesli/reflow/wrap github.com/muesli/reflow/wordwrap github.com/spf13/afero/mem os/exec encoding/hex text/tabwriter encoding/csv flag net/url log encoding/json github.com/hashicorp/hcl/hcl/token compress/flate mime text/template/parse math/big vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/unicode/norm github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner github.com/hashicorp/hcl/json/token mime/quotedprintable net/http/internal vendor/golang.org/x/text/unicode/bidi github.com/hashicorp/hcl/json/scanner github.com/hashicorp/hcl/hcl/parser github.com/subosito/gotenv github.com/spf13/jwalterweatherman gopkg.in/ini.v1 golang.org/x/text/unicode/norm gopkg.in/yaml.v2 github.com/hashicorp/hcl/json/parser compress/gzip database/sql/driver github.com/aymanbagabas/go-osc52/v2 github.com/fatih/semgroup github.com/hashicorp/hcl/hcl/printer github.com/BobuSumisu/aho-corasick compress/zlib encoding/xml github.com/hashicorp/hcl text/template github.com/mattn/go-isatty github.com/fsnotify/fsnotify vendor/golang.org/x/text/secure/bidirule github.com/lucasb-eyer/go-colorful vendor/golang.org/x/net/idna crypto/rand crypto/internal/boring/bbig crypto/elliptic crypto/dsa github.com/pelletier/go-toml crypto/internal/bigmod encoding/asn1 crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 github.com/muesli/termenv html/template crypto/rsa crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte github.com/charmbracelet/lipgloss crypto/ecdsa github.com/spf13/cast github.com/rs/zerolog/internal/json vendor/golang.org/x/net/http/httpproxy net/textproto github.com/mitchellh/mapstructure crypto/x509 github.com/spf13/pflag vendor/golang.org/x/net/http/httpguts net/mail mime/multipart github.com/rs/zerolog github.com/gitleaks/go-gitdiff/gitdiff crypto/tls github.com/rs/zerolog/log github.com/spf13/cobra github.com/zricethezav/gitleaks/v8/sources net/http/httptrace net/http github.com/spf13/afero github.com/magiconair/properties github.com/spf13/viper github.com/zricethezav/gitleaks/v8/config github.com/zricethezav/gitleaks/v8/report github.com/zricethezav/gitleaks/v8/detect github.com/zricethezav/gitleaks/v8/cmd github.com/zricethezav/gitleaks/v8 + ./gitleaks completion bash + ./gitleaks completion fish + ./gitleaks completion zsh + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.91177 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/gitleaks-buildroot + : + /bin/rm -rf -- /usr/src/tmp/gitleaks-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd gitleaks-8.21.2 + install -Dp gitleaks -t /usr/src/tmp/gitleaks-buildroot/usr/bin + install -Dpm644 gitleaks.bash /usr/src/tmp/gitleaks-buildroot/usr/share/bash-completion/completions/gitleaks + install -Dpm644 gitleaks.fish /usr/src/tmp/gitleaks-buildroot/usr/share/fish/vendor_completions.d/gitleaks.fish + install -Dpm644 gitleaks.zsh /usr/src/tmp/gitleaks-buildroot/usr/share/zsh/site-functions/_gitleaks + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/gitleaks-buildroot (auto) Verifying and fixing files in /usr/src/tmp/gitleaks-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/gitleaks-buildroot/ (default) Compressing files in /usr/src/tmp/gitleaks-buildroot (auto) debugedit: ./usr/bin/gitleaks: DWARF version 35198 unhandled [45] .debug_gdb_scripts NOT compressed, wouldn't be smaller Verifying ELF objects in /usr/src/tmp/gitleaks-buildroot (arch=strict,fhs=strict,lfs=strict,lint=relaxed,rpath=strict,stack=strict,textrel=strict,unresolved=strict) phdr[7]: unknown object file note type 4 with owner name 'Go' at offset 168 section [ 4] '.note.go.buildid': unknown object file note type 4 with owner name 'Go' at offset 100 verify-elf: WARNING: ./usr/bin/gitleaks: eu-elflint failed Splitting links to aliased files under /{,s}bin in /usr/src/tmp/gitleaks-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.7963 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gitleaks-8.21.2 + grep -Fx 8.21.2 + /usr/src/tmp/gitleaks-buildroot/usr/bin/gitleaks version 8.21.2 + go test -v ./... ? github.com/zricethezav/gitleaks/v8 [no test files] ? github.com/zricethezav/gitleaks/v8/cmd [no test files] ? github.com/zricethezav/gitleaks/v8/cmd/generate/config [no test files] ? github.com/zricethezav/gitleaks/v8/cmd/generate/config/rules [no test files] ? github.com/zricethezav/gitleaks/v8/cmd/generate/config/utils [no test files] ? github.com/zricethezav/gitleaks/v8/cmd/generate/secrets [no test files] === RUN TestConfigAllowlistRegexes === RUN TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_python === RUN TestConfigAllowlistRegexes/environment_variables === RUN TestConfigAllowlistRegexes/interpolated_variables_-_github_actions === RUN TestConfigAllowlistRegexes/interpolated_variables_-_ansible === RUN TestConfigAllowlistRegexes/interpolated_variables_-_nuget === RUN TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_golang === RUN TestConfigAllowlistRegexes/interpolated_variables_-_ucd === RUN TestConfigAllowlistRegexes/general_placeholders === RUN TestConfigAllowlistRegexes/general_placeholders_-_repeated_characters --- PASS: TestConfigAllowlistRegexes (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_python (0.00s) --- PASS: TestConfigAllowlistRegexes/environment_variables (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_github_actions (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_ansible (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_nuget (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_golang (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_ucd (0.00s) --- PASS: TestConfigAllowlistRegexes/general_placeholders (0.00s) --- PASS: TestConfigAllowlistRegexes/general_placeholders_-_repeated_characters (0.00s) === RUN TestConfigAllowlistPaths === RUN TestConfigAllowlistPaths/python === RUN TestConfigAllowlistPaths/javascript_-_common_static_assets --- PASS: TestConfigAllowlistPaths (0.00s) --- PASS: TestConfigAllowlistPaths/python (0.00s) --- PASS: TestConfigAllowlistPaths/javascript_-_common_static_assets (0.00s) PASS ok github.com/zricethezav/gitleaks/v8/cmd/generate/config/base 0.006s === RUN TestCommitAllowed --- PASS: TestCommitAllowed (0.00s) === RUN TestRegexAllowed --- PASS: TestRegexAllowed (0.00s) === RUN TestPathAllowed --- PASS: TestPathAllowed (0.00s) === RUN TestValidate --- PASS: TestValidate (0.00s) === RUN TestTranslate === RUN TestTranslate/allowlist_old_compat === RUN TestTranslate/allowlist_invalid_empty === RUN TestTranslate/allowlist_invalid_old_and_new === RUN TestTranslate/allowlist_invalid_regextarget === RUN TestTranslate/allow_aws_re === RUN TestTranslate/allow_commit === RUN TestTranslate/allow_path === RUN TestTranslate/entropy_group === RUN TestTranslate/missing_id === RUN TestTranslate/no_regex_or_path === RUN TestTranslate/bad_entropy_group === RUN TestTranslate/base {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/extend_2.toml"} {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/extend_1.toml"} === RUN TestTranslate/extend_rule_allowlist_or {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/extend_rule_allowlist_base.toml"} === RUN TestTranslate/extend_rule_allowlist_and {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/extend_rule_allowlist_base.toml"} === RUN TestTranslate/extend_empty_regexpath {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/extend_3.toml"} === RUN TestTranslate/override_description {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_entropy {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_secret_group {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_regex {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_path {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_tags {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_keywords {"level":"debug","time":"2024-12-21T09:05:15Z","message":"extending config with ../testdata/config/simple.toml"} --- PASS: TestTranslate (0.03s) --- PASS: TestTranslate/allowlist_old_compat (0.00s) --- PASS: TestTranslate/allowlist_invalid_empty (0.00s) --- PASS: TestTranslate/allowlist_invalid_old_and_new (0.00s) --- PASS: TestTranslate/allowlist_invalid_regextarget (0.00s) --- PASS: TestTranslate/allow_aws_re (0.00s) --- PASS: TestTranslate/allow_commit (0.00s) --- PASS: TestTranslate/allow_path (0.00s) --- PASS: TestTranslate/entropy_group (0.00s) --- PASS: TestTranslate/missing_id (0.00s) --- PASS: TestTranslate/no_regex_or_path (0.00s) --- PASS: TestTranslate/bad_entropy_group (0.00s) --- PASS: TestTranslate/base (0.00s) --- PASS: TestTranslate/extend_rule_allowlist_or (0.00s) --- PASS: TestTranslate/extend_rule_allowlist_and (0.00s) --- PASS: TestTranslate/extend_empty_regexpath (0.00s) --- PASS: TestTranslate/override_description (0.00s) --- PASS: TestTranslate/override_entropy (0.00s) --- PASS: TestTranslate/override_secret_group (0.00s) --- PASS: TestTranslate/override_regex (0.00s) --- PASS: TestTranslate/override_path (0.00s) --- PASS: TestTranslate/override_tags (0.00s) --- PASS: TestTranslate/override_keywords (0.00s) PASS ok github.com/zricethezav/gitleaks/v8/config 0.037s === RUN TestIsNew --- PASS: TestIsNew (0.00s) === RUN TestFileLoadBaseline --- PASS: TestFileLoadBaseline (0.00s) === RUN TestIgnoreIssuesInBaseline {"level":"debug","time":"2024-12-21T09:05:16Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} --- PASS: TestIgnoreIssuesInBaseline (0.06s) === RUN TestDecode === RUN TestDecode/only_b64_chunk {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:0, relativeEnd:36, absoluteStart:0, absoluteEnd:36, decodedStart:0, decodedEnd:26, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/mixed_content {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:7, relativeEnd:43, absoluteStart:7, absoluteEnd:43, decodedStart:7, decodedEnd:33, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/no_chunk === RUN TestDecode/env_var_(looks_like_all_b64_decodable_but_has_`=`_in_the_middle) {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:20, relativeEnd:44, absoluteStart:20, absoluteEnd:44, decodedStart:20, decodedEnd:37, decodedValue:\"test-secret-value\", encoding:\"base64\"}"} === RUN TestDecode/has_longer_b64_inside {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:21, relativeEnd:57, absoluteStart:21, absoluteEnd:57, decodedStart:21, decodedEnd:47, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/many_possible_i_:=_0substrings {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:75, relativeEnd:107, absoluteStart:75, absoluteEnd:107, decodedStart:75, decodedEnd:99, decodedValue:\"this encapsulated secret\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_only_b64_chunk {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:0, relativeEnd:35, absoluteStart:0, absoluteEnd:35, decodedStart:0, decodedEnd:26, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_mixed_content {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:7, relativeEnd:42, absoluteStart:7, absoluteEnd:42, decodedStart:7, decodedEnd:33, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_env_var_(looks_like_all_b64_decodable_but_has_`=`_in_the_middle) {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:20, relativeEnd:44, absoluteStart:20, absoluteEnd:44, decodedStart:20, decodedEnd:37, decodedValue:\"test-secret-value\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_has_longer_b64_inside {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:21, relativeEnd:56, absoluteStart:21, absoluteEnd:56, decodedStart:21, decodedEnd:47, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_hyphen_url_b64 {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:0, relativeEnd:34, absoluteStart:0, absoluteEnd:34, decodedStart:0, decodedEnd:25, decodedValue:\"trufflehog>>finds-secrets\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_underscore_url_b64 {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:0, relativeEnd:48, absoluteStart:0, absoluteEnd:48, decodedStart:0, decodedEnd:36, decodedValue:\"b64urlsafe-test-secret-underscores??\", encoding:\"base64\"}"} === RUN TestDecode/invalid_base64_string --- PASS: TestDecode (0.00s) --- PASS: TestDecode/only_b64_chunk (0.00s) --- PASS: TestDecode/mixed_content (0.00s) --- PASS: TestDecode/no_chunk (0.00s) --- PASS: TestDecode/env_var_(looks_like_all_b64_decodable_but_has_`=`_in_the_middle) (0.00s) --- PASS: TestDecode/has_longer_b64_inside (0.00s) --- PASS: TestDecode/many_possible_i_:=_0substrings (0.00s) --- PASS: TestDecode/b64-url-safe:_only_b64_chunk (0.00s) --- PASS: TestDecode/b64-url-safe:_mixed_content (0.00s) --- PASS: TestDecode/b64-url-safe:_env_var_(looks_like_all_b64_decodable_but_has_`=`_in_the_middle) (0.00s) --- PASS: TestDecode/b64-url-safe:_has_longer_b64_inside (0.00s) --- PASS: TestDecode/b64-url-safe:_hyphen_url_b64 (0.00s) --- PASS: TestDecode/b64-url-safe:_underscore_url_b64 (0.00s) --- PASS: TestDecode/invalid_base64_string (0.00s) === RUN TestDetect === RUN TestDetect/simple_-_tmp.go {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","finding":"AKIALALEMEL33243OKIA","time":"2024-12-21T09:05:16Z","message":"Skipping finding due to 'gitleaks:allow' signature"} === RUN TestDetect/simple_-_tmp.go#01 {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","finding":"AKIALALEMEL33243OKIA","time":"2024-12-21T09:05:16Z","message":"Skipping finding due to 'gitleaks:allow' signature"} === RUN TestDetect/simple_-_tmp.go#02 === RUN TestDetect/escaped_character_group_-_tmp.go === RUN TestDetect/simple_-_tmp.go#03 === RUN TestDetect/simple_-_tmp.sh === RUN TestDetect/simple_-_tmp.sh#01 === RUN TestDetect/simple_-_tmp.sh#02 === RUN TestDetect/allow_aws_re_-_tmp.go {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","finding":"AKIALALEMEL33243OLIA","condition":"OR","regex-allowed":true,"contains-stopword":false,"time":"2024-12-21T09:05:16Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetect/allow_path_-_tmp.go {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","condition":"OR","commit-allowed":false,"path-allowed":false,"time":"2024-12-21T09:05:16Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetect/allow_commit_-_tmp.go {"level":"trace","rule-id":"aws-access-key","commit":"allowthiscommit","path":"tmp.go","condition":"OR","commit-allowed":true,"path-allowed":true,"time":"2024-12-21T09:05:16Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetect/entropy_group_-_tmp.go === RUN TestDetect/generic_with_py_path_-_tmp.go === RUN TestDetect/generic_with_py_path_-_tmp.py === RUN TestDetect/path_only_-_tmp.py === RUN TestDetect/bad_entropy_group_-_tmp.go === RUN TestDetect/simple_-_../testdata/config/simple.toml === RUN TestDetect/allow_global_aws_re_-_tmp.go {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","finding":"AKIALALEMEL33243OLIA","time":"2024-12-21T09:05:16Z","message":"Skipping finding due to global allowlist regex"} === RUN TestDetect/generic_with_py_path_-_tmp.py#01 {"level":"trace","rule-id":"generic-api-key","path":"tmp.py","finding":"load2523fb86ed64c836a979cf8465fbd436378c653c1db38f9ae87bc62a6fd5","time":"2024-12-21T09:05:16Z","message":"Skipping finding due to global allowlist regex"} === RUN TestDetect/path_only_-_.baseline.json === RUN TestDetect/base64_encoded_-_tmp.go {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:180, relativeEnd:372, absoluteStart:180, absoluteEnd:372, decodedStart:180, decodedEnd:324, decodedValue:\"-----BEGIN PRIVATE KEY-----\\n435f/bRUBHrbHqLY/xS3I7Oth+8rgG+0tBwfMcbk05Sgxq6QUzSYIQAop+WvsTwk2sR+C38g0Mnb\\nu+QDkg0spw==\\n-----END PRIVATE KEY-----\\n\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:429, relativeEnd:465, absoluteStart:429, absoluteEnd:465, decodedStart:381, decodedEnd:408, decodedValue:\"{\\\"alg\\\":\\\"HS256\\\",\\\"typ\\\":\\\"JWT\\\"}\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:466, relativeEnd:772, absoluteStart:466, absoluteEnd:772, decodedStart:409, decodedEnd:638, decodedValue:\"{\\\"sub\\\":\\\"1234567890\\\",\\\"config\\\":\\\"W2RlZmF1bHRdCnJlZ2lvbiA9IHVzLWVhc3QtMgphd3NfYWNjZXNzX2tleV9pZCA9IEFTSUFJT1NGT0ROTjdMWE0xMEpJCmF3c19zZWNyZXRfYWNjZXNzX2tleSA9IHdKYWxyWFV0bkZFTUkvSzdNREVORy9iUHhSZmlDWUVGVUNEbEVYMUEK\\\",\\\"iat\\\":1516239022}\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:967, relativeEnd:983, absoluteStart:967, absoluteEnd:983, decodedStart:833, decodedEnd:845, decodedValue:\"small-secret\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:1071, relativeEnd:1099, absoluteStart:1071, absoluteEnd:1099, decodedStart:933, decodedEnd:953, decodedValue:\"decoded-secret-value\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:1126, relativeEnd:1174, absoluteStart:1126, absoluteEnd:1174, decodedStart:980, decodedEnd:1015, decodedValue:\"secret=ZGVjb2RlZC1zZWNyZXQtdmFsdWU=\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(0xa5eaed0), relativeStart:439, relativeEnd:619, absoluteStart:466, absoluteEnd:772, decodedStart:439, decodedEnd:574, decodedValue:\"[default]\\nregion = us-east-2\\naws_access_key_id = ASIAIOSFODNN7LXM10JI\\naws_secret_access_key = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEFUCDlEX1A\\n\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(0xa5eb020), relativeStart:987, relativeEnd:1015, absoluteStart:1126, absoluteEnd:1174, decodedStart:942, decodedEnd:962, decodedValue:\"decoded-secret-value\", encoding:\"base64\"}"} --- PASS: TestDetect (0.03s) --- PASS: TestDetect/simple_-_tmp.go (0.00s) --- PASS: TestDetect/simple_-_tmp.go#01 (0.00s) --- PASS: TestDetect/simple_-_tmp.go#02 (0.00s) --- PASS: TestDetect/escaped_character_group_-_tmp.go (0.00s) --- PASS: TestDetect/simple_-_tmp.go#03 (0.00s) --- PASS: TestDetect/simple_-_tmp.sh (0.00s) --- PASS: TestDetect/simple_-_tmp.sh#01 (0.00s) --- PASS: TestDetect/simple_-_tmp.sh#02 (0.00s) --- PASS: TestDetect/allow_aws_re_-_tmp.go (0.00s) --- PASS: TestDetect/allow_path_-_tmp.go (0.00s) --- PASS: TestDetect/allow_commit_-_tmp.go (0.00s) --- PASS: TestDetect/entropy_group_-_tmp.go (0.00s) --- PASS: TestDetect/generic_with_py_path_-_tmp.go (0.00s) --- PASS: TestDetect/generic_with_py_path_-_tmp.py (0.00s) --- PASS: TestDetect/path_only_-_tmp.py (0.00s) --- PASS: TestDetect/bad_entropy_group_-_tmp.go (0.00s) --- PASS: TestDetect/simple_-_../testdata/config/simple.toml (0.01s) --- PASS: TestDetect/allow_global_aws_re_-_tmp.go (0.00s) --- PASS: TestDetect/generic_with_py_path_-_tmp.py#01 (0.00s) --- PASS: TestDetect/path_only_-_.baseline.json (0.00s) --- PASS: TestDetect/base64_encoded_-_tmp.go (0.00s) === RUN TestFromGit {"level":"debug","time":"2024-12-21T09:05:16Z","message":"found .gitleaksignore file: ../testdata/repos/small/.gitleaksignore"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --full-history --all"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"ignoring finding with Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreCommit.go:aws-access-key:20"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"ignoring finding with global Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreGlobal.go:aws-access-key:20"} {"level":"info","time":"2024-12-21T09:05:16Z","message":"8 commits scanned."} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"Note: this number might be smaller than expected due to commits with no additions"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"found .gitleaksignore file: ../testdata/repos/small/.gitleaksignore"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --all foo..."} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"ignoring finding with Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreCommit.go:aws-access-key:20"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"ignoring finding with global Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreGlobal.go:aws-access-key:20"} {"level":"info","time":"2024-12-21T09:05:16Z","message":"3 commits scanned."} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"Note: this number might be smaller than expected due to commits with no additions"} --- PASS: TestFromGit (0.01s) === RUN TestFromGitStaged {"level":"debug","time":"2024-12-21T09:05:16Z","message":"found .gitleaksignore file: ../testdata/repos/staged/.gitleaksignore"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"executing: /usr/bin/git -C ../testdata/repos/staged diff -U0 --no-ext-diff --staged ."} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"ignoring finding with global Fingerprint api/api.go:aws-access-key:6"} {"level":"info","time":"2024-12-21T09:05:16Z","message":"1 commits scanned."} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"Note: this number might be smaller than expected due to commits with no additions"} --- PASS: TestFromGitStaged (0.01s) === RUN TestFromFiles {"level":"debug","time":"2024-12-21T09:05:16Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/.gitleaksignore","time":"2024-12-21T09:05:16Z","message":"Scanning path"} {"level":"trace","path":"../testdata/repos/nogit/main.go","time":"2024-12-21T09:05:16Z","message":"Scanning path"} {"level":"trace","path":"../testdata/repos/nogit/.env.prod","time":"2024-12-21T09:05:16Z","message":"Scanning path"} {"level":"trace","path":"../testdata/repos/nogit/api.go","time":"2024-12-21T09:05:16Z","message":"Scanning path"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"ignoring finding with global Fingerprint ../testdata/repos/nogit/api.go:aws-access-key:20"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/main.go","time":"2024-12-21T09:05:16Z","message":"Scanning path"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/api.go","time":"2024-12-21T09:05:16Z","message":"Scanning path"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"ignoring finding with global Fingerprint ../testdata/repos/nogit/api.go:aws-access-key:20"} {"level":"debug","time":"2024-12-21T09:05:16Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/.env.prod","time":"2024-12-21T09:05:16Z","message":"Scanning path"} --- PASS: TestFromFiles (0.01s) === RUN TestDetectWithSymlinks {"level":"trace","path":"../testdata/repos/symlinks/source_file/id_ed25519","time":"2024-12-21T09:05:16Z","message":"Scanning path"} --- PASS: TestDetectWithSymlinks (0.00s) === RUN TestDetectRuleAllowlist === RUN TestDetectRuleAllowlist/regex_OR_stopword_allowed {"level":"trace","rule-id":"test-rule","path":"","finding":"Summer2024!","condition":"OR","regex-allowed":true,"contains-stopword":false,"time":"2024-12-21T09:05:16Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/commit_OR_path_allowed {"level":"trace","rule-id":"test-rule","commit":"41edf1f7f612199f401ccfc3144c2ebd0d7aeb48","path":"package-lock.json","condition":"OR","commit-allowed":false,"path-allowed":false,"time":"2024-12-21T09:05:16Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetectRuleAllowlist/stopwords_allowed {"level":"trace","rule-id":"test-rule","path":"","finding":"Summer2024!","condition":"OR","regex-allowed":false,"contains-stopword":true,"time":"2024-12-21T09:05:16Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/regex_AND_stopword_allowed {"level":"trace","rule-id":"test-rule","path":"","finding":"Summer2024!","condition":"AND","regex-allowed":true,"contains-stopword":true,"time":"2024-12-21T09:05:16Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed === RUN TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_other_conditions === RUN TestDetectRuleAllowlist/commit_AND_path_allowed {"level":"trace","rule-id":"test-rule","commit":"41edf1f7f612199f401ccfc3144c2ebd0d7aeb48","path":"package-lock.json","condition":"AND","commit-allowed":true,"path-allowed":true,"time":"2024-12-21T09:05:16Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetectRuleAllowlist/commit_AND_path_NOT_allowed === RUN TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_non-git,_other_conditions === RUN TestDetectRuleAllowlist/commit_allowed {"level":"trace","rule-id":"test-rule","commit":"41edf1f7f612199f401ccfc3144c2ebd0d7aeb48","path":"","condition":"OR","commit-allowed":true,"path-allowed":true,"time":"2024-12-21T09:05:16Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetectRuleAllowlist/regex_allowed {"level":"trace","rule-id":"test-rule","path":"","finding":"Summer2024!","condition":"OR","regex-allowed":true,"contains-stopword":false,"time":"2024-12-21T09:05:16Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/path_allowed {"level":"trace","rule-id":"test-rule","path":"package-lock.json","condition":"OR","commit-allowed":false,"path-allowed":false,"time":"2024-12-21T09:05:16Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetectRuleAllowlist/commit_AND_path_NOT_allowed_-_other_conditions === RUN TestDetectRuleAllowlist/regex_AND_stopword_allowed_-_other_conditions {"level":"trace","rule-id":"test-rule","commit":"41edf1f7f612199f401ccfc3144c2ebd0d7aeb48","path":"config.js","finding":"Summer2024!","condition":"AND","regex-allowed":true,"contains-stopword":true,"time":"2024-12-21T09:05:16Z","message":"Skipping finding due to rule allowlist"} --- PASS: TestDetectRuleAllowlist (0.45s) --- PASS: TestDetectRuleAllowlist/regex_OR_stopword_allowed (0.03s) --- PASS: TestDetectRuleAllowlist/commit_OR_path_allowed (0.03s) --- PASS: TestDetectRuleAllowlist/stopwords_allowed (0.03s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_allowed (0.03s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed (0.04s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_other_conditions (0.04s) --- PASS: TestDetectRuleAllowlist/commit_AND_path_allowed (0.03s) --- PASS: TestDetectRuleAllowlist/commit_AND_path_NOT_allowed (0.03s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_non-git,_other_conditions (0.03s) --- PASS: TestDetectRuleAllowlist/commit_allowed (0.03s) --- PASS: TestDetectRuleAllowlist/regex_allowed (0.03s) --- PASS: TestDetectRuleAllowlist/path_allowed (0.03s) --- PASS: TestDetectRuleAllowlist/commit_AND_path_NOT_allowed_-_other_conditions (0.03s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_allowed_-_other_conditions (0.05s) === RUN TestGetLocation --- PASS: TestGetLocation (0.00s) === RUN TestDetectReader === RUN TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_nil_error === RUN TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_io.EOF_error --- PASS: TestDetectReader (0.07s) --- PASS: TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_nil_error (0.03s) --- PASS: TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_io.EOF_error (0.04s) PASS ok github.com/zricethezav/gitleaks/v8/detect 0.660s === RUN TestWriteCSV === RUN TestWriteCSV/simple === RUN TestWriteCSV/empty --- PASS: TestWriteCSV (0.00s) --- PASS: TestWriteCSV/simple (0.00s) --- PASS: TestWriteCSV/empty (0.00s) === RUN TestRedact --- PASS: TestRedact (0.00s) === RUN TestMask === RUN TestMask/normal_secret === RUN TestMask/empty_secret === RUN TestMask/short_secret --- PASS: TestMask (0.00s) --- PASS: TestMask/normal_secret (0.00s) --- PASS: TestMask/empty_secret (0.00s) --- PASS: TestMask/short_secret (0.00s) === RUN TestMaskSecret === RUN TestMaskSecret/normal_masking === RUN TestMaskSecret/high_masking === RUN TestMaskSecret/low_masking === RUN TestMaskSecret/invalid_masking --- PASS: TestMaskSecret (0.00s) --- PASS: TestMaskSecret/normal_masking (0.00s) --- PASS: TestMaskSecret/high_masking (0.00s) --- PASS: TestMaskSecret/low_masking (0.00s) --- PASS: TestMaskSecret/invalid_masking (0.00s) === RUN TestWriteJSON === RUN TestWriteJSON/simple === RUN TestWriteJSON/empty --- PASS: TestWriteJSON (0.00s) --- PASS: TestWriteJSON/simple (0.00s) --- PASS: TestWriteJSON/empty (0.00s) === RUN TestWriteJSONExtra --- PASS: TestWriteJSONExtra (0.00s) === RUN TestWriteJunit --- PASS: TestWriteJunit (0.00s) === RUN TestReport === RUN TestReport/json === RUN TestReport/.json === RUN TestReport/.jsonj === RUN TestReport/.csv === RUN TestReport/csv === RUN TestReport/CSV === RUN TestReport/.xml === RUN TestReport/junit --- PASS: TestReport (0.00s) --- PASS: TestReport/json (0.00s) --- PASS: TestReport/.json (0.00s) --- PASS: TestReport/.jsonj (0.00s) --- PASS: TestReport/.csv (0.00s) --- PASS: TestReport/csv (0.00s) --- PASS: TestReport/CSV (0.00s) --- PASS: TestReport/.xml (0.00s) --- PASS: TestReport/junit (0.00s) === RUN TestWriteSarif === RUN TestWriteSarif/simple --- PASS: TestWriteSarif (0.00s) --- PASS: TestWriteSarif/simple (0.00s) PASS ok github.com/zricethezav/gitleaks/v8/report 0.010s testing: warning: no tests to run PASS ok github.com/zricethezav/gitleaks/v8/sources 0.003s [no tests to run] + exit 0 Processing files: gitleaks-8.21.2-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.41608 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gitleaks-8.21.2 + DOCDIR=/usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + export DOCDIR + /bin/mkdir -p /usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + cp -prL CONTRIBUTING.md LICENSE README.md USERS.md scripts/pre-commit.py /usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + chmod -R go-w /usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + chmod -R a+rX /usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IIeUT2 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ff5hFM find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.34), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.B0EjqM Creating gitleaks-debuginfo package Processing files: gitleaks-debuginfo-8.21.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0dI09v find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cmRcam find-requires: running scripts (debuginfo) Requires: gitleaks = 8.21.2-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6) Adding to gitleaks-debuginfo a strict dependency on gitleaks Wrote: /usr/src/RPM/RPMS/i586/gitleaks-8.21.2-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/gitleaks-debuginfo-8.21.2-alt1.i586.rpm (w2.lzdio) 103.52user 22.88system 0:35.72elapsed 353%CPU (0avgtext+0avgdata 138240maxresident)k 0inputs+0outputs (0major+3356283minor)pagefaults 0swaps 3.33user 2.79system 0:49.79elapsed 12%CPU (0avgtext+0avgdata 129752maxresident)k 0inputs+0outputs (0major+229840minor)pagefaults 0swaps --- gitleaks-8.21.2-alt1.i586.rpm.repo 2024-12-04 01:21:03.000000000 +0000 +++ gitleaks-8.21.2-alt1.i586.rpm.hasher 2024-12-21 09:05:24.705332496 +0000 @@ -21,3 +21,3 @@ Provides: gitleaks = 8.21.2-alt1:sisyphus+364025.300.3.1 -File: /usr/bin/gitleaks 100755 root:root 65e145121e423859df83dfeea3ac1f1c +File: /usr/bin/gitleaks 100755 root:root a60022fb0872704717b7ad0f852da47f File: /usr/share/bash-completion/completions/gitleaks 100644 root:root 46336db6e2f49713ec488b7b300bff0a @@ -31,2 +31,2 @@ File: /usr/share/zsh/site-functions/_gitleaks 100644 root:root 7bbcd08047f7a95e7607dc96bc6179a0 -RPMIdentity: 9229df032314cb5bd208edc1e6f845fcab6a6cf1db95daade5c75cf22bd0554cb984f077e2ce0997440c491c0a204cd9e36e673b2aa0a95c821a2cf75651dee0 +RPMIdentity: ba7f12d809b5b7e7811fa07bbdee92338b18966a22c2f58d336cc119a14e672ffed6013a01666fcdf9d07e9709e504eb58c6973f5b07cd83cd874ed0b52bcdd1 --- gitleaks-debuginfo-8.21.2-alt1.i586.rpm.repo 2024-12-04 01:21:03.000000000 +0000 +++ gitleaks-debuginfo-8.21.2-alt1.i586.rpm.hasher 2024-12-21 09:05:24.817334502 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/b9 40755 root:root -/usr/lib/debug/.build-id/b9/869cf2ee3b719b3aa373cfdc0ea13c81924196 120777 root:root ../../../../bin/gitleaks -/usr/lib/debug/.build-id/b9/869cf2ee3b719b3aa373cfdc0ea13c81924196.debug 120777 root:root ../../usr/bin/gitleaks.debug +/usr/lib/debug/.build-id/a8 40755 root:root +/usr/lib/debug/.build-id/a8/d9529418ad2528ef39a6548484dbe6c70df203 120777 root:root ../../../../bin/gitleaks +/usr/lib/debug/.build-id/a8/d9529418ad2528ef39a6548484dbe6c70df203.debug 120777 root:root ../../usr/bin/gitleaks.debug /usr/lib/debug/usr/bin/gitleaks.debug 100644 root:root @@ -423,6 +423,6 @@ Provides: gitleaks-debuginfo = 8.21.2-alt1:sisyphus+364025.300.3.1 -File: /usr/lib/debug/.build-id/b9 40755 root:root -File: /usr/lib/debug/.build-id/b9/869cf2ee3b719b3aa373cfdc0ea13c81924196 120777 root:root ../../../../bin/gitleaks -File: /usr/lib/debug/.build-id/b9/869cf2ee3b719b3aa373cfdc0ea13c81924196.debug 120777 root:root ../../usr/bin/gitleaks.debug -File: /usr/lib/debug/usr/bin/gitleaks.debug 100644 root:root 246a18df7ba50f76cbad5bd9901462e5 +File: /usr/lib/debug/.build-id/a8 40755 root:root +File: /usr/lib/debug/.build-id/a8/d9529418ad2528ef39a6548484dbe6c70df203 120777 root:root ../../../../bin/gitleaks +File: /usr/lib/debug/.build-id/a8/d9529418ad2528ef39a6548484dbe6c70df203.debug 120777 root:root ../../usr/bin/gitleaks.debug +File: /usr/lib/debug/usr/bin/gitleaks.debug 100644 root:root e36ef6c68c316a5b8bb67f54e6060224 File: /usr/src/debug/gitleaks-8.21.2 40755 root:root @@ -841,2 +841,2 @@ File: /usr/src/debug/gitleaks-8.21.2/vendor/gopkg.in/yaml.v2/yamlprivateh.go 100644 root:root e5169265c37ec1c5bdcc9beb50f036cc -RPMIdentity: addf93634161ee8ac58573364ffd81a8cf07aae1a5e69ea076ce6907b2f516fbdc003b8a7148c6d46ac1f4f52ca3ebffaa49ffbcd34282d9ce567508f2b0fb94 +RPMIdentity: 8d854d4761710aecf303bd38d75f3c20ea90608b399e62213c3690507ec920eba4646ff863e80d7f8810b8997cc833b90d3adf15567b2dde0fde6afba4147219