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

Use Trustee-specific TCB Claims Extension #664

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fitzthum
Copy link
Member

As a simplification, we are currently storing the tcb claims in the annotated evidence field of the EAR Appraisal. This field is actually an extension defined by veraison, so we end up with a token that had a veraison field in it even though we don't really follow the veraison protocol/spec.

Fortunately some recent changes to the EAR crate allow us to stick the tcb claims into our own extension. That's what this PR does. See commit messages for details.

This is going to be marked as a draft until the EAR crate has a release.

Previously we were using the veraison annotated evidence extension to
store the TCB Claims. This was a simplification, but it was not optimal.

Thanks to some changes in the EAR crate, we can now easily store those
claims in our own extension.

Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
Now that we're using our own extension for TCB claims, the public key
path is different.

We could continue to support the old path as well, but I don't expect
there to be any overlap.

Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
We query the TCB claims to see which platform the evidence came from.
Now that the TCB claims are in a new place, the policy will need to be
adjusted slightly.

This is a bit inconvenient but it shows why it's important to use the
right extension in the first place. It's potentially very confusing to
see veraison stuff in our policy.

Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
@fitzthum fitzthum requested a review from a team as a code owner January 16, 2025 19:56
@fitzthum fitzthum marked this pull request as draft January 16, 2025 19:57
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