Giter VIP home page Giter VIP logo

Comments (3)

ericchiang avatar ericchiang commented on July 28, 2024

Does this require a change to the AK the way we generate the AK, or is this specifically only related to the challenge?

Would that look like adding a field to opt into attest certify rather than attest creation? E.g. if we had something like

type AttestationType int

const (
    AttestCreation AttestationType = iota // Default value
    AttestCertify
)

Then let you specify that field in ActivationParameters and CertificationParameters, would that work?

https://pkg.go.dev/github.com/google/go-attestation/attest#ActivationParameters
https://pkg.go.dev/github.com/google/go-attestation/attest#CertificationParameters

from go-attestation.

juanvallejo avatar juanvallejo commented on July 28, 2024

Does this require a change to the AK the way we generate the AK, or is this specifically only related to the challenge?

This is only specifically to the challenge.

Would that look like adding a field to opt into attest certify rather than attest creation? E.g. if we had something like

When we parse attestation data using tpm2.DecodeAttestationData, the bytes we initially receive for attestation data should already have a tag that matches one of the ones already present in the tpm2 library to determine whether we're dealing with AttestedCertify data or AttestedCreation data. So no further changes needed, especially given that the library already recognizes both tag-types we intend to handle here.

from go-attestation.

ericchiang avatar ericchiang commented on July 28, 2024

Cool. I will note that one of the explicit goals of this package is to avoid the need to use go-tpm2 directly. So if we add support for verifying a particular challenge type, we should also add support for generating it.

I don't think it makes sense for us to only support verification.

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.