diff --git a/proto/tpm.pb.go b/proto/tpm.pb.go index 814b8f3..4668ca9 100644 --- a/proto/tpm.pb.go +++ b/proto/tpm.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: tpm.proto -package go_attestation_proto +package go_attestation import ( fmt "fmt" @@ -132,44 +132,13 @@ func (ChallengeInfo_ChallengeType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_63ac7bc02f9d1279, []int{5, 0} } -type StatusReport_ReportType int32 - -const ( - StatusReport_REPORT_UNSPECIFIED StatusReport_ReportType = 0 - StatusReport_REPORT_TPM_UNSUITABLE StatusReport_ReportType = 1 - StatusReport_REPORT_TPM_OPERATION_FAILURE StatusReport_ReportType = 2 - StatusReport_REPORT_LOG_UNAVAILABLE StatusReport_ReportType = 3 -) - -var StatusReport_ReportType_name = map[int32]string{ - 0: "REPORT_UNSPECIFIED", - 1: "REPORT_TPM_UNSUITABLE", - 2: "REPORT_TPM_OPERATION_FAILURE", - 3: "REPORT_LOG_UNAVAILABLE", -} - -var StatusReport_ReportType_value = map[string]int32{ - "REPORT_UNSPECIFIED": 0, - "REPORT_TPM_UNSUITABLE": 1, - "REPORT_TPM_OPERATION_FAILURE": 2, - "REPORT_LOG_UNAVAILABLE": 3, -} - -func (x StatusReport_ReportType) String() string { - return proto.EnumName(StatusReport_ReportType_name, int32(x)) -} - -func (StatusReport_ReportType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_63ac7bc02f9d1279, []int{7, 0} -} - // TpmInfo encapsulates version / device information // about the TPM, and how the attestation client interfaces // with it. type TpmInfo struct { - TpmVersion TpmVersion `protobuf:"varint,1,opt,name=tpm_version,json=tpmVersion,proto3,enum=go_attestation.proto.TpmVersion" json:"tpm_version,omitempty"` + TpmVersion TpmVersion `protobuf:"varint,1,opt,name=tpm_version,json=tpmVersion,proto3,enum=go_attestation.TpmVersion" json:"tpm_version,omitempty"` Manufacturer string `protobuf:"bytes,2,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` - TpmInterface TpmInterface `protobuf:"varint,3,opt,name=tpm_interface,json=tpmInterface,proto3,enum=go_attestation.proto.TpmInterface" json:"tpm_interface,omitempty"` + TpmInterface TpmInterface `protobuf:"varint,3,opt,name=tpm_interface,json=tpmInterface,proto3,enum=go_attestation.TpmInterface" json:"tpm_interface,omitempty"` // This number represents the version of the support code which // interfaces with the TPM. TpmInterfaceVersion uint32 `protobuf:"varint,4,opt,name=tpm_interface_version,json=tpmInterfaceVersion,proto3" json:"tpm_interface_version,omitempty"` // Deprecated: Do not use. @@ -252,7 +221,7 @@ func (m *TpmInfo) GetTrousersFormat() bool { } type EndorsementKey struct { - Datatype EndorsementKey_DataType `protobuf:"varint,1,opt,name=datatype,proto3,enum=go_attestation.proto.EndorsementKey_DataType" json:"datatype,omitempty"` + Datatype EndorsementKey_DataType `protobuf:"varint,1,opt,name=datatype,proto3,enum=go_attestation.EndorsementKey_DataType" json:"datatype,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -502,7 +471,7 @@ func (*AikInfo) XXX_OneofWrappers() []interface{} { // ChallengeInfo describes which challenge a nonce corresponds to. type ChallengeInfo struct { - Type ChallengeInfo_ChallengeType `protobuf:"varint,1,opt,name=type,proto3,enum=go_attestation.proto.ChallengeInfo_ChallengeType" json:"type,omitempty"` + Type ChallengeInfo_ChallengeType `protobuf:"varint,1,opt,name=type,proto3,enum=go_attestation.ChallengeInfo_ChallengeType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -540,207 +509,62 @@ func (m *ChallengeInfo) GetType() ChallengeInfo_ChallengeType { return ChallengeInfo_CHALLENGE_UNSPECIFIED } -// ClientInfo is optional data sent from the client to identify what version -// of racc-client it is running. -type ClientInfo struct { - MachineTrack string `protobuf:"bytes,1,opt,name=machine_track,json=machineTrack,proto3" json:"machine_track,omitempty"` - ClRollup string `protobuf:"bytes,2,opt,name=cl_rollup,json=clRollup,proto3" json:"cl_rollup,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClientInfo) Reset() { *m = ClientInfo{} } -func (m *ClientInfo) String() string { return proto.CompactTextString(m) } -func (*ClientInfo) ProtoMessage() {} -func (*ClientInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_63ac7bc02f9d1279, []int{6} -} - -func (m *ClientInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientInfo.Unmarshal(m, b) -} -func (m *ClientInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientInfo.Marshal(b, m, deterministic) -} -func (m *ClientInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientInfo.Merge(m, src) -} -func (m *ClientInfo) XXX_Size() int { - return xxx_messageInfo_ClientInfo.Size(m) -} -func (m *ClientInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ClientInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientInfo proto.InternalMessageInfo - -func (m *ClientInfo) GetMachineTrack() string { - if m != nil { - return m.MachineTrack - } - return "" -} - -func (m *ClientInfo) GetClRollup() string { - if m != nil { - return m.ClRollup - } - return "" -} - -func (m *ClientInfo) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -// StatusReport describes information from a client which is distinct to any -// attestation operation. -type StatusReport struct { - Type StatusReport_ReportType `protobuf:"varint,1,opt,name=type,proto3,enum=go_attestation.proto.StatusReport_ReportType" json:"type,omitempty"` - Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - Operation string `protobuf:"bytes,4,opt,name=operation,proto3" json:"operation,omitempty"` - ClientInfo *ClientInfo `protobuf:"bytes,5,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StatusReport) Reset() { *m = StatusReport{} } -func (m *StatusReport) String() string { return proto.CompactTextString(m) } -func (*StatusReport) ProtoMessage() {} -func (*StatusReport) Descriptor() ([]byte, []int) { - return fileDescriptor_63ac7bc02f9d1279, []int{7} -} - -func (m *StatusReport) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatusReport.Unmarshal(m, b) -} -func (m *StatusReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatusReport.Marshal(b, m, deterministic) -} -func (m *StatusReport) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusReport.Merge(m, src) -} -func (m *StatusReport) XXX_Size() int { - return xxx_messageInfo_StatusReport.Size(m) -} -func (m *StatusReport) XXX_DiscardUnknown() { - xxx_messageInfo_StatusReport.DiscardUnknown(m) -} - -var xxx_messageInfo_StatusReport proto.InternalMessageInfo - -func (m *StatusReport) GetType() StatusReport_ReportType { - if m != nil { - return m.Type - } - return StatusReport_REPORT_UNSPECIFIED -} - -func (m *StatusReport) GetCode() int64 { - if m != nil { - return m.Code - } - return 0 -} - -func (m *StatusReport) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -func (m *StatusReport) GetOperation() string { - if m != nil { - return m.Operation - } - return "" -} - -func (m *StatusReport) GetClientInfo() *ClientInfo { - if m != nil { - return m.ClientInfo - } - return nil -} - func init() { - proto.RegisterEnum("go_attestation.proto.TpmVersion", TpmVersion_name, TpmVersion_value) - proto.RegisterEnum("go_attestation.proto.TpmInterface", TpmInterface_name, TpmInterface_value) - proto.RegisterEnum("go_attestation.proto.EndorsementKey_DataType", EndorsementKey_DataType_name, EndorsementKey_DataType_value) - proto.RegisterEnum("go_attestation.proto.ChallengeInfo_ChallengeType", ChallengeInfo_ChallengeType_name, ChallengeInfo_ChallengeType_value) - proto.RegisterEnum("go_attestation.proto.StatusReport_ReportType", StatusReport_ReportType_name, StatusReport_ReportType_value) - proto.RegisterType((*TpmInfo)(nil), "go_attestation.proto.TpmInfo") - proto.RegisterType((*EndorsementKey)(nil), "go_attestation.proto.EndorsementKey") - proto.RegisterType((*Tpm20AikInfo)(nil), "go_attestation.proto.Tpm20AikInfo") - proto.RegisterType((*Tpm12AikInfo)(nil), "go_attestation.proto.Tpm12AikInfo") - proto.RegisterType((*AikInfo)(nil), "go_attestation.proto.AikInfo") - proto.RegisterType((*ChallengeInfo)(nil), "go_attestation.proto.ChallengeInfo") - proto.RegisterType((*ClientInfo)(nil), "go_attestation.proto.ClientInfo") - proto.RegisterType((*StatusReport)(nil), "go_attestation.proto.StatusReport") + proto.RegisterEnum("go_attestation.TpmVersion", TpmVersion_name, TpmVersion_value) + proto.RegisterEnum("go_attestation.TpmInterface", TpmInterface_name, TpmInterface_value) + proto.RegisterEnum("go_attestation.EndorsementKey_DataType", EndorsementKey_DataType_name, EndorsementKey_DataType_value) + proto.RegisterEnum("go_attestation.ChallengeInfo_ChallengeType", ChallengeInfo_ChallengeType_name, ChallengeInfo_ChallengeType_value) + proto.RegisterType((*TpmInfo)(nil), "go_attestation.TpmInfo") + proto.RegisterType((*EndorsementKey)(nil), "go_attestation.EndorsementKey") + proto.RegisterType((*Tpm20AikInfo)(nil), "go_attestation.Tpm20AikInfo") + proto.RegisterType((*Tpm12AikInfo)(nil), "go_attestation.Tpm12AikInfo") + proto.RegisterType((*AikInfo)(nil), "go_attestation.AikInfo") + proto.RegisterType((*ChallengeInfo)(nil), "go_attestation.ChallengeInfo") } func init() { proto.RegisterFile("tpm.proto", fileDescriptor_63ac7bc02f9d1279) } var fileDescriptor_63ac7bc02f9d1279 = []byte{ - // 848 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00,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xe8, 0x35, 0xf4, - 0x31, 0x3c, 0xdb, 0x44, 0xd8, 0xd3, 0x0b, 0x77, 0x3e, 0xc1, 0xd7, 0xd8, 0xb2, 0x15, 0xbb, 0xfe, - 0x0a, 0x03, 0x94, 0x07, 0x1b, 0x3d, 0x87, 0x8f, 0x64, 0x92, 0x6b, 0x42, 0xaf, 0x64, 0x8a, 0x5d, - 0x0d, 0x00, 0xfb, 0xd2, 0x39, 0x18, 0xea, 0x5a, 0x61, 0x0f, 0xcf, 0xf4, 0xda, 0x2b, 0xa6, 0x96, - 0xaf, 0x3c, 0xbe, 0x9f, 0xc0, 0x89, 0xf4, 0x59, 0x13, 0x87, 0xd0, 0x73, 0x6c, 0x92, 0xff, 0xa7, - 0x19, 0x5b, 0x94, 0x98, 0x4e, 0x7e, 0x74, 0xde, 0x10, 0x3a, 0x21, 0xb6, 0x7b, 0x89, 0x27, 0xf8, - 0x82, 0x8c, 0xf5, 0x9a, 0xc4, 0xc6, 0x98, 0x5c, 0x4e, 0x27, 0x5b, 0xac, 0xbe, 0xd8, 0x57, 0x2d, - 0xfc, 0xfa, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x46, 0xe2, 0xe4, 0xeb, 0xb5, 0x06, 0x00, 0x00, + // 641 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdb, 0x6e, 0xda, 0x4a, + 0x14, 0x8d, 0x81, 0xdc, 0x36, 0xc6, 0x58, 0x73, 0x14, 0x1d, 0x72, 0x2e, 0x2a, 0x72, 0xd5, 0x86, + 0xa6, 0x12, 0x0a, 0xee, 0x45, 0xaa, 0x5a, 0xa9, 0x32, 0x66, 0x92, 0xb8, 0x21, 0x06, 0x4d, 0x9c, + 0xa8, 0x7d, 0xb2, 0x06, 0x32, 0xa4, 0x56, 0xf0, 0xa5, 0x66, 0xa8, 0x9a, 0x0f, 0xe8, 0x6b, 0x3f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0x96, 0xa3, 0x09, + 0x4d, 0x33, 0x84, 0xcf, 0x8e, 0xfe, 0xc7, 0x3e, 0x55, 0x28, 0xd3, 0xf9, 0x97, 0x85, 0xbb, 0xa4, + 0xd4, 0xbe, 0x4a, 0xb0, 0x9d, 0xc9, 0x9f, 0xc3, 0x26, 0x4f, 0xc6, 0x16, 0xc2, 0xea, 0xbd, 0x99, + 0xcb, 0x77, 0x72, 0xba, 0x41, 0x52, 0xf2, 0x42, 0xd5, 0xd1, 0x45, 0xd7, 0xfb, 0x55, 0xb9, 0xc3, + 0x85, 0xaa, 0xa3, 0x77, 0x15, 0x48, 0x42, 0xeb, 0x52, 0xef, 0x56, 0x24, 0x4d, 0xfb, 0x26, 0x41, + 0xcd, 0xfc, 0x48, 0xa7, 0x53, 0x16, 0xdc, 0xa4, 0x31, 0x7b, 0x0b, 0x95, 0x42, 0x4c, 0x9e, 0xae, + 0xb7, 0x5d, 0x21, 0x2f, 0xbf, 0x44, 0x54, 0x84, 0x50, 0x7b, 0x53, 0xe8, 0x98, 0xe5, 0xc2, 0x3c, + 0x35, 0xfa, 0x7d, 0x6c, 0x9f, 0xac, 0xe7, 0x42, 0x05, 0x79, 0x79, 0x64, 0x1a, 0xaa, 0x74, 0x68, + 0x00, 0x2c, 0x9f, 0x31, 0xfa, 0x17, 0xfe, 0x76, 0x86, 0xe7, 0xee, 0x15, 0x26, 0x17, 0xd6, 0xc0, + 0x5e, 0x13, 0x03, 0x6c, 0x25, 0x87, 0x1d, 0x5d, 0x95, 0xb2, 0x5a, 0x3f, 0x52, 0x4b, 0x87, 0x54, + 0xfc, 0x3c, 0xcb, 0x87, 0xf9, 0x3f, 0xec, 0x27, 0x67, 0x96, 0xed, 0x60, 0x72, 0x6c, 0x98, 0xf8, + 0xf7, 0x36, 0x3d, 0x8b, 0x60, 0xd3, 0x49, 0x63, 0x79, 0x86, 0x89, 0x8d, 0xfb, 0xee, 0xb9, 0x61, + 0x1b, 0x27, 0xb8, 0xa7, 0x96, 0x12, 0xac, 0x67, 0xe0, 0xf3, 0x81, 0x9d, 0x63, 0xe5, 0xd1, 0x96, + 0xf8, 0xcb, 0x7a, 0xf6, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xa5, 0x3e, 0xc2, 0xea, 0xbf, 0x04, 0x00, + 0x00, } diff --git a/proto/tpm.proto b/proto/tpm.proto index cd01470..94585e2 100644 --- a/proto/tpm.proto +++ b/proto/tpm.proto @@ -1,7 +1,6 @@ -// (-- api-linter: forbidden-types=disabled --) syntax = "proto3"; -package go_attestation.proto; +package go_attestation; enum TpmVersion { TPM_VERSION_UNSPECIFIED = 0; @@ -87,30 +86,3 @@ message ChallengeInfo { ChallengeType type = 1; } - -// ClientInfo is optional data sent from the client to identify what version -// of racc-client it is running. -message ClientInfo { - string machine_track = 1; - string cl_rollup = 2; - string version = 3; -} - -// StatusReport describes information from a client which is distinct to any -// attestation operation. -message StatusReport { - enum ReportType { - REPORT_UNSPECIFIED = 0; - REPORT_TPM_UNSUITABLE = 1; - REPORT_TPM_OPERATION_FAILURE = 2; - REPORT_LOG_UNAVAILABLE = 3; - REPORT_EKCERT_UNAVAILABLE = 4; - REPORT_EKCERT_DEBUG = 5; - }; - - ReportType type = 1; - int64 code = 2; - string message = 3; - string operation = 4; - ClientInfo client_info = 5; -}