Archived
实现首轮协议与 Transit 签名 PoC
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user