Closed Xynnn007 closed 1 month ago
Before this commit, if we disabled eventlog recording in AA's config, there will still be a file /run/attestation-agent/eventlog but with no contents.
/run/attestation-agent/eventlog
This file would be collected by tdx attester, treated as a valid AAEL. But on CoCo-AS side the AAEL parser will fail because nothing is in it.
This commit will avoid creating this file once we disabled in AA's config.
cc @ChengyuZhu6
Before this commit, if we disabled eventlog recording in AA's config, there will still be a file
/run/attestation-agent/eventlog
but with no contents.This file would be collected by tdx attester, treated as a valid AAEL. But on CoCo-AS side the AAEL parser will fail because nothing is in it.
This commit will avoid creating this file once we disabled in AA's config.
cc @ChengyuZhu6