Greg DiCristofaro ff60de914a attempt
2023-08-02 15:23:11 -04:00
..
2022-10-18 11:14:41 -04:00
2023-08-01 10:39:56 -04:00
2023-08-02 15:23:11 -04:00

Installing Snap

An Autopsy snap package file can be installed by running sudo snap install autopsy.snap --classic --dangerous. The --dangerous needs to be specified because the snap package isn't signed (see install modes for more information). Super-priveleged may need to be manually connected or the app can be installed with --devmode.

Generating The Snap Package

A snap package of Autopsy can be generated using the snapcraft.yml file. You will need snapcraft on your system and lxd works well for virtualization while building the snap package. Since snapcraft needs virtualization to create the snap package, your computer's hardware will need to support virtualization and any relevant settings will need to be enabled. From testing as of November 2022, VirtualBox and WSL are not good build environments. Once the development environment has been set up, a snap package can be built with this command: snapcraft --use-lxd --debug run from this directory.

Updating Versions for Snap

The version of Autopsy in the snapcraft.yml can be updated by calling version_update.py with a command like python version_update.py -s sleuthkit_release_tag -a autopsy_release_tag -v snapcraft_version_name. You will likely need to install the python dependencies in the requirements.txt with a command like: pip install -r requirements.txt.

The version of Autopsy can be updated manually by modifying fields relating to git repositories and commits in snapcraft.yml under parts.autopsy and parts.sleuthkit. Specifically source, source-branch, and source-tag. More information can be found here.