Documentation
¶
Overview ¶
Package attestation defines methods to attest a message using Pgp Private and Public Key pair.
Index ¶
Constants ¶
View Source
const (
RSABits = 4096
)
Variables ¶
This section is empty.
Functions ¶
func CreateMessageAttestation ¶
CreateMessageAttestation attests the message using the given PGP key. pgpKey: PGP key message: Message to attest
func GetPlainMessage ¶
GetPlainMessage verifies if the image is attested using the PEM encoded public key and returns the plain text in bytes
Types ¶
type ValidatedAttestation ¶ added in v0.2.0
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", }
Click to show internal directories.
Click to hide internal directories.