diff --git a/attestation-agent/attester/src/csv/mod.rs b/attestation-agent/attester/src/csv/mod.rs index b3418a0cf..bdf5a7eed 100644 --- a/attestation-agent/attester/src/csv/mod.rs +++ b/attestation-agent/attester/src/csv/mod.rs @@ -32,6 +32,8 @@ struct CertificateChain { struct CsvEvidence { attestation_report: AttestationReport, cert_chain: CertificateChain, + // Base64 Encoded CSV Serial Number (Used to identify HYGON chip ID) + serial_number: Vec, } #[derive(Debug, Default)] @@ -59,6 +61,7 @@ impl Attester for CsvAttester { let evidence = CsvEvidence { attestation_report, cert_chain: CertificateChain { hsk, cek, pek }, + serial_number: report_signer.sn.to_vec(), }; serde_json::to_string(&evidence).context("Serialize CSV evidence failed") }