2023-03-09 09:23:42 -05:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "idkeydigest",
|
2023-03-21 07:46:49 -04:00
|
|
|
srcs = [
|
2023-04-06 11:00:56 -04:00
|
|
|
"enforcement_string.go",
|
2023-03-21 07:46:49 -04:00
|
|
|
"idkeydigest.go",
|
|
|
|
],
|
2023-03-09 09:23:42 -05:00
|
|
|
importpath = "github.com/edgelesssys/constellation/v2/internal/attestation/idkeydigest",
|
|
|
|
visibility = ["//:__subpackages__"],
|
|
|
|
)
|
|
|
|
|
|
|
|
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",
|
|
|
|
],
|
|
|
|
)
|