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

Rework TPM workflow #318

Merged
merged 9 commits into from
May 28, 2024
Merged

Rework TPM workflow #318

merged 9 commits into from
May 28, 2024

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented May 21, 2024

  • Allows to pass tpm pcr and public key pcr banks to bind to
  • Lots of more logging
  • Separate luksify and luksify with measurements to make it clearer
  • Drop the luks version, its not used anywhere and luks2 is safer
  • log the actual command being run on debug
  • enable debug mode for cryptenroll
  • print debug content from cryptenroll on failure in order to make easier to troubleshoot
  • As a side effect, it also avoids the print to stdout when adding a tpm key that it appears when used as a library
  • even more logging

In order to expose more values especific to the tpm part

Signed-off-by: Itxaka <[email protected]>
@Itxaka Itxaka requested a review from a team May 21, 2024 12:29
@Itxaka Itxaka force-pushed the rework_measurements branch from 375dc66 to 3ebf55a Compare May 22, 2024 12:41
Copy link
Contributor

@jimmykarily jimmykarily left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 minor things. Good job!

Itxaka and others added 2 commits May 23, 2024 07:59
Co-authored-by: Dimitris Karakasilis <[email protected]>
Co-authored-by: Dimitris Karakasilis <[email protected]>
@Itxaka Itxaka added the blocked label May 23, 2024
@Itxaka
Copy link
Member Author

Itxaka commented May 23, 2024

Blocked until #328 gets in as that has higher priority over this due to need for backports

@Itxaka Itxaka merged commit 4180274 into main May 28, 2024
7 checks passed
@Itxaka Itxaka deleted the rework_measurements branch May 28, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants