mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-18 20:14:48 -04:00
AB#2379: Validate version in SNP report (#80)
* AB#2379: Validate version in SNP report * Check that TCB version in VCEK matches COMMITTED_TCB * Check that LAUNCH, CURRENT and REPORTED TCB are at least at the same security level as we are currently. * Rename variables in snpReport struct * Use default values in validator_test.go Signed-off-by: Otto Bittner <cobittner@posteo.net>
This commit is contained in:
parent
9d264604c0
commit
23bf4aa665
4 changed files with 314 additions and 111 deletions
|
@ -45,7 +45,7 @@ func GetIdKeyDigest(open vtpm.TPMOpenFunc) ([]byte, error) {
|
|||
return nil, fmt.Errorf("creating snp report: %w", err)
|
||||
}
|
||||
|
||||
return report.IdKeyDigest[:], nil
|
||||
return report.IDKeyDigest[:], nil
|
||||
}
|
||||
|
||||
// Issuer for Azure TPM attestation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue