Skip to content

feat: verify installer downloads with cosign #5794

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

Closed
wants to merge 1 commit into from
Closed

Conversation

scop
Copy link
Contributor

@scop scop commented May 11, 2025

Depends on #5793

return 0
fi
checksums=$1
http_download "${tmpdir}/${CHECKSUM_COSIGN_BUNDLE}" "${CHECKSUM_COSIGN_BUNDLE_URL}"
Copy link
Contributor Author

@scop scop May 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fail for releases that don't have hose signed checksum .cosign.bundles. I suppose we should address it somehow, but I'm not sure what would be the best way. Some thoughts:

  • Hardcode some version comparison, don't try it for versions known to not have it? This is somewhat a chore to do in the shell script.
  • Skip verify if downloading the cosign bundle fails due to HTTP 404? Not sure if there's a good way to implement that for wget.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An example of this problem can be seen in the CI failure of this PR.

@ldez
Copy link
Member

ldez commented May 11, 2025

please use your fork.

@ldez ldez closed this May 11, 2025
@ldez ldez added the declined label May 11, 2025
@ldez ldez deleted the feat/installer-cosign branch May 11, 2025 15:41
@scop
Copy link
Contributor Author

scop commented May 15, 2025

please use your fork.

#5806

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

Successfully merging this pull request may close these issues.

2 participants