SGX Detect Tool

SGX Detect Tool

To make the sgx-detect tool easily accessible to customers, the sgx-detect binary is made available for download on https://download.fortanix.com. The following platforms are supported:

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • CentOS 7/RHEL 7
  • CentOS 8/RHEL 8

Steps to Publish the Binary for a Platform

  1. Build the binary on a particular platform using the following commands.
    git clone https://github.com/fortanix/rust-sgx.git
    cd rust-sgx/sgxs-tools
    cargo build --bin sgx-detect --release
  2. Copy the binary to the S3 bucket.
    aws s3 cp rust-sgx/target/release/sgx-detect s3://aws-website-aptrepo-miyou/sgx-detect/${platform}/
    where ${platform} can be one of [ubuntu16.04, ubuntu18.04, ubuntu20.04, centos7, centos8]
  3. Test the binary.
    wget https://download.fortanix.com/sgx-detect/${platform}/sgx-detect
    chmod +x sgx-detect
    ./sgx-detect

Comments

Please sign in to leave a comment.

Was this article helpful?
0 out of 0 found this helpful