Skip to content

Commit

Permalink
v2.0: ignore tonic audit report (#3051)
Browse files Browse the repository at this point in the history
* fix audit

* add more comment
  • Loading branch information
yihau authored Oct 2, 2024
1 parent 1715788 commit 4cc7b90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/do-audit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ cargo_audit_ignores=(

# curve25519-dalek
--ignore RUSTSEC-2024-0344

# tonic
# When using tonic::transport::Server there is a remote DoS attack that can cause
# the server to exit cleanly on accepting a tcp/tls stream.
# Ignoring because we do not use this functionality.
--ignore RUSTSEC-2024-0376
)
scripts/cargo-for-all-lock-files.sh audit "${cargo_audit_ignores[@]}" | $dep_tree_filter
# we want the `cargo audit` exit code, not `$dep_tree_filter`'s
Expand Down

0 comments on commit 4cc7b90

Please sign in to comment.