-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker:Sign docker images without keys and push to ghcr.io #5818
base: master
Are you sure you want to change the base?
docker:Sign docker images without keys and push to ghcr.io #5818
Conversation
Here is the docker image from my push https://github.com/naveensrinivasan/lnd/pkgs/container/lnd |
41c0a93
to
dcf8ab6
Compare
Sign docker images without keys
dcf8ab6
to
962b4ed
Compare
Not including the release notes as this one is not yet decided. |
@guggero Friendly Ping. |
Thanks for the PR. I took a quick look at the keyless signing with If instead we could all build the images locally, sign the digest and upload that signature to GitHub in a way that cosign could verify them, that would be great. But I'm not sure that's currently possible? Also we'd want to re-use our RSA keys for signing the images. Perhaps for now we can just add an action to |
https://twitter.com/kelseyhightower/status/1502112834120937477 Also, some interesting things are coming out of SLSA with build provenance https://github.com/slsa-framework/slsa https://github.com/gossts/slsa-provenance, there soon be a blog post on this along with a white paper on generating build-provenance and signing within the GitHub workflow |
Realized after grokking the btcd version of this PR, that it's actually pretty useful. |
@naveensrinivasan, remember to re-request review from reviewers when ready |
Closing due to inactivity |
7 similar comments
Closing due to inactivity |
Closing due to inactivity |
Closing due to inactivity |
Closing due to inactivity |
Closing due to inactivity |
Closing due to inactivity |
Closing due to inactivity |
!lightninglabs-deploy mute |
Sign docker images without keys and push to ghcr.io
Sign docker containers without using keys. This uses GitHub as an OIDC provider and signs the image.https://github.com/sigstore/cosign/blob/main/KEYLESS.md, when there aren't keys like
lnd/.github/workflows/docker.yml
Line 30 in c43b9e4
This solves #5728
Docker Image validated
These images are signed which means they can be validated. This can potentially replace verify-install #5780
Here is the validation of the signature.
What is cosign and Sigstore?
https://www.sigstore.dev
Sigstore trusts
https://github.com/sigstore/root-signing
How it works
https://www.sigstore.dev/how-it-works
Can I run my own transparency log?
Yes, https://github.com/sigstore/rekor