Skip to content

Run cargo audit on committed Cargo.lock#1315

Merged
sveitser merged 4 commits intomainfrom
ma/cargo-audit-use-lock-file
Apr 18, 2024
Merged

Run cargo audit on committed Cargo.lock#1315
sveitser merged 4 commits intomainfrom
ma/cargo-audit-use-lock-file

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
@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