Skip to content

Commit

Permalink
fixup! verify: query vlek ASK from KDS if not set
Browse files Browse the repository at this point in the history
Thomas suggestions
  • Loading branch information
derpsteb committed Nov 24, 2023
1 parent acf7292 commit d5dce7b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions internal/attestation/snp/snp.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ import (
"github.com/google/go-sev-guest/verify/trust"
)

// sevProduct is the product info of the SEV platform as reported through CPUID[EAX=1].
// It may become necessary in the future to differentiate among CSP vendors.
var sevProduct = &spb.SevProduct{Name: spb.SevProduct_SEV_PRODUCT_MILAN, Stepping: 0} // Milan-B0

// Product returns the SEV product info currently supported by Constellation's SNP attestation.
func Product() *spb.SevProduct {
return sevProduct
// sevProduct is the product info of the SEV platform as reported through CPUID[EAX=1].
// It may become necessary in the future to differentiate among CSP vendors.
return &spb.SevProduct{Name: spb.SevProduct_SEV_PRODUCT_MILAN, Stepping: 0} // Milan-B0
}

// InstanceInfo contains the necessary information to establish trust in a SNP CVM.
Expand Down

0 comments on commit d5dce7b

Please sign in to comment.