Skip to main content

Change the specification of require_checksum

#1681 #1686

The specification of require_checksum is changed.

AS IS

If require_checksum is true, it fails to install a package when the checksum isn't found in aqua-checksums.json and the package's checksum configuration is disabled.

TO BE

If this is true, it fails to install a package when the checksum isn't found in aqua-checksums.json.

Why this change is needed

To enforce the checksum verification and improve the security. Checksum Verification has a trade off between security and user experience.

require_checksum will be changed from aqua v2.

Note that checksum verification is still disabled by default. We think it is a bit difficult to enable checksum verification by default in terms of user experience. Unfortunately, many users don't think checksum verification is mandatory.

How to migrate

We recommend updating aqua-checksums.json by GitHub Actions.