mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-21 05:44:38 -05:00
e350ca0f57
* Implement Azure TDX attestation primitives * Add default measurements and claims for Azure TDX * Enable Constellation on Azure TDX --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems>
28 lines
795 B
Python
28 lines
795 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "azure",
|
|
srcs = ["azure.go"],
|
|
importpath = "github.com/edgelesssys/constellation/v2/internal/attestation/azure",
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"@com_github_google_go_tpm//legacy/tpm2",
|
|
"@com_github_google_go_tpm_tools//client",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "azure_test",
|
|
srcs = ["azure_test.go"],
|
|
embed = [":azure"],
|
|
deps = [
|
|
"//internal/attestation/simulator",
|
|
"//internal/attestation/snp",
|
|
"@com_github_google_go_tpm//legacy/tpm2",
|
|
"@com_github_google_go_tpm_tools//client",
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
],
|
|
)
|