Skip to content

Commit

Permalink
tdx/validator: add TODO about memory integrity
Browse files Browse the repository at this point in the history
  • Loading branch information
Freax13 committed Aug 26, 2024
1 parent 82676d4 commit 902e416
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/attestation/tdx/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ func (v *Validator) OID() asn1.ObjectIdentifier {

// Validate a TDX attestation.
func (v *Validator) Validate(ctx context.Context, attDocRaw []byte, nonce []byte, peerPublicKey []byte) (err error) {
// TODO(freax13): Validate the memory integrity mode (logical vs cryptographic) in the provisioning certificate.

v.logger.Info("Validate called", "nonce", hex.EncodeToString(nonce))
defer func() {
if err != nil {
Expand Down

0 comments on commit 902e416

Please sign in to comment.