Module sev::cached_chain

source ·
Expand description

Utilities for adhering to a cached SEV chain convention.

The search path for the SEV chain is:

  1. The path specified in the “SEV_CHAIN” environment variable (if present).
  2. $HOME/.cache/amd-sev/chain
  3. /var/cache/amd-sev/chain

An entire certificate chain can be created using the sevctl utility.

Functions§

  • Returns the path stored in the optional SEV_CHAIN environment variable.
  • Searches for and decodes an SEV certificate chain.
  • Returns the “user-level” search path for the SEV certificate chain ($HOME/.cache/amd-sev/chain).
  • Returns the list of search paths in the order that they will be searched for the SEV certificate chain.
  • Returns the “system-level” search path for the SEV certificate chain (/var/cache/amd-sev/chain).