实现首轮协议与 Transit 签名 PoC

This commit is contained in:
2026-09-11 15:52:19 +00:00
parent cc30a7cb6a
commit ab5dbebca7
13 changed files with 1023 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
.PHONY: fmt test test-transit
fmt:
gofmt -w $$(find . -name '*.go' -type f)
test:
go test ./...
test-transit:
@test -n "$(WORKLOAD_STS_TEST_BAO_ADDR)" || \
(echo 'WORKLOAD_STS_TEST_BAO_ADDR is required' >&2; exit 1)
@test -n "$(WORKLOAD_STS_TEST_BAO_TOKEN)" || \
(echo 'WORKLOAD_STS_TEST_BAO_TOKEN is required' >&2; exit 1)
go test -v ./internal/signing -run TestTransitSignerProducesJWTVerifiedByPublishedJWKS