Fix 'failed to verify quote: quote used unknown tpm version 0x0' (#99)

This commit is contained in:
Tom D 2019-09-13 13:03:26 -07:00 committed by GitHub
parent cb4db13ccf
commit e7e8befcc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,7 @@ func (k *key12) Quote(t *TPM, nonce []byte, alg HashAlg) (*Quote, error) {
return nil, fmt.Errorf("failed to construct Quote Info: %v", err)
}
return &Quote{
Version: TPMVersion12,
Quote: quote,
Signature: sig,
}, nil