Members
(static) ContentType :number
Type (for example schema) of the attestation payload that was signed.
Properties:
Name | Type | Description |
---|---|---|
CONTENT_TYPE_UNSPECIFIED |
number |
|
SIMPLE_SIGNING_JSON |
number |
Atomic format attestation signature. See
https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md
The payload extracted from |
Type Definitions
Attestation
Occurrence that represents a single "attestation". The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the Authority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for).
Properties:
Name | Type | Description |
---|---|---|
pgpSignedAttestation |
Object |
A PGP signed attestation. This object should have the same structure as PgpSignedAttestation |
- Source:
- See:
Authority
Note kind that represents a logical attestation "role" or "authority". For
example, an organization might have one Authority
for "QA" and one for
"build". This Note is intended to act strictly as a grouping mechanism for
the attached Occurrences (Attestations). This grouping mechanism also
provides a security boundary, since IAM ACLs gate the ability for a principle
to attach an Occurrence to a given Note. It also provides a single point of
lookup to find all attached Attestation Occurrences, even if they don't all
live in the same project.
Properties:
Name | Type | Description |
---|---|---|
hint |
Object |
Hint hints at the purpose of the attestation authority. This object should have the same structure as Hint |
- Source:
- See:
Details
Details of an attestation occurrence.
Properties:
Name | Type | Description |
---|---|---|
attestation |
Object |
Attestation for the resource. This object should have the same structure as Attestation |
- Source:
- See:
Hint
This submessage provides human-readable hints about the purpose of the Authority. Because the name of a Note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should NOT be used to look up authorities in security sensitive contexts, such as when looking up Attestations to verify.
Properties:
Name | Type | Description |
---|---|---|
humanReadableName |
string |
The human readable name of this Attestation Authority, for example "qa". |
- Source:
- See:
PgpSignedAttestation
An attestation wrapper with a PGP-compatible signature. This message only
supports ATTACHED
signatures, where the payload that is signed is included
alongside the signature itself in the same file.
Properties:
Name | Type | Description |
---|---|---|
signature |
string |
The raw content of the signature, as output by GNU Privacy Guard (GPG) or
equivalent. Since this message only supports attached signatures, the
payload that was signed must be attached. While the signature format
supported is dependent on the verification implementation, currently only
ASCII-armored ( |
contentType |
number |
Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). The number should be among the values of ContentType |
pgpKeyId |
string |
The cryptographic fingerprint of the key used to generate the signature,
as output by, e.g.
Above, the fingerprint is |