constellation/hack/azure-snp-report-verify/BUILD.bazel
Adrian Stobbe b51cc52945
config: sign Azure versions on upload & verify on fetch (#1836)
* add SignContent() + integrate into configAPI

* use static client for upload versions tool; fix staticupload calleeReference bug

* use version to get proper cosign pub key.

* mock fetcher in CLI tests

* only provide config.New constructor with fetcher

Co-authored-by: Otto Bittner <cobittner@posteo.net>
Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
2023-06-01 13:55:46 +02:00

20 lines
573 B
Python

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 = [
"//internal/api/configapi",
"@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"],
)