Skip to content

Make hardware root-of-trust support more generic. #33

@cjpatton

Description

@cjpatton

Attesation.ValidateSigner() in attesation.go verifies the identity of the issuer of an attestation. Currently the issuer is either a "key" (e.g. the public policy key) or a "tpm"; this check and verification of the signature are hard-coded into the routine. We could make this more flexible by overloading the auth.Prin type to implement signature verification:

type Verifier interface {
  Verify(text [] bytes) bool 
}

type Prin struct {
   Verifier
   Type string,
   Key Bytes, 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions