mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 09:26:54 +00:00
16 lines
230 B
Go
16 lines
230 B
Go
package cosign
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/sigstore/cosign/cmd/cosign/cli/fulcio"
|
|
)
|
|
|
|
func Init() error {
|
|
certs := fulcio.GetRoots()
|
|
if certs == nil {
|
|
return fmt.Errorf("failed to initialize Fulcio roots")
|
|
}
|
|
|
|
return nil
|
|
}
|