Documentation
¶
Overview ¶
Package sign signs published OCI artifacts: keylessly (ambient OIDC — the CI workflow's identity — through Fulcio, with a public transparency log entry) or with a cloud KMS key (gcpkms://, awskms://, azurekms://). Signatures are stored as sigstore bundles attached via the OCI referrers API — never legacy .sig tags — the format policy engines' bundle rules and modern consumers verify.
The KMS URI schemes register through blank imports of the sigstore KMS providers; a signer for tests can point KeyRef at a local cosign keypair instead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
Signer signs OCI artifacts per one resolved signing config.
func NewWithKeyFile ¶
NewWithKeyFile builds a test signer over a local cosign keypair, offline (no transparency log).