Package Details: trufflehog 3.86.1-1

Git Clone URL: https://aur.archlinux.org/trufflehog.git (read-only, click to copy)
Package Base: trufflehog
Description: Tool for finding secrets like private keys and credentials.
Upstream URL: https://github.com/trufflesecurity/trufflehog
Licenses: AGPL3
Provides: trufflehog
Submitter: eldios
Maintainer: dvb
Last Packager: dvb
Votes: 5
Popularity: 0.001813
First Submitted: 2018-05-23 18:30 (UTC)
Last Updated: 2024-12-12 09:28 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

INCO.aur commented on 2024-07-31 23:49 (UTC) (edited on 2024-08-01 00:52 (UTC) by INCO.aur)

EDIT: Already fixed, thank you!

There seems to be an issue with the current version, as for whatever reason the Github release tarball this time doesn't contain a 'v' in the filename:

    ==> Retrieving sources...
      -> Downloading trufflehog-3.80.4.tar.gz...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (22) The requested URL returned error: 404
    ==> ERROR: Failure while downloading https://github.com/trufflesecurity/trufflehog/archive/refs/tags/v3.80.4.tar.gz
        Aborting...
     -> error making: trufflehog-exit status 1
     -> Failed to install the following packages. Manual intervention is required:

This would be the correct URL afaik: https://github.com/trufflesecurity/trufflehog/archive/refs/tags/3.80.4.tar.gz

dvb commented on 2024-02-13 20:18 (UTC)

@BoBeR182: Thanks, the error was caused by the last change in /etc/makepkg.conf in conjunction with lto and has been fixed.

BoBeR182 commented on 2024-02-09 22:03 (UTC) (edited on 2024-02-09 22:04 (UTC) by BoBeR182)

go: downloading github.com/klauspost/cpuid/v2 v2.2.3
go: downloading github.com/apache/thrift v0.16.0
# github.com/trufflesecurity/trufflehog/v3
flag provided but not defined: -flto
usage: link [options] main.o
  -B note
        add an ELF NT_GNU_BUILD_ID note when using ELF; use "gobuildid" to generate it from the Go build ID
  -E entry
        set entry symbol name
  -H type
        set header type
  -I linker
        use linker as ELF dynamic linker
  -L directory
        add specified directory to library path
  -R quantum
        set address rounding quantum (default -1)
  -T int
        set the start address of text symbols (default -1)
  -V    print version and exit
  -X definition
        add string value definition of the form importpath.name=value
  -a    no-op (deprecated)
  -asan
        enable ASan interface
  -aslr
        enable ASLR for buildmode=c-shared on windows (default true)
  -benchmark string
        set to 'mem' or 'cpu' to enable phase benchmarking
  -benchmarkprofile base
        emit phase profiles to base_phase.{cpu,mem}prof
  -buildid id
        record id as Go toolchain build id
  -buildmode mode
        set build mode
  -c    dump call graph
  -capturehostobjs string
        capture host object files loaded during internal linking to specified dir
  -compressdwarf
        compress DWARF if possible (default true)
  -cpuprofile file
        write cpu profile to file
  -d    disable dynamic executable
  -debugnosplit
        dump nosplit call graph
  -debugtextsize int
        debug text section max size
  -debugtramp int
        debug trampolines
  -dumpdep
        dump symbol dependency graph
  -extar string
        archive program for buildmode=c-archive
  -extld linker
        use linker when linking in external mode
  -extldflags flags
        pass flags to external linker
  -f    ignore version mismatch
  -g    disable go package data checks
  -h    halt on error
  -importcfg file
        read import configuration from file
  -installsuffix suffix
        set package directory suffix
  -k symbol
        set field tracking symbol
  -libgcc string
        compiler support lib for internal linking; use "none" to disable
  -linkmode mode
        set link mode
  -linkshared
        link against installed Go shared libraries
  -memprofile file
        write memory profile to file
  -memprofilerate rate
        set runtime.MemProfileRate to rate
  -msan
        enable MSan interface
  -n    no-op (deprecated)
  -o file
        write output to file
  -pluginpath string
        full path name for plugin
  -pruneweakmap
        prune weak mapinit refs (default true)
  -r path
        set the ELF dynamic linker search path to dir1:dir2:...
  -race
        enable race detector
  -s    disable symbol table
  -strictdups int
        sanity check duplicate symbol contents during object file reading (1=warn 2=err).
  -tmpdir directory
        use directory for temporary files
  -v    print link trace
  -w    disable DWARF generation
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: trufflehog-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
trufflehog - exit status 4

weltio commented on 2023-02-04 17:00 (UTC)

==> Retrieving sources...
  -> Found trufflehog-3.26.0.tar.gz
==> Validating source files with sha512sums...
    trufflehog-3.26.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

Command 'makepkg --force' failed to execute.
:: Removing already installed dependencies for trufflehog:

BoBeR182 commented on 2022-01-05 18:45 (UTC) (edited on 2022-01-05 18:46 (UTC) by BoBeR182)

trufflehog dependency (trufflehogregexes=0.0.4) must be upgraded to 0.0.7