Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Configuration for cargo-audit
# This file defines security advisories to ignore, mirroring the exceptions in deny.toml

[advisories]
# List of advisory IDs to ignore (extracted from deny.toml)
ignore = [
"RUSTSEC-2023-0071", # rsa
"RUSTSEC-2024-0436", # unmaintained paste
]
17 changes: 7 additions & 10 deletions .github/workflows/main_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,17 @@ on:
type: string

jobs:
cargo-audit:
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: EmbarkStudios/cargo-deny-action@v2

cargo-lint:
uses: Cosmian/reusable_workflows/.github/workflows/clippy.yml@develop
with:
toolchain: ${{ inputs.toolchain }}

cargo-deny:
uses: Cosmian/reusable_workflows/.github/workflows/cargo-audit.yml@develop
name: Security Audit
with:
toolchain: ${{ inputs.toolchain }}

cargo-machete:
uses: Cosmian/reusable_workflows/.github/workflows/cargo-machete.yml@develop
with:
Expand Down Expand Up @@ -100,7 +97,7 @@ jobs:
release:
name: release
needs:
- cargo-audit
- cargo-deny
- cargo-lint
- build
uses: Cosmian/reusable_workflows/.github/workflows/push-artifacts.yml@develop
Expand Down
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ feature-depth = 1
# output a note when they are encountered.
ignore = [
{ id = "RUSTSEC-2023-0071", reason = "rsa" },
{ id = "RUSTSEC-2024-0388", reason = "unmaintained derivative" },
{ id = "RUSTSEC-2024-0384", reason = "unmaintained instant" },
{ id = "RUSTSEC-2024-0416", reason = "unmaintained atk-sys" },
{ id = "RUSTSEC-2024-0418", reason = "unmaintained gdk-sys" },
{ id = "RUSTSEC-2024-0420", reason = "unmaintained gtk-sys" },
{ id = "RUSTSEC-2024-0436", reason = "unmaintained paste" },

#{ id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" },
Expand All @@ -100,6 +95,7 @@ allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"GPL-3.0",
"GPL-3.0-or-later",
"ISC",
"Zlib",
"MPL-2.0",
Expand All @@ -109,6 +105,7 @@ allow = [
"BSL-1.0",
"BUSL-1.1",
"AGPL-3.0",
"AGPL-3.0-only",
"Unicode-3.0",
"OFL-1.1",
"LicenseRef-UFL-1.0",
Expand Down
2 changes: 1 addition & 1 deletion test_data
Submodule test_data updated 1 files
+1 −1 .gitignore
Loading