From 1b40acb201715838cbd793f29373669e594daf20 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Fri, 6 Oct 2023 11:23:16 +0200 Subject: [PATCH] debug logging Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --- internal/attestation/vtpm/attestation.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/attestation/vtpm/attestation.go b/internal/attestation/vtpm/attestation.go index 0d907dd7f55..50f7a3cafa4 100644 --- a/internal/attestation/vtpm/attestation.go +++ b/internal/attestation/vtpm/attestation.go @@ -128,6 +128,8 @@ func (i *Issuer) Issue(ctx context.Context, userData []byte, nonce []byte) (res if err != nil { return nil, fmt.Errorf("creating attestation: %w", err) } + i.log.Infof("TPM Attestation: %v", tpmAttestation) + i.log.Infof("TPM Attestation (TEEAttestation): %v", tpmAttestation.TeeAttestation) // Fetch instance info of the VM instanceInfo, err := i.getInstanceInfo(ctx, tpm, extraData)