mirror of
https://github.com/google/go-attestation.git
synced 2025-04-15 06:56:40 +00:00
Fix quote12 (previously only getting PCR0) (#15)
This commit is contained in:
parent
0c3df93f04
commit
4342561e0f
@ -267,7 +267,7 @@ func (k *Key) ActivateCredential(tpm *TPM, in EncryptedCredential) ([]byte, erro
|
||||
|
||||
func (k *Key) quote12(tpm io.ReadWriter, nonce []byte) (*Quote, error) {
|
||||
selectedPCRs := make([]int, 24)
|
||||
for _, pcr := range selectedPCRs {
|
||||
for pcr, _ := range selectedPCRs {
|
||||
selectedPCRs[pcr] = pcr
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user