Skip to content

Commit

Permalink
Add cargo vet configuration
Browse files Browse the repository at this point in the history
Since we only target Linux x86_64 machines, I ignored all the obvious
Windows/WASM/Redox dependencies. In the future it seems like we should
be able to set an explicit target for this (mozilla/cargo-vet#63).

We import the Firefox audits to help reduce review load; the SecureDrop
security model relies on Firefox already via Tor Browser.

Refs #6500
  • Loading branch information
legoktm committed Jun 5, 2023
1 parent baf00e9 commit 10a54ec
Show file tree
Hide file tree
Showing 3 changed files with 478 additions and 0 deletions.
14 changes: 14 additions & 0 deletions supply-chain/audits.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

# cargo-vet audits file

[[audits.libc]]
who = "Kunal Mehta <legoktm@debian.org>"
criteria = "safe-to-deploy"
version = "0.2.126"
notes = "Managed by Rust project"

[[audits.rustversion]]
who = "Kunal Mehta <legoktm@debian.org>"
criteria = "safe-to-deploy"
delta = "1.0.9 -> 1.0.11"

61 changes: 61 additions & 0 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@

# cargo-vet config file

[imports.firefox]
url = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[policy.js-sys]
criteria = []
notes = "WASM-only"

[policy.redox_syscall]
criteria = []
notes = "Redox OS-only"

[policy.redox_users]
criteria = []
notes = "Redox OS-only"

[policy.redwood]
audit-as-crates-io = false

[policy.wasi]
criteria = []
notes = "WASM-only"

[policy.wasm-bindgen]
criteria = []
notes = "WASM-only"

[policy.winapi]
criteria = []
notes = "Windows-only"

[policy.windows-sys]
criteria = []
notes = "Windows-only"

[policy.windows_aarch64_gnullvm]
criteria = []
notes = "Windows-only"

[policy.windows_aarch64_msvc]
criteria = []
notes = "Windows-only"

[policy.windows_i686_gnu]
criteria = []
notes = "Windows-only"

[policy.windows_x86_64_gnu]
criteria = []
notes = "Windows-only"

[policy.windows_x86_64_gnullvm]
criteria = []
notes = "Windows-only"

[policy.windows_x86_64_msvc]
criteria = []
notes = "Windows-only"

Loading

0 comments on commit 10a54ec

Please sign in to comment.