credential-digger icon indicating copy to clipboard operation
credential-digger copied to clipboard

Macbook M1|2|3 support

Open marcorosa opened this issue 3 years ago • 4 comments

At the current stage we are not supporting M1 (or M2) out-of-the-box. Some dependencies are not actually compatible (e.g., hyperscan). Moreover, also docker may have some architectural issues.

Initial steps to do:

  • verify hyperscan package ✅
  • verify hyperscan wrt #231 ✅
  • verify the other dependencies (most of all, tensorflow and related)
  • verify docker (is it supported or do we really need workarounds like export DOCKER_DEFAULT_PLATFORM=linux/amd64?)

After these verifications, we will identify the steps needed to support arm

marcorosa avatar Aug 04 '22 09:08 marcorosa

Update as of end of 2023 on this issue:

  • hyperscan package has received recent contributions that fixed several issues. Support to ARM architecture is in their roadmap now (yet, without any ETD).
  • Apple released M3. Once hyperscan supports ARM, we will have to test the tool also on M3

marcorosa avatar Nov 29 '23 10:11 marcorosa

A way to install Credential Digger on ARM has been successfully tested. See wiki here.

Missing dependencies to have a full integration instead of this workaround:

marcorosa avatar Mar 29 '24 15:03 marcorosa

Another option: play with pyproject.toml and provide two different requirements file (i.e., requirements.txt and requirements-arm.txt), but this will burden ourselves with the maintenance of 2 requirements files.

marcorosa avatar Apr 04 '24 08:04 marcorosa