Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Latest commit

 

History

History
16 lines (10 loc) · 968 Bytes

tpm.md

File metadata and controls

16 lines (10 loc) · 968 Bytes

rkt and the Trusted Platform Module

rkt supports measuring container state and configuration into the Trusted Platform Module (TPM) event log. Enable this functionality by building rkt with the --enable-tpm=yes option to ./configure. rkt accesses the TPM via the tpmd executable available from the go-tspi project. This tpmd is expected to listen on port 12041.

Events are logged to PCR 15, with event type 0x1000. Each event contains the following data:

  1. The hash of the container root filesystem
  2. The hash of the contents of the container manifest data
  3. The hash of the arguments passed to stage1

This provides a cryptographically verifiable audit log of the containers executed on a node, including the configuration of each.