constellation/internal/attestation/aws/snp/testdata/testdata.go
renovate[bot] dd8539f54b
deps: update Go dependencies (#3802)
* deps: update Go dependencies

* bazel: update rules_go to 0.54.0

* deps: rollback go-tpm-tools

* renovate: block updates for go-tpm-tools

* renovate: group rules_go updates

* cloud/azure: update iptables call

* deps: tidy all modules

* renovate: remove concurrent PR limit

* attestation: replace expired AWS cert

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
Co-authored-by: edgelessci <edgelessci@users.noreply.github.com>
2025-05-06 16:43:53 +02:00

28 lines
705 B
Go

/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package testdata contains testing data for an attestation process.
package testdata
import _ "embed"
// SNPReport holds a valid VLEK-signed SNP report.
//
//go:embed report.txt
var SNPReport string
// AKDigest holds the AK digest embedded in SNPReport.REPORT_DATA.
const AKDigest = "87ab7caf510e1b3520dc3cceb64ee44128e10976fb0d3fc5e274699d8aaf506154af4c1de0a026b49fdf861e9ac75551551b3534d1c61369a3b08f5baed0db2f"
// VLEK for SNPReport.
//
//go:embed vlek.pem
var VLEK []byte
// CertChain is a valid certificate chain for the VLEK certificate. Queried from AMD KDS.
//
//go:embed certchain.pem
var CertChain []byte