Skip to content

Migrate off go-tpm-tools' attest.proto usage #14

Description

@alexmwu

VerifiedCOSState depends on go-tpm-tools attest.proto for the AttestedCosState proto. This is fine for now, but we'd ideally like to have this library vend its own proto that are updated locally.

pb "github.com/google/go-tpm-tools/proto/attest"

Consider renaming the func and proto to have the same name like AttestedCOSState, VerifiedCOSState or ConfidentialSpaceState.

Additionally, VerifiedCOSState's signature is VerifiedCOSState(event_log cel.CEL, registerType uint8). It should instead take a cel.MRType from https://github.com/google/go-eventlog/blob/main/cel/canonical_eventlog.go#L21 as follows VerifiedCOSState(event_log cel.CEL, registerType cel.MRType)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions