Skip to main content

"Signed, Sealed, and Delivered", with UKIs and composefs

UB4.136 | Day 2 | 10:30 - 11:00 | Speakers: Timothée Ravier, Allison Karlitskaya

"Signed, Sealed, and Delivered", with UKIs and composefs
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

Using composefs and fs-verity, we can link a UKI to a complete read only filesystem tree, guarenteeing that every byte of every file is verified on load. This is done, similar to Git, using only hashes. This means that the signature on the UKI effectively signs the whole tree.

With composefs, file content is split from the metadata which enables de-duplication at the file level. We can thus host any number of OS images on a single filesystem and there is no need to reserve space on the system in advance for each image. This frees us from fixed size disk image formats such as dm-verity which is used in a lot of image based systems.

We illustrate this architecture by building an OS image using an OCI container via the familiar Containerfile syntax, then pushing it to a container registry and finally deploying it on a system.

Attachments

Speakers

Timothée Ravier
Allison Karlitskaya

Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.