Networking NVIDIA NVOS User Manual for InfiniBand Switches

TPM

TPM (Trusted Platform Module) is a hardware-based security technology that protects system integrity by securely storing cryptographic keys and measurements. It supports features such as secure boot, attestation, and encryption.

NVOS measures the boot chain into the SHA-384 bank of the TPM 2.0 platform configuration registers (PCRs). Each PCR records a specific stage of the boot process through extend operations:

  • PCR 0: Platform firmware (UEFI). The UEFI firmware measures it at power-on.

  • PCR 4: Boot loader chain, which includes the shim binary, the GRUB binary, and the kernel image. Each stage measures the next one: UEFI measures shim, shim measures GRUB, and GRUB measures the kernel.

  • PCR 7: Secure Boot policy, which includes the certificates used to verify the Secure Boot components. The UEFI firmware and shim measure it.

For the TPM commands, see TPM Commands.

TPM File Uploads

You can upload the following TPM files to a remote URL, for example, with SCP:

  • IAK.crt: the initial attestation key (IAK) certificate.

  • quotes.json: the TPM quote and its signature, Base64-encoded. This file is available after you generate a quote with nv action generate system security tpm.

  • event_log.bin: the TPM boot event log, described in the next section.

event_log.bin

event_log.bin is a binary export of the TPM event log that the system records during boot. It contains the chain of firmware and boot loader measurements that were extended into the TPM PCRs, so that an external verifier can reconstruct what was measured during boot for remote attestation, integrity verification, and security audits.

NVOS handles event_log.bin differently from the other two files:

  • NVOS reads IAK.crt and quotes.json from /host/tpm/. It generates event_log.bin at upload time by reading the BIOS event log from the kernel securityfs path /sys/kernel/security/tpm0/binary_bios_measurements.

  • NVOS stages the log temporarily in /run/nvue/tpm-upload/event_log.bin (root-only directory, mode 0600).

  • NVOS uploads the staged file to the remote URL (for example, with SCP) and then removes it from the staging directory.

Last updated: