Skip to content

Build cargo-generate-rpm from source in the release - #71

Merged
ivankovic merged 2 commits into
mainfrom
ci-generate-rpm-from-source
Nov 11, 2026
Merged

ivankovic merged 2 commits into
mainfrom
ci-generate-rpm-from-source

Conversation

@ivankovic

Copy link
Copy Markdown
Owner

From a security check of the workflows. cargo-generate-rpm is not in install-action's checksummed manifest, so install-action fell back to an unpinned cargo-binstall@latest, which installed a binary built by QuickInstall (a third party), as the CI log shows. In release.yml that binary writes the .rpm the release then attests. cargo install --locked --version 0.21.1 builds the published crate from crates.io instead. Introduced in #70; no release has used it yet.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FNs394W7GMp53qrHNPrACN

ivankovic and others added 2 commits November 11, 2026 08:57
install-action has no checksummed manifest entry for it, so it fell back
to an unpinned cargo-binstall, which fetched a binary QuickInstall built.
That binary writes the .rpm the release attests. cargo install --locked
builds the published crate instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FNs394W7GMp53qrHNPrACN
rust-cache had restored QuickInstall's binary there, and cargo install
then skipped the build as already installed. Install to a directory of
its own, and remove the cached copy in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FNs394W7GMp53qrHNPrACN
@ivankovic
ivankovic merged commit e8874b9 into main Nov 11, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant