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

dm-verity #6

Open
ericcurtin opened this issue Oct 25, 2023 · 1 comment
Open

dm-verity #6

ericcurtin opened this issue Oct 25, 2023 · 1 comment
Assignees
Labels

Comments

@ericcurtin
Copy link
Collaborator

We need to verify initoverlayfs on boot, to check it's contents are correct, we must ensure whatever we use can work on a erofs file within a vfat, ext4, erofs boot partition.

dm-verity probably makes more sense to use the verity within the initoverlayfs, because if initoverlayfs is a file, the directory it's on may not have verity (for example if it's an initoverlayfs file on ESP vfat).

@ericcurtin ericcurtin changed the title dm-verity/fs-verity dm-verity Jan 31, 2024
@ericcurtin
Copy link
Collaborator Author

ericcurtin commented Mar 7, 2024

So we have some initial support here to write the hash to initramfs:

#74

the next step is to ensure systemd only mounts an erofs that matches this hash.

We also likely must enable dm-verity in the Automotive kernel in CentOS Stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants