Inspired by phoenix-spf. spf is short for "SGX page fault" (measurement tool).
To build and run the secret-spf tool locally, follow these steps:
cargo build --release
sudo ./target/release/secret-spfIf you need to target a system with a different libc version than the one available locally, you can use Docker for building the project. This method ensures compatibility with different system environments.
Make sure you have cargo-make installed:
cargo install cargo-makeTo build the project using Docker, run the following command:
cargo make docker-build- Ubuntu 20.04 (Focal Fossa): Use the rust:bullseye Docker image.
- Ubuntu 22.04 (Jammy Jellyfish): Use the rust:bookworm Docker image.
These images ensure that your build is compatible with the specified versions of glibc.