]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vmspawn: deliver credentials via initrd cpio under SEV-SNP (#42272)
authorLennart Poettering <lennart@amutable.com>
Thu, 25 Jun 2026 20:08:08 +0000 (22:08 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Jun 2026 20:08:08 +0000 (22:08 +0200)
Re-enables `--set-credential=` / `--load-credential=` under
`--coco=sev-snp` by packaging credentials into a cpio appended to the
initrd, mirroring what `systemd-stub` does for ESP-sourced credentials.
The initrd is covered by the launch measurement via `kernel-hashes=on`,
so the credentials are too.

Tested end-to-end on an SNP-capable host: credentials passed via
`--set-credential=` land in `/run/credentials/@encrypted/` inside the
guest.

1  2 
src/shared/meson.build

Simple merge