MCPcopy Create free account
hub / github.com/conforma/cli / PublicKey

Function PublicKey

acceptance/rekor/rekor.go:528–532  ·  view source on GitHub ↗

PublicKey returns the public key of the Rekor signing key

(ctx context.Context)

Source from the content-addressed store, hash-verified

526
527// PublicKey returns the public key of the Rekor signing key
528func PublicKey(ctx context.Context) []byte {
529 state := testenv.FetchState[rekorState](ctx)
530
531 return state.KeyPair.PublicBytes
532}
533
534func IsRunning(ctx context.Context) bool {
535 return testenv.HasState[rekorState](ctx)

Callers 1

setupRekorFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected