-
Notifications
You must be signed in to change notification settings - Fork 89
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
Any plans for a TCPA log parser? #9
Comments
Yes, we have a pretty complete parser that will be landing shortly. |
FYI #64 |
If you have any feedback on if this is useful for you or how it could be improved, it would be appreciated! |
@brandonweeks @ericchiang Just look at my feature set. I guess the current implementation isn't complete. |
Yep, #64 is work to prove an event log correctly replays against a set of PCR values, and that the PCRs are validated by a signed AIK quote. For now, I actually don't want package users to be able to parse a log without validating it. Once that PR is merged, I'll submit a followup to parse platform information from Windows and Linux logs. We'll continue to expose the validated but un-parsed events for users that want to parse non-standard event types or types that we haven't got around to implementing yet. |
#108 is a shot at this. |
@ericchiang I think we are mixing stuff here. PCR precalculation should have a separate package aside from the TCPA eventlog IMHO. @mjg59 great work. |
Closing this out as event log parsing & replay is implemented: https://pkg.go.dev/github.com/google/go-attestation/attest?tab=doc#ParseEventLog Due to complexities with extracting trustable values from the event log, and a desire to only expose an API which is hard to use incorrectly, I don't expect we will expose parsing methods for common primitives like UEFI variables. Instead we aim to expose safer APIs where we verify the authenticity of returned values. For instance, here's our parser/verifier for secure-boot state. EDIT: I dont expect we will expose such parsing methods in the attest package. |
Otherwise, I wrote an incomplete parser:
https://github.com/systemboot/tpmtool/blob/master/pkg/tpm/tcpa_log.go
The text was updated successfully, but these errors were encountered: