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

manifest: use tdx validator #826

Merged
merged 5 commits into from
Aug 26, 2024
Merged

manifest: use tdx validator #826

merged 5 commits into from
Aug 26, 2024

Conversation

Freax13
Copy link
Contributor

@Freax13 Freax13 commented Aug 23, 2024

This PR implements the necessary functions to generate validation options for TDX and adds the TDX validators to the list of validators. This is enough to make set work.

Some caveats/TODOs:

  • We don't cache certificates yet.
  • We don't validate the launch measurements (we only validate the TCB).
  • The coordinator doesn't add the certificate extensions yet.

@Freax13 Freax13 added the no changelog PRs not listed in the release notes label Aug 23, 2024
@Freax13 Freax13 requested a review from msanft August 23, 2024 11:17
@Freax13 Freax13 requested a review from katexochen as a code owner August 23, 2024 11:17
Copy link
Contributor

@msanft msanft left a comment

Choose a reason for hiding this comment

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

LGTM

cli/main.go Outdated Show resolved Hide resolved
CheckRevocations doesn't work without GetCollateral.
The interfaces for trust.HTTPSGetter is different for go-sev-guest and
go-tdx-guest. We won't be able to share the same implementation for
both of them. Until then we simply won't use a caching getter for TDX.
We don't call any callbacks yet, so the coordinator doesn't work yet,
but the set command already succeeds :)
@Freax13 Freax13 force-pushed the tom/use-tdx-validator branch from f113bdd to 2423562 Compare August 26, 2024 10:50
@Freax13 Freax13 merged commit 54ee2e9 into main Aug 26, 2024
11 checks passed
@Freax13 Freax13 deleted the tom/use-tdx-validator branch August 26, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants