Introduction
The Trusted Platform Module (TPM) is a specialized security microchip, typically embedded in an edge device’s motherboard, that provides hardware-based cryptographic services. EVE-OS (Edge Virtualization Engine) uses the TPM to protect the vault encryption key, establish measured boot integrity, and support remote attestation. These three mechanisms work together to protect node data even when an attacker has physical access to the device.How It Works
Supported TPM hardware
EVE-OS requires a TPM 2.0 implementation that provides a SHA-256 PCR bank. Both discrete TPM chips and firmware TPMs (such as Intel PTT or AMD fTPM) qualify, regardless of vendor. TPM 1.2 devices are not supported. For the strongest protection, choose hardware whose firmware is not affected by CVE-2018-6622, which allows PCR values to be reset after an S3 sleep state.Measured boot
Measured boot is a boot sequence starting from a root of trust for measurement (RTM, typically the BIOS or Intel Boot Guard if available) that cryptographically measures each component of the boot process before it executes. These measurements are stored in the TPM’s Platform Configuration Registers (PCRs). A PCR is a memory register inside the TPM that stores the output of a hash algorithm. Measurements are created by computing a hash of each component that affects the boot process, then extending the current PCR value with the new hash:- PCRs are not resettable or directly writable at runtime. Only a power cycle and re-execution of the RTM can reset them.
- The extend-only operation means a malicious actor cannot inject a known-good state into PCRs at an arbitrary point in the boot sequence.

pcrs block shows the resulting hash values for each algorithm across the PCR indexes measured on this particular device. Depending on the firmware and platform, additional indexes in the 0–15 range can also carry measurements.
Vault key protection (secret sealing)
EVE-OS encrypts user data at rest using a vault key. The TPM protects this key through PCR binding. The TPM seals the key against the current PCR values so that it can only be unsealed if the device boots to the same known-good state. The vault key generation and sealing sequence when a node is onboarded:- Generate a random key for the vault.
- If a SHA-256 PCR bank is available, seal the key in the TPM bound to the PCR indexes in the sealing policy. The default policy covers PCR indexes 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, and 14. PCR 5 is excluded because it measures the GPT partition table, which EVE-OS modifies on every A/B base image update. PCR 15 is excluded because it is reserved for OS or user-defined measurements. You can change the selection per node with the Flexible PCR Policy.
- If a SHA-256 PCR bank is not available, store the key in TPM non-volatile memory with no PCR binding.
- Encrypt the vault key using a TPM-unique key (Key Encryption Key, or KEK) and send it as a backup to Edge Infrastructure Services.
- Send a quote to Edge Infrastructure Services containing the current PCR values (see the following Remote attestation section).
Remote attestation
Remote attestation is a cryptographically secure process that allows Edge Infrastructure Services to verify that a node booted to a known-good state. EVE-OS performs a Quote operation: the TPM signs the current PCR values (always PCRs 0–15 in the SHA-256 bank) plus a nonce provided by Edge Infrastructure Services. Edge Infrastructure Services verifies the signature using the device’s attestation key public certificate, checks that the signed nonce is fresh, and compares the PCR values against the PCR template it holds for that device. Remote attestation is used primarily after EVE-OS updates. Since an update changes the PCR values, the vault key cannot be unsealed locally after the update. The device requests the backup vault key from Edge Infrastructure Services by sending a new quote. If the attestation succeeds and the new PCR values match the expected post-update template, Edge Infrastructure Services returns the encrypted backup key. The device decrypts the key using its TPM and reseals it to the new PCR values. Attestation policy and security implications: When the attestation policy is set to enforce mode, a device that fails the PCR check receives no backup key from Edge Infrastructure Services. This means a device running tampered or unauthorized software cannot unlock its vault, even if it can reach Edge Infrastructure Services. When the attestation policy is not in enforce mode, a device with modified PCR values can still request and receive the backup key, which weakens the security guarantee. If the vault remains inaccessible beyond the configured cutoff (thetimer.vault.ready.cutoff property, 300 seconds by default), EVE-OS reboots the node or places it in maintenance mode so that the condition is visible and recoverable.
Key Benefits
- Physical theft protection: If an attacker steals the storage device and moves it to another machine, the vault remains encrypted. The TPM-sealed key is bound to the original device’s PCRs and cannot be unsealed on different hardware.
- Tampered boot detection: If an attacker boots the device with malicious software, the measured boot process produces different PCR values. The TPM refuses to unseal the vault key, keeping user data inaccessible.
- Cloud-enforced attestation: When the attestation policy is set to enforce mode in Edge Infrastructure Services, a device that fails the PCR check will not receive the backup vault key, preventing access even if an attacker manages to boot a tampered system.
- Automatic key recovery after updates: EVE-OS updates change PCR values, but the remote attestation mechanism handles key recovery transparently without manual intervention.
Security Levels
What to Configure
- Measured boot is automatic when a TPM is present. No configuration is required.
- Ensure your edge device has a TPM with SHA-256 support for maximum security.
- Configure an attestation policy in your project. When set to enforce, Edge Infrastructure Services will not send the backup vault key to a device that fails attestation. See Configure Project Policies.
Next Steps
Host Platform Configuration (PCR 1) Interpretation Guide
A full list of events measured into PCR 1.
TPM PCR Index Security Implications
A full reference for all PCR indexes used by EVE-OS.
Remote Attestation Overview
How EVE-OS validates node integrity using the TPM.