go-tpm-tools icon indicating copy to clipboard operation
go-tpm-tools copied to clipboard

GetGCEInstanceInfo should return error if not found

Open salrashid123 opened this issue 1 year ago • 0 comments

GetGCEInstanceInfo return nil,nil in certain circumstances:

https://github.com/google/go-tpm-tools/blob/master/server/verify.go#L208-L211

shoudn't these return nil, fmt.Errorf("...")

salrashid123 avatar Jun 26 '23 11:06 salrashid123