attestation

package
v0.2.3-0...-3348562 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtomicContainerPayload

func AtomicContainerPayload(imageUri string) ([]byte, error)

AtomicContainerPayload creates an attestation payload which can be signed by a attestlib.Signer to obtain a attestlib.Attestation.

This payload is in the Red Hat's Atomic Host format: https://github.com/aweiteka/image/blob/e5a20d98fe698732df2b142846d007b45873627f/docs/signature.md

Types

type ValidatedAttestation added in v0.2.0

type ValidatedAttestation struct {
	AttestorName string
	Image        string
}

ValidatedAttestation represents a trusted and verified attestation made by the named attestation authority about the named container image. An example ValidatedAttestation may look like:

{
  AttestorName: "build-attestor",
  Image: "gcr.io/img@sha256:abcd",
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL