Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.58 KB

ApiBuildSignature.md

File metadata and controls

13 lines (9 loc) · 1.58 KB

ApiBuildSignature

Properties

Name Type Description Notes
public_key str Public key of the builder which can be used to verify that the related findings are valid and unchanged. If `key_type` is empty, this defaults to PEM encoded public keys. This field may be empty if `key_id` references an external key. For Cloud Container Builder based signatures, this is a PEM encoded public key. To verify the Cloud Container Builder signature, place the contents of this field into a file (public.pem). The signature field is base64-decoded into its binary representation in signature.bin, and the provenance bytes from `BuildDetails` are base64-decoded into a binary representation in signed.bin. OpenSSL can then verify the signature: `openssl sha256 -verify public.pem -signature signature.bin signed.bin` [optional]
signature str Signature of the related `BuildProvenance`, encoded in a base64 string. [optional]
key_id str An Id for the key used to sign. This could be either an Id for the key stored in `public_key` (such as the Id or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service). [optional]
key_type BuildSignatureKeyType [optional]

[Back to Model list] [Back to API list] [Back to README]