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

Run cargo audit on committed Cargo.lock #1315

Merged
merged 4 commits into from
Apr 18, 2024
Merged

Conversation

sveitser
Copy link
Collaborator

The current audit action regenerates the lock file which may hide vulnerabilities in our binaries.

Ensure binaries are built with committed lock file by adding the --locked flag. Note the --locked flag is currently documented in a confusing way in cargo --help.

A fix for that has been merged into cargo recently:

rust-lang/cargo#13665

The current audit action regenerates the lock file which may hide
vulnerabilities in our binaries.

Ensure binaries are built with committed lock file by adding the
`--locked` flag. Note the `--locked` flag is currently documented in a
confusing way in `cargo --help`.

A fix for that has been merged into cargo recently:

rust-lang/cargo#13665
@sveitser sveitser enabled auto-merge (squash) April 18, 2024 06:16
@sveitser sveitser merged commit 752608b into main Apr 18, 2024
14 checks passed
@sveitser sveitser deleted the ma/cargo-audit-use-lock-file branch April 18, 2024 08:36
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.

2 participants