Documentation ¶
Index ¶
- Constants
- Variables
- func Attach() *cobra.Command
- func Attest() *cobra.Command
- func AttestBlob() *cobra.Command
- func Clean() *cobra.Command
- func CleanCmd(ctx context.Context, regOpts options.RegistryOptions, ...) error
- func Completion() *cobra.Command
- func Copy() *cobra.Command
- func Dockerfile() *cobra.Command
- func Download() *cobra.Command
- func Env() *cobra.Command
- func Generate() *cobra.Command
- func GenerateKeyPair() *cobra.Command
- func ImportKeyPair() *cobra.Command
- func Initialize() *cobra.Command
- func Load() *cobra.Command
- func LoadCmd(ctx context.Context, opts options.LoadOptions, imageRef string) error
- func Manifest() *cobra.Command
- func New() *cobra.Command
- func PIVTool() *cobra.Command
- func PKCS11Tool() *cobra.Command
- func Policy() *cobra.Command
- func PublicKey() *cobra.Command
- func Save() *cobra.Command
- func SaveCmd(ctx context.Context, opts options.SaveOptions, imageRef string) error
- func Sign() *cobra.Command
- func SignBlob() *cobra.Command
- func Tree() *cobra.Command
- func TreeCmd(ctx context.Context, regOpts options.RegistryOptions, imageRef string) error
- func Triangulate() *cobra.Command
- func Upload() *cobra.Command
- func Verify() *cobra.Command
- func VerifyAttestation() *cobra.Command
- func VerifyBlob() *cobra.Command
- func VerifyBlobAttestation() *cobra.Command
- type FulcioKeyVal
- type Key
- type Role
- type Root
- type Signature
- type Signed
Constants ¶
View Source
const ( KeyTypeFulcio = "sigstore-oidc" KeySchemeFulcio = "https://fulcio.sigstore.dev" )
Variables ¶
View Source
var KeyAlgorithms = []string{"sha256", "sha512"}
Functions ¶
func AttestBlob ¶ added in v1.13.1
func Completion ¶ added in v1.3.0
func Dockerfile ¶ added in v1.3.0
func GenerateKeyPair ¶
func ImportKeyPair ¶ added in v1.5.0
func Initialize ¶ added in v1.3.0
func PKCS11Tool ¶ added in v1.3.1
func Triangulate ¶
func VerifyAttestation ¶ added in v1.0.0
func VerifyBlob ¶
func VerifyBlobAttestation ¶ added in v1.13.1
Types ¶
type FulcioKeyVal ¶ added in v1.13.3
type FulcioKeyVal struct { Identity string `json:"identity"` Issuer string `json:"issuer,omitempty"` }
func GetFulcioKeyVal ¶ added in v1.13.3
func GetFulcioKeyVal(key *Key) (*FulcioKeyVal, error)
type Key ¶ added in v1.13.3
type Key struct { Type string `json:"keytype"` Scheme string `json:"scheme"` Algorithms []string `json:"keyid_hash_algorithms,omitempty"` Value json.RawMessage `json:"keyval"` // contains filtered or unexported fields }
func FulcioVerificationKey ¶ added in v1.13.3
func (*Key) ContainsID ¶ added in v1.13.3
type Root ¶ added in v1.13.3
type Root struct { Type string `json:"_type"` SpecVersion string `json:"spec_version"` Version int `json:"version"` Expires time.Time `json:"expires"` Keys map[string]*Key `json:"keys"` Roles map[string]*Role `json:"roles"` Namespace string `json:"namespace"` ConsistentSnapshot bool `json:"consistent_snapshot"` }
type Signed ¶ added in v1.13.3
type Signed struct { Signed json.RawMessage `json:"signed"` Signatures []Signature `json:"signatures"` }
func (*Signed) AddOrUpdateSignature ¶ added in v1.13.3
Source Files ¶
- attach.go
- attest.go
- attest_blob.go
- clean.go
- commands.go
- completion.go
- copy.go
- dockerfile.go
- download.go
- env.go
- generate.go
- generate_key_pair.go
- import_key_pair.go
- initialize.go
- load.go
- manifest.go
- piv_tool_disabled.go
- pkcs11_tool_disabled.go
- policy_init.go
- public_key.go
- save.go
- sign.go
- signblob.go
- tree.go
- triangulate.go
- tuf_policy.go
- upload.go
- verify.go
Directories ¶
Path | Synopsis |
---|---|
fulcioverifier/ctutil
Package ctutil contains utilities for Certificate Transparency.
|
Package ctutil contains utilities for Certificate Transparency. |
Click to show internal directories.
Click to hide internal directories.