package
0.0.0-20240723192418-397b19c8a77e
Repository: https://github.com/snapcore/secboot.git
Documentation: pkg.go.dev
# Functions
IsAbsoluteAgentLaunch returns true if the supplied event corresponds to the launch of an application that is associated with the Absolute (formerly Computrace) endpoint management firmware.
# Constants
BootManagerCodePCR is the Boot Manager Code and Boot Attempts PCR.
DetectVirtModeAll detects for all types of virtualization.
DetectVirtModeContainer detects for container types of virtualization.
DetectVirtModeVM detects for fully virtualized types of environments.
DriversAndAppsPCR is the UEFI Drivers and UEFI Applications PCR.
HostPlatformConfigPCR is the Host Platform Configuration PCR.
PlatformFirmarePCR is the SRTM, POST BIOS, and Embedded Drivers PCR.
SecureBootPolicyPCR is the Secure Boot Policy Measurements PCR.
VirtModeNone corresponds to no virtualization.
# Variables
DefaultEnv corresponds to the environment associated with the host machine.
ErrNoDeviceAttribute is returned from SysfsDevice.Attribute if the supplied attribute does not exist.
ErrNoKernelMSRSupport is returned from HostEnvironmentAMD64.ReadMSRs if there is no support for reading MSRs.
ErrNoMSRSupport is returned from HostEnvironmentAMD64.ReadMSRs if there is no MSR support or the specified MSR cannot be read.
ErrNotAMD64Host is returned from HostEnvironment.AMD64 on environments that are not AMD64.
ErrNoTPM2Device is returned from HostEnvironment.TPMDevice if no TPM2 device is available.
MSUefiCA2011 corresponds to the 2011 Microsoft UEFI CA.
MSUefiCA2023 corresponds to the 2023 Microsoft UEFI CA, which will eventually replace the 2011 CA.
# Structs
SecureBootAuthorityIdentity corresponds to the identify of a secure boot authority.
# Interfaces
HostEnvironment is an interface that abstracts out a host environment, so that consumers of the API can provide ways to mock parts of an environment.
HostEnvironmentAMD64 is an interface that abstracts out a host environment specific to AMD64 platforms.
HostEnvironmentEFI is an interface that abstracts out an EFI environment, so that consumers of the API can provide a custom mechanism to read EFI variables or parse the TCG event log.
No description provided by the author
SysfsDevice corresponds to a device in the sysfs tree.
VariableSet corresponds to a set of EFI variables.
# Type aliases
DetectVirtMode controls what type of virtualization to test for.
No description provided by the author