-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Support disabling the verification with Cosign and slsa-verifier #2633
Comments
@tuananh |
it seems to work. thanks a lot :) |
Thank you! v2.22.0 is out 🎉 |
aqua-installer v2.3.0 is out 🎉 https://github.com/aquaproj/aqua-installer/releases/tag/v2.3.0 To disable the verification when you install aqua with aqua-installer, please use aqua-installer v2.3.0 or newer and set the environment variables export AQUA_DISABLE_COSIGN=true
export AQUA_DISABLE_SLSA=true
./aqua-installer - uses: aquaproj/aqua-installer@v2.3.0
with:
aqua_version: v2.22.0
env:
AQUA_DISABLE_COSIGN: "true"
AQUA_DISABLE_SLSA: "true" |
Feature Overview
Support disabling the verification with Cosign and slsa-verifier.
Why is the feature needed?
Original discussion: https://github.com/orgs/aquaproj/discussions/2631
Cosign and sla-verifier access some endpoints such as
oauth2.sigstore.dev
andfulcio.sigstore.dev
.So to use them you need to allow the access to these endpoints.
But in some use cases you can't or don't want to do that.
For example, your company's network policy might not allow the access to these endpoints.
To resolve the issue, this issue proposes to support disabling the verification with Cosign and slsa-verifier.
Workaround
There is no workaround.
Example Code
e.g.
e.g.
Note
This feature isn't good in terms of security,
but I don't think the disabling the verification with Cosign and slsa-verifier causes the security threats immediately.
And most packages don't support Cosign and slsa-verifier, so the affect is limited.
I don't want to require users to allow the access to those endpoints.
The text was updated successfully, but these errors were encountered: