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

[feature] Consider Implementing Code Signing and Providing Hash Lists for Conan Releases #16614

Closed
czoido opened this issue Jul 5, 2024 · 2 comments
Assignees
Milestone

Comments

@czoido
Copy link
Contributor

czoido commented Jul 5, 2024

Coment from Slack:

Hi folks, does anyone know why Conan releases aren't code-signed (e.g. by JFrog) or come at the very least with a hash list to integrity-check the download? I tried looking for open or closed tickets, but the sheer number was overwhelming, so I am not sure if this came up before.
Essentially anything I get I have to take at face value and I have no way of telling whether it is what was uploaded. A hash list and potentially a PGP-signature would already help as well.
Other projects use JSON or YAML files to describe the artifacts in a release which can then also be used by Chocolatey or WinGet to automate the releases to those package managers.

We could consider implementing code signing for the releases to allow users to verify that the files have indeed been issued by us and have not been altered since they were signed.

Providing a hash list (e.g., SHA-256) for each release would enable users to check the integrity of the downloaded files against the provided hashes.

@czoido czoido added this to the 2.6.0 milestone Jul 5, 2024
@gerowam
Copy link

gerowam commented Jul 17, 2024

Just want to bump this. We're in a fairly high-security environment, and so far Conan 2 has been amazing, but we'll need to wait until a feature like this is available before we start using it for our production builds.

@czoido
Copy link
Contributor Author

czoido commented Aug 1, 2024

Hi @gerowam,

Thanks for your comments. Since version 2.6.0, which has just been released, we are signing the tag for the release and also providing a file with the hashes for all the released files along with the signed hashes.
You can check the new release here: https://github.com/conan-io/conan/releases/tag/2.6.0
The GPG key ID is: B6A4BE3775D17B04

Closing this issue as completed. Please, feel free reopen or open a new issue for any more questions about this.

@czoido czoido closed this as completed Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants