2023-03-09 09:23:42 -05:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "azure-snp-report-verify_lib",
|
|
|
|
srcs = ["verify.go"],
|
|
|
|
importpath = "github.com/edgelesssys/constellation/v2/hack/azure-snp-report-verify",
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
deps = [
|
2023-06-07 10:16:32 -04:00
|
|
|
"//internal/api/attestationconfigapi",
|
2023-03-09 09:23:42 -05:00
|
|
|
"@in_gopkg_square_go_jose_v2//:go-jose_v2",
|
|
|
|
"@in_gopkg_square_go_jose_v2//jwt",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "azure-snp-report-verify",
|
|
|
|
embed = [":azure-snp-report-verify_lib"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|