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

Add support for versioned COS event log #252

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

alexmwu
Copy link
Contributor

@alexmwu alexmwu commented Oct 17, 2022

The first COS event in the COS CEL can optionally be a launcher version.
If that event does not exist, we set the MachineState.Cos.LauncherVersion to major: 0, minor: 1, patch: 0.

Also, export client.ImplementedPCRs.

The launcher version event will measure the launcher semantic version
into the COS CEL. The semantic version is formatted as little-endian
uint32s, with major, minor, patch ordering.
This will be useful when users want to see what bank hash algorithms are
implemented.
The first COS event in the COS CEL can optionally be a launcher version.
If that event does not exist, we set the
MachineState.Cos.LauncherVersion to major: 0, minor: 1, patch: 0.
Test with a launcher version event, without a launcher version event,
     and with a malformed launcher version event.
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.

None yet

1 participant