Skip to content

Commit

Permalink
attetstation: enable Azure TDX CRL checking (#3160)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
  • Loading branch information
daniel-weisse authored Jun 12, 2024
1 parent c682558 commit 8b76dd6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions internal/attestation/azure/tdx/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8b76dd6

Please sign in to comment.