google / google/go-tpm

Missing ExtraData in Quote

Open
#326 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
673
Forks
188
PR merge metrics
No merged PRs in 30d

Description

The current definition of Quote is (line 991)
func Quote(rw io.ReadWriter, signingHandle tpmutil.Handle, signerAuth, unused string, toQuote []byte, sel PCRSelection, sigAlg Algorithm) ([]byte, *Signature, error) {
// TODO: Remove "unused" parameter on next breaking change.

I'm assuming that toQuote []byte is used for any extra data?

However the resulting field ExtraData in AttestationQuoteInfo contains a nil (or null when rendered into JSON).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.