Please upgrade aqua, aqua-installer, and aqua-registry to solve the issue regarding a new TUF trust root for Sigstore #2768
Pinned
suzuki-shunsuke
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is an important announcement for aqua users, so please read and follow it.
Recently, aqua faced a trouble regarding a new TUF trust root for Sigstore.
Some people would face errors when they use aqua and aqua-installer.
To solve the issue, please follow the guide.
What should you do?
AQUA_DISABLE_COSIGN
andAQUA_DISABLE_SLSA
if you want to re-enable the verification with Cosign and slsa-verifierThe checksum of aqua-installer v3.0.0.
Background
In this section, we described the background of the announcement, but you don't necessarily have to read this.
Please read this if you're interested in.
aqua uses Cosign and slsa-verifier to verify some packages.
Sigstore has published a new TUF trust root at 2024-03-20.
This broke aqua because aqua uses Cosign v1 and the new TUF trust root doesn't support Cosign v1.
aqua caused the following error.
And if you use an old aqua, aqua would cause the following error because an old aqua uses an old slsa-verifier.
aqua-installer ran
aqua update-aqua
command to install aqua but the command caused the above error.This means aqua-installer also got broken.
Furthermore, we uses the reusable workflow slsa-github-generator to release aqua but the workflow also got broken due to the update of TUF trust root.
So we couldn't release a new version to resolve the issue until slsa-github-generator was fixed.
How did we handle the issue?
We did two actions.
We had to upgrade Cosign to v2 to solve the issue completely, but we couldn't do that soon, so we decided to disable the verification by Cosign and slsa-verifier first.
We released aqua-installer v2.3.1 and v2.3.2 and suggested to disable Cosign and slsa-verifier using environment variables X (twitter.
Same with aqua-installer, we released circleci-orb-aqua 0.3.4 to disable Cosign and slsa-verifier.
Fortunately, slsa-github-generator v1.10.0 was released and the issue of slsa-github-generator was solved.
error updating to TUF remote mirror: invalid key
slsa-framework/slsa-github-generator#3350So we upgraded Cosign used in aqua to v2.2.3 and release aqua v2.25.1.
Furthermore, we released aqua-installer v3.0.0 to upgrade the bootstrap version of aqua in aqua-installer to v2.25.1 and re-enable the verification with Cosign and slsa-verifier.
This release re-enabled the verification with Cosign and slsa-verifier, so you have to upgrade aqua to v2.25.1 or later.
Same with aqua-installer, we released circleci-orb-aqua 0.4.0 to upgrade the bootstrap version of aqua to v2.25.1 and re-enable the verification with Cosign and slsa-verifier.
Some packages in the Standard Registry use Cosign but Cosign v2 requires additional options compared with Cosign v1, so we had to update those packages to support Cosign v2.
Beta Was this translation helpful? Give feedback.
All reactions