]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect-image: measure Verity before making use of them
authorLennart Poettering <lennart@amutable.com>
Wed, 11 Feb 2026 12:12:26 +0000 (13:12 +0100)
committerLennart Poettering <lennart@amutable.com>
Tue, 17 Feb 2026 21:00:14 +0000 (22:00 +0100)
commit32f405074a3aa221982ad92a7f61560b9f6a2b03
tree3f50b1187da529226e37afcced567a39332c630f
parent71ca7532de1cf56ed3c1360c8db3ea2bee0f9ace
dissect-image: measure Verity before making use of them

Let's hook up the dissection logic with the new measurement infra, and
issue the measurement after successfully unlock an image, but before
returning to the caller.

Note that ideally we'd do this measurement in the kernel, so that we can
place it after authenticating the root hash, but before activating the
medium. One day we should be able to do that via eBPF based on userspace
policies, but for now, this would require too much kernel rework.

Let's however make sure our measurements only contain data that the
kernel could know too, so that we hopefully can move these measurements
to the kernel without changing their formatting.
src/shared/dissect-image.c