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