Skip to content

Commit

Permalink
tdx/validator: enable GetCollateral
Browse files Browse the repository at this point in the history
CheckRevocations doesn't work without GetCollateral.
  • Loading branch information
Freax13 committed Aug 26, 2024
1 parent fd773d4 commit 82676d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/attestation/tdx/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (v *Validator) Validate(ctx context.Context, attDocRaw []byte, nonce []byte
}
verifyOpts.TrustedRoots = rootCerts
verifyOpts.CheckRevocations = true
verifyOpts.GetCollateral = true
verifyOpts.Getter = v.certGetter

// Verify the report signature.
Expand Down

0 comments on commit 82676d4

Please sign in to comment.