Giter VIP home page Giter VIP logo

Comments (8)

mjg59 avatar mjg59 commented on July 28, 2024

Yes, we have a pretty complete parser that will be landing shortly.

from go-attestation.

ericchiang avatar ericchiang commented on July 28, 2024

FYI #64

from go-attestation.

brandonweeks avatar brandonweeks commented on July 28, 2024

If you have any feedback on if this is useful for you or how it could be improved, it would be appreciated!

from go-attestation.

zaolin avatar zaolin commented on July 28, 2024

@brandonweeks @ericchiang Just look at my feature set. I guess the current implementation isn't complete.

from go-attestation.

ericchiang avatar ericchiang commented on July 28, 2024

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.

from go-attestation.

mjg59 avatar mjg59 commented on July 28, 2024

#108 is a shot at this.

from go-attestation.

zaolin avatar zaolin commented on July 28, 2024

@ericchiang I think we are mixing stuff here. PCR precalculation should have a separate package aside from the TCPA eventlog IMHO. @mjg59 great work.

from go-attestation.

twitchy-jsonp avatar twitchy-jsonp commented on July 28, 2024

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.

from go-attestation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.