Re: [PATCH v2 1/3] ipe: add the .ipe policy keyring

From: Fan Wu

Date: Wed Nov 25 2026 - 14:20:06 EST


On Wed, Nov 4, 2026 at 4:10 PM Manuel Huber <manuelh@xxxxxxxxxx> wrote:
>
> My main angle is confidential Kata containers [1], a usage scenario in which (Kubernetes) workload containers run in trusted, confidential VMs on untrusted hosts. This scenario involves hardware TEEs, attestation, and fine-grained policing of host-side inputs. Without getting into too many details, having an untrusted host bake trust anchors into the guest on the fly would undermine the threat model. The proposed IPE keyring gives the trusted guest the ability to construct and sign the IPE policy independently. Also note, outside of the confidential scenario for Kata containers, various Kata containers flavors are very opinionated on the guest boot flow, so I cannot rely on UEFI being present. Having a self-contained mechanism independent of firmware certificate provisioning would therefore be highly preferrable.
>
> [1] https://confidentialcontainers.org/docs/architecture/

A vague reference to confidential containers "without getting into too
many details" doesn't really help here. Before we can consider merging
a new keyring into IPE, we need to understand the concrete threat
model and why the existing IPE keyrings cannot work for that setup.

Neither confidential containers nor an untrusted host is mentioned
anywhere in the v2 patches. The v2 commit message explicitly states
that using the builtin, secondary, or platform keyrings is technically
possible, and only argues against shipping a static private key in the
guest build artifacts.

On the two points in your reply:

1. In an untrusted-host VM, virtual devices and host-to-guest channels
are still provided by the host. How does the guest verify that
host-supplied inputs (such as the dm-verity root hashes of dynamically
attached disks) haven't been tampered with or forged by the host?
2. For the non-confidential Kata case, what are the concerns with
using UEFI? Without UEFI, what boot verification method do those VMs
use, or are they not protected during boot?

Fan