
Inspect FMSPC and platform type

These values are used to fetch the correct TCB collateral for SGX and TDX platforms through the DCAP Dashboard:
FMSPC: Family-Model-Stepping-Platform-Custom SKU identifier. This 12-character hex code is used to fetch the correct TCB (Trusted Computing Base) info for your platform.
Platform Type: Indicates which hardware version you're using. Common values include SGX v3, SGX v4, or TDX v4.
How to Use
Supported Environments
Your environment must support Intel SGX or TDX. The following configurations are supported:
GCP TDX configurations: c3-standard-* family (Check TDX VM instances)
Azure instance types: DCesv5, ECesv5 series with Ubuntu 22.04/24.04 Confidential VM
Self-hosted or other CSPs:
Ensure VM is running under the KVM hypervisor
Linux kernel version 6.7 or later
Expose ConfigFS at
/sys/kernel/config/tsm/report. It must be possible to create a temporary directory under that path:
Prerequisites
Either Docker installed,
OR, Rust + system packages for native builds:
Install Rust and select the default toolchain as nightly:
Retrieve FMSPC using Docker
1. Clone the repo
2. Build the Docker image
This will install all dependencies and compile the available tools into a Docker image.
3. Run the container
This runs the fmspc binary by default, which prints the 12-character FMSPC value for your current platform.
Sample output:
If needed, you can override the default entrypoint using --entrypoint <sample binary>
Inspect DCAP quote for platform type
You must provide a valid quote file. This command does not handle quote generation.
1: Build the inspect binary
inspect binary2. Run it with your quote file
3. Review the output
This runs the inspect example, which parses the quote and prints:
Debug tools
These are additional binaries that may be useful for debugging or manual testing during development.
attestation: Generates and verifies a TDX report.
fmspc: Fetches the FMSPC in a TDX-enabled VM.
inspect: Parses a SGX/TDX DCAP quote file to print the platform type, version, and FMSPC.
Common errors
No such device or address
ConfigFS may not be available. Confirm your VM supports TDX and has /sys/kernel/config/tsm/report
Permission denied
Use sudo. Make sure you have access to /dev/tpm0 and are in the correct groups
Group tss not found
Install tpm2-tss, or manually create the group
For a complete walkthrough, follow along on our GitHub.
Last updated
Was this helpful?