-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Short summary of a discussion about the planned design for managing reference values in the operator.
The goal:
- Do not manage the reference values directly
- Store the values for the valid container images instead
- Re-computed as needed when the list of valid container images change
-
Container image for the OS will have the PCR value in a LABEL (org.coreos.pcrs or something else, to be determined)
-
CRD to store for each image seen in the cluster:
- image sha256sum / tag
- Date first seen
- PCR values (i.e. the label from the container above)
-
Use Rust OCI crate or skopeo to fetch the label
-
Watch CVO for new container versions & get the PCR values
-
Ask the library for the PCR value combination:
- Code does not exist yet in the library
- Pass all the container image PCR values & parts to the library to get the final reference values
- PCR4: Add a cli/lib verb to get the hashes for shim & grub/systemd-boot from a container image compute-pcrs#21
-
Inject those values in the trustee server
-
Container pull flow is a fallback:
Metadata
Metadata
Assignees
Labels
No labels