To start signing distroless we integrated cosign into the distroless CI system, which builds and pushes images via Cloud Build. Signing every distroless image was as easy as adding an additional
Cloud Build step to the Cloud Build job responsible for building and pushing the images. This additional step uses the cosign container image and a key pair stored in
GCP KMS to sign every distroless image. With this additional signing step, users can now verify that the distroless image they’re running was built in the correct CI environment.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYWd7wsjxiM7bpB_jblQZDPO5kyWFIkovcnCFDyZwq9OEHgKEQ3W0O8-lBkd_l6v8jsud_YQUQcNMjf6rLO55snX76yNBwsh6pPbiJtCvuik6BS_3tbfn2c7m-OSxeZ77UHfK3TqAEaf4l8KmjWog43EbIgYuCHI1dkKDAS8oS8ybhKDH7rSH_H4rD/w640-h480/distroless.png)
Right now, cosign can be run as an image or as a CLI tool. It supports:
- Hardware and KMS signing
- Bring-your-own PKI
- Our free OIDC PKI (Fulcio)
- Built-in binary transparency and timestamping service (Rekor)
Signing distroless with cosign is just the beginning, and we plan to incorporate other sigstore technologies into distroless to continue to improve it over the next few months. We also can’t wait to integrate sigstore with other critical projects. Stay tuned here for updates! To get started verifying your own distrolesss images, check out the distroless
README and to learn more about sigstore, check out
sigstore.dev.
No comments :
Post a Comment