diff --git a/attest/tpm_windows.go b/attest/tpm_windows.go index c3bb167..4f01b29 100644 --- a/attest/tpm_windows.go +++ b/attest/tpm_windows.go @@ -278,7 +278,7 @@ func (k *Key) quote12(tpm io.ReadWriter, nonce []byte) (*Quote, error) { // Construct and return TPM_QUOTE_INFO // Returning TPM_QUOTE_INFO allows us to verify the Quote at a higher resolution // and matches what go-tspi returns. - quote, err := tpm1.NewQuoteInfo(pcrc, nonce) + quote, err := tpm1.NewQuoteInfo(pcrc, selectedPCRs[:], nonce) if err != nil { return nil, fmt.Errorf("failed to construct Quote Info: %v", err) }