trufflesecurity / trufflehog

Find and verify secrets
https://trufflesecurity.com
GNU Affero General Public License v3.0
14.39k stars 1.57k forks source link

trufflehog arm64 SIGILL: illegal instruction #2997

Open Machou opened 2 weeks ago

Machou commented 2 weeks ago

TruffleHog Version

trufflehog_3.78.2_linux_arm64.tar.gz release 21 june 2024

Trace Output

Can't

Steps to Reproduce

  1. I download https://github.com/trufflesecurity/trufflehog/releases/download/v3.78.2/trufflehog_3.78.2_linux_arm64.tar.gz
  2. Extract
  3. chmox +x trufflehog
  4. ./trufflehog

I have this error :

https://termbin.com/nzmj

Environment

debian@debian ~/home [2]> dpkg --print-architecture
arm64

debian@debian ~/home [2]> cat /etc/debian_version
12.5

debian@debian ~/home [2]> file trufflehog
trufflehog: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=nAdtYCN6yY5c8rSKqf1I/l7xQb1Z9a5R2pqNVrQ-T/-weNZI2KMVMwyR4MSYsB/HdygVvsizbE1vggsMAqR, with debug_info, not stripped

I'm sorry if I don't go into more detail but I don't know what else to say because there's nothing more to say.

Hardware incompatibility:but i down Linux ARM64, and i'mon ARM64

Cross-compilation problems: i don't know

I have try with trufflehog_3.78.2_linux_amd64.tar.gz work perfectly.

edit:

same error with Docker:

docker run --rm -it -v "$PWD:/pwd" trufflesecurity/trufflehog:latest github --repo https://github.com/trufflesecurity/test_keys