Documentation ¶
Overview ¶
Package measure contains Go implementation of 'systemd-measure' command.
This implements TPM PCR emulation, UKI signature measurement, signing the measured values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSignedPCR ¶
func GenerateSignedPCR(sectionsData SectionsData, rsaKey RSAKey) (*tpm2internal.PCRData, error)
GenerateSignedPCR generates the PCR signed data for a given set of UKI file sections.
Types ¶
type SectionsData ¶
type SectionsData map[secureboot.Section]string
SectionsData holds a map of Section to file path to the corresponding section.
Click to show internal directories.
Click to hide internal directories.