Introduction
Remote attestation is a security mechanism that allows Edge Infrastructure Services to verify that a node is in an expected, untampered state. It uses cryptographically signed evidence of the node’s hardware configuration, firmware, operating system, and running applications, validated using the Trusted Platform Module (TPM) built into the device. Remote attestation is a core security feature of EVE-OS (Edge Virtualization Engine) and is part of the zero-trust security model built into Edge Infrastructure Services.Prerequisites
- A node with a TPM 2.0 implementation that provides a SHA-256 PCR bank. Discrete TPM chips and firmware TPMs both qualify. TPM 1.2 is not supported.
- A ZEDEDA enterprise with an attestation policy configured in the project.
- You have the SysAdmin role in your enterprise. See Manage Roles.
How It Works
The Trusted Platform Module (TPM)
The Trusted Platform Module (TPM) is a security component, implemented either as a discrete chip or in platform firmware, that performs cryptographic operations and stores keys in an isolated domain. The TPM cannot alter the system’s execution flow but plays a critical role in establishing trust. Key TPM functions used in remote attestation:- Cryptographic key generation and protection. Keys are created inside the TPM and never leave it in plaintext.
- Hardware authentication. The TPM proves the identity of the device to Edge Infrastructure Services.
- Sealed storage. Secrets can only be read back if the system is in the same state as when they were sealed.
- Remote attestation. Generating cryptographically signed evidence of the system’s state.
/persist/certs directory.
Measured boot
Measured boot is the process by which each layer of the boot sequence measures the next layer before it executes. Starting from firmware, each component (BIOS, bootloader, kernel) computes a hash of the next component and stores that hash in a Platform Configuration Register (PCR) in the TPM. This creates a chain of trust: if firmware is verified and trusted, firmware measures BIOS. If the BIOS measurements match expectations, BIOS is trusted. If EVE-OS is trustworthy, the application instances it launches are also trustworthy.Platform Configuration Registers (PCRs)
PCRs are memory locations in the TPM with special properties:- A PCR can only be extended (not overwritten). Extending adds a new hash value to the existing hash, producing a new combined value.
- The final PCR value captures the complete history of all measurements made in the same order.
- The result is deterministic. The same sequence of measurements always produces the same final value.
- PCR Extend: Measures each software layer and records the hash in the designated PCR.
- Seal: Encrypts a secret against the current PCR values. The secret can only be recovered if the PCR values are identical to when the sealing occurred. If the software state has changed, access is denied.

Attestation in Edge Infrastructure Services
Attestation can occur in two situations:- During onboarding as part of enrolling a new node into the enterprise.
- By policy enforcement after onboarding, whenever an attestation policy is applied to a project.
Attestation policy enforcement
When an attestation policy is enforced on a project, each attestation cycle follows these steps:- Edge Infrastructure Services sends a fresh nonce (a random, single-use value) to the node.
- The node asks the TPM for a quote: a statement of the current values of PCRs 0–15 in the SHA-256 bank, combined with the nonce and signed by the TPM’s attestation key. The node also sends the raw PCR values and the TPM event log so that Edge Infrastructure Services can trace how each value was built.
- Edge Infrastructure Services verifies the signature using the node’s attestation certificate, confirms the nonce matches, and compares each quoted PCR value against the PCR template it holds for the node.
- If the values match, Edge Infrastructure Services issues the node an integrity token and, if the node has requested it, returns the node’s encrypted vault key backup.
- The node decrypts the backup with its own TPM and re-seals the vault key to its current PCR values.
timer.vault.ready.cutoff interval (300 seconds by default), EVE-OS reboots the node or places it in maintenance mode so that the failure is visible and recoverable.

Re-attestation after node changes
Whenever a software layer changes (for example, after an EVE-OS version update) the PCR values change. The node can no longer unseal its vault key locally, so it requests the key backup from Edge Infrastructure Services, which triggers a new attestation cycle. If the new PCR values do not match the existing template, attestation fails and the node cannot unlock its vault. To recover the node, upload a new PCR template that matches the updated software state. Edge Infrastructure Services issues the integrity token and returns the key backup after the new values are verified.
Attestation failure
Attestation continues to fail until a user uploads a matching template. If tampering occurred, the new PCR values will not match any template, and the node remains without an integrity token and without its vault key until a matching template is provided. A mismatch on a single PCR does not always mean tampering. Some platforms measure volatile data into certain indexes, most often PCR 1. For how to tell a legitimate change from a suspicious one, and what to do about it, see Excluded PCRs: Disk-Key Sealing vs. Attestation Template.
Offline re-attestation
If a node is unreachable from Edge Infrastructure Services and a reboot is performed, the node unseals the vault key directly from its TPM, provided the PCR values in the sealing policy have not changed since the key was last sealed. This allows the node to unseal its disk and continue operating without an active connection to Edge Infrastructure Services.
Next Steps
EVE-OS Overview
Introduction to EVE-OS architecture, variants, and image types.
Overview of the Trusted Platform Module (TPM) in EVE-OS
How EVE-OS uses the TPM for hardware-anchored security.
LTS Policy
EVE-OS Long Term Support release schedule and end-of-life dates.
Manage PCR Templates
Upload and manage attestation templates.