mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
5a0234b3f2
* Convert enforceIDKeyDigest setting to enum * Use MAA fallback in Azure SNP attestation * Only create MAA provider if MAA fallback is enabled --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Thomas Tendyck <tt@edgeless.systems>
25 lines
668 B
Python
25 lines
668 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "idkeydigest",
|
|
srcs = [
|
|
"enforceidkeydigest_string.go",
|
|
"idkeydigest.go",
|
|
],
|
|
importpath = "github.com/edgelesssys/constellation/v2/internal/attestation/idkeydigest",
|
|
visibility = ["//:__subpackages__"],
|
|
deps = ["//internal/cloud/cloudprovider"],
|
|
)
|
|
|
|
go_test(
|
|
name = "idkeydigest_test",
|
|
srcs = ["idkeydigest_test.go"],
|
|
embed = [":idkeydigest"],
|
|
deps = [
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
"@in_gopkg_yaml_v3//:yaml_v3",
|
|
],
|
|
)
|