File: no_rekor.go

package info (click to toggle)
golang-github-containers-image 5.28.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,104 kB
  • sloc: sh: 194; makefile: 73
file content (17 lines) | stat: -rw-r--r-- 352 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//go:build !debian_no_fulcio
// +build !debian_no_fulcio

package rekor

import (
	"fmt"
	"net/url"

	signerInternal "github.com/containers/image/v5/signature/sigstore/internal"
)

func WithRekor(rekorURL *url.URL) signerInternal.Option {
	return func(s *signerInternal.SigstoreSigner) error {
		return fmt.Errorf("Debian-local: fulcio disabled")
	}
}