From 8da67d9f7e46ee3f43625bf4107caa5c5d20c3b3 Mon Sep 17 00:00:00 2001 From: Leonard Cohnen Date: Thu, 1 Feb 2024 23:06:15 +0100 Subject: [PATCH] attestation: re-enable kds caching --- internal/attestation/snp/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/attestation/snp/validator.go b/internal/attestation/snp/validator.go index fba45da3f1..29f31ce091 100644 --- a/internal/attestation/snp/validator.go +++ b/internal/attestation/snp/validator.go @@ -95,7 +95,7 @@ func (v *Validator) Validate(ctx context.Context, attDocRaw []byte, nonce []byte verifyOpts.CheckRevocations = true verifyOpts.Getter = v.kdsGetter - attestation, err := constructReportWithCertChain(reportRaw, verify.DefaultOptions()) + attestation, err := constructReportWithCertChain(reportRaw, verifyOpts) if err != nil { return fmt.Errorf("converting report to proto: %w", err) }