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 reproducible builds to automate security auditing of binary artifacts #1915

Open
ogrisel opened this issue Mar 13, 2023 · 2 comments
Labels

Comments

@ogrisel
Copy link

ogrisel commented Mar 13, 2023

Your question:

Has the conda-forge project any plans to make (some of) the builds byte-for-byte reproducible?

And if so (or if they already are in some cases) has the project plans for documenting or developing some tooling to automatically re-build and compare the checksum for packages potentially impacted by a security breach of one of the infrastructure providers (e.g. a CI provider) as recently happened with Circle CI?

The auditing of packages with reproducible builds could be triggered manually after specific security breach events.

It could also happen continuously (at least for the most popular packages to save CI costs), by running on different CI providers (for the most common CPU architectures) to have them cross-validate one another to be able to check that not any of them is corrupting the generated binary artifacts with a malware infected compiler for instance.

Note that, under Linux, the docker image itself should ideally be made reproducible to be able to check that it has not been tempered with. For Operating Systems without docker... I don't know what to do beyond trusting that different CI providers do not share tempered compilers and system libraries.

@isuruf
Copy link
Member

isuruf commented Mar 13, 2023

Duplicate of conda/conda-build#2140

@isuruf isuruf marked this as a duplicate of conda/conda-build#2140 Mar 13, 2023
@ogrisel
Copy link
Author

ogrisel commented Mar 13, 2023

Note that conda/conda-build#2140 is "only" the first step. Having extra tools and doc to automate cross-checking of reproduced builds by different CI providers was not discussed as part of conda/conda-build#2140.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants