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

Ensure that builds are deterministic and enforce with tests #3097

Open
kristovatlas opened this issue Nov 8, 2024 · 0 comments
Open

Ensure that builds are deterministic and enforce with tests #3097

kristovatlas opened this issue Nov 8, 2024 · 0 comments
Labels
security Security-sensitive issue

Comments

@kristovatlas
Copy link
Contributor

Description

Ideally, the build process for Gno should be fully deterministic such that all binaries built for the same target platform produce the same sha-256 hash.

Deterministic builds ensure that a given source code always produces the same binary output, regardless of external factors like build environment or timing. This reduces the risk of introducing hidden vulnerabilities, as developers can verify the integrity and authenticity of the build. It also makes it easier to track changes, reproduce builds for auditing, and prevent supply chain attacks where malicious modifications might go undetected in the build process.

If this not already the case, once we achieve this milestone, it should be enforced in the CI/CD pipeline to prevent regression.

Reference: https://go.dev/blog/rebuild

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Security-sensitive issue
Projects
Status: Triage
Development

No branches or pull requests

1 participant