Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composefs fsverity should be configurable #2017

Open
cgwalters opened this issue Jul 12, 2024 · 2 comments
Open

composefs fsverity should be configurable #2017

cgwalters opened this issue Jul 12, 2024 · 2 comments
Labels
area/composefs composefs related changes integration/bootc This is desired for bootc

Comments

@cgwalters
Copy link
Contributor

cgwalters commented Jul 12, 2024

Today the composefs backend basically does "enable fsverity if we can" by default. In the code, there is a proper enum but AFAICS it is not exposed via e.g. storage.conf or otherwise.

In contrast in ostree, we did make this explicitly configurable.

(queue the overall problem that we need to unify ostree and c/storage)

Different system operators, may reasonably want distinct things:

  • Some may want to disable fsverity even on filesystems (e.g. btrfs, xfs) that support it today, because they don't want to pay the verification tax
  • Some may want to hard require it (and this use case actually quickly gets into the use case of "enforce signatures chaining to fsverity digest of composefs" which is what ostree does today; this touches on Add canonical docs/standards (maybe tooling here) for integration w/OCI composefs#294 )

Bikeshed: We could just expose this via storage.conf I guess, something like use_composefs = signed | verity | yes | no or so.

@cgwalters cgwalters added the area/composefs composefs related changes label Jul 12, 2024
@rhatdan
Copy link
Member

rhatdan commented Jul 12, 2024

@giuseppe PTAL

@rhatdan
Copy link
Member

rhatdan commented Jul 12, 2024

@alexlarsson PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/composefs composefs related changes integration/bootc This is desired for bootc
Projects
None yet
Development

No branches or pull requests

2 participants