attetstation: enable Azure TDX CRL checking (#3160)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2024-06-12 08:02:47 +02:00 committed by GitHub
parent c682558940
commit 8b76dd68ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,11 +93,10 @@ func (v *Validator) validateQuote(tdxQuote *tdx.QuoteV4) error {
roots.AddCert((*x509.Certificate)(&v.cfg.IntelRootKey))
if err := verify.TdxQuote(tdxQuote, &verify.Options{
// TODO: Re-enable CRL checking once issues on Azure's side are resolved.
// CheckRevocations: true,
// GetCollateral: true,
TrustedRoots: roots,
Getter: v.getter,
CheckRevocations: true,
GetCollateral: true,
TrustedRoots: roots,
Getter: v.getter,
}); err != nil {
return err
}