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)) roots.AddCert((*x509.Certificate)(&v.cfg.IntelRootKey))
if err := verify.TdxQuote(tdxQuote, &verify.Options{ if err := verify.TdxQuote(tdxQuote, &verify.Options{
// TODO: Re-enable CRL checking once issues on Azure's side are resolved. CheckRevocations: true,
// CheckRevocations: true, GetCollateral: true,
// GetCollateral: true, TrustedRoots: roots,
TrustedRoots: roots, Getter: v.getter,
Getter: v.getter,
}); err != nil { }); err != nil {
return err return err
} }