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

Initial support for container verity image signing #272

Open
wants to merge 3 commits into
base: mitchzhu/tardev-prototype
Choose a base branch
from

Conversation

jiria
Copy link
Member

@jiria jiria commented Dec 13, 2024

Merge Checklist
  • Followed patch format from upstream recommendation: https://github.com/kata-containers/community/blob/main/CONTRIBUTING.md#patch-format
    • Included a single commit in a given PR - at least unless there are related commits and each makes sense as a change on its own.
  • Aware about the PR to be merged using "create a merge commit" rather than "squash and merge" (or similar)
  • The upstream/missing label (or upstream/not-needed) has been set on the PR.
Summary

This PR adds a simple tool to generate signatures of root hashes of the dm-verity Merkle trees for all image layers in the container image. This will be used for mounting signed verity volumes.

This initial version was created as a fork of the genpolicy tool. Additional refactoring is desired to eliminate duplicate code and add tests.

Test Methodology

Manual validation.

@jiria jiria requested review from a team as code owners December 13, 2024 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant