Skip to content
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 enforcing the checksum verification #2702

Closed
suzuki-shunsuke opened this issue Feb 22, 2024 · 1 comment · Fixed by #2806
Closed

Support enforcing the checksum verification #2702

suzuki-shunsuke opened this issue Feb 22, 2024 · 1 comment · Fixed by #2806

Comments

@suzuki-shunsuke
Copy link
Member

suzuki-shunsuke commented Feb 22, 2024

Feature Overview

Support enforcing the checksum verification by the environment variables.

Why is the feature needed?

To improve the security.
If you manage aqua.yaml on multiple directories in a Monorepo and you want to enforce the checksum verification for all aqua.yaml, this feature is useful.

Workaround

No response

Example Code

export AQUA_ENFORCE_CHECKSUM=true
export AQUA_ENFORCE_REQUIRE_CHECKSUM=true

If the environment variable is true, the checksum verification gets enabled even if it is disabled in aqua.yaml.

Note

No response

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Feb 22, 2024
@suzuki-shunsuke suzuki-shunsuke moved this to Todo in main Mar 10, 2024
@suzuki-shunsuke
Copy link
Member Author

The Configuration file setting checksum.require_checksum takes precedence over the environment variable AQUA_REQUIRE_CHECKSUM.

So we'll introduce the new environment variable AQUA_CHECKSUM, AQUA_ENFORCE_CHECKSUM, and AQUA_ENFORCE_REQUIRE_CHECKSUM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant