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

Update cargo vet and add trusted publishers #434

Merged
merged 1 commit into from
Jul 13, 2023
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
4 changes: 2 additions & 2 deletions .github/workflows/cargo-vet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: cargo_vet
runs-on: ubuntu-latest
env:
CARGO_VET_VERSION: 0.6.1
CARGO_VET_VERSION: 0.8.0
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable && rustup default stable
- uses: actions/cache@v3
Expand Down
102 changes: 94 additions & 8 deletions supply-chain/audits.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ who = "Jeff Charles <[email protected]>"
criteria = "safe-to-deploy"
version = "1.0.0"

[[audits.proc-macro2]]
who = "Surma <[email protected]>"
criteria = "safe-to-deploy"
version = "1.0.59"

[[audits.quickjs-wasm-rs]]
who = "Jeff Charles <[email protected]>"
criteria = "safe-to-deploy"
Expand All @@ -26,7 +21,98 @@ who = "Jeff Charles <[email protected]>"
criteria = "safe-to-deploy"
version = "1.0.0"

[[audits.quote]]
who = "Surma <[email protected]>"
[[trusted.async-trait]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-07-23"
end = "2024-07-12"

[[trusted.itoa]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-05-02"
end = "2024-07-12"

[[trusted.num-traits]]
criteria = "safe-to-deploy"
user-id = 539 # Josh Stone (cuviper)
start = "2019-05-20"
end = "2024-07-12"

[[trusted.paste]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-03-19"
end = "2024-07-12"

[[trusted.proc-macro-hack]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-04-16"
end = "2024-07-12"

[[trusted.rayon]]
criteria = "safe-to-deploy"
user-id = 539 # Josh Stone (cuviper)
start = "2019-06-13"
end = "2024-07-12"

[[trusted.rayon-core]]
criteria = "safe-to-deploy"
user-id = 539 # Josh Stone (cuviper)
start = "2019-06-13"
end = "2024-07-12"

[[trusted.rustversion]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-07-08"
end = "2024-07-12"

[[trusted.ryu]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-05-02"
end = "2024-07-12"

[[trusted.scopeguard]]
criteria = "safe-to-deploy"
user-id = 2915 # Amanieu d'Antras (Amanieu)
start = "2020-02-16"
end = "2024-07-12"

[[trusted.serde]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-03-01"
end = "2024-07-12"

[[trusted.serde_bytes]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-02-25"
end = "2024-07-12"

[[trusted.serde_derive]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-03-01"
end = "2024-07-12"

[[trusted.serde_json]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-02-28"
end = "2024-07-12"

[[trusted.syn]]
criteria = "safe-to-deploy"
user-id = 3618 # David Tolnay (dtolnay)
start = "2019-03-01"
end = "2024-07-12"

[[trusted.unicode-ident]]
criteria = "safe-to-deploy"
version = "1.0.28"
user-id = 3618 # David Tolnay (dtolnay)
start = "2021-10-02"
end = "2024-07-12"
92 changes: 15 additions & 77 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# cargo-vet config file

[cargo-vet]
version = "0.6"
version = "0.8"

[imports.bytecode-alliance]
url = "https://raw.githubusercontent.com/bytecodealliance/wasmtime/main/supply-chain/audits.toml"
Expand All @@ -25,6 +25,9 @@ url = "https://raw.githubusercontent.com/mozilla/supply-chain/main/audits.toml"
[policy.binaryen]
audit-as-crates-io = true

[policy.binaryen-sys]
audit-as-crates-io = true

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

Expand All @@ -37,6 +40,9 @@ audit-as-crates-io = false
[policy.quickjs-wasm-sys]
audit-as-crates-io = false

[policy.wizer]
audit-as-crates-io = true

[[exemptions.Inflector]]
version = "0.11.4"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -77,10 +83,6 @@ criteria = "safe-to-deploy"
version = "0.9.5"
criteria = "safe-to-deploy"

[[exemptions.async-trait]]
version = "0.1.52"
criteria = "safe-to-deploy"

[[exemptions.better_scoped_tls]]
version = "0.1.1"
criteria = "safe-to-deploy"
Expand All @@ -89,6 +91,10 @@ criteria = "safe-to-deploy"
version = "0.12.1@git:00c98174843f957681ba0bc5cdcc9d15f5d0cb23"
criteria = "safe-to-deploy"

[[exemptions.binaryen-sys]]
version = "0.12.1@git:00c98174843f957681ba0bc5cdcc9d15f5d0cb23"
criteria = "safe-to-deploy"

[[exemptions.bincode]]
version = "1.3.3"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -350,14 +356,6 @@ criteria = "safe-to-deploy"
version = "0.10.3"
criteria = "safe-to-deploy"

[[exemptions.itoa]]
version = "0.4.8"
criteria = "safe-to-run"

[[exemptions.itoa]]
version = "1.0.4"
criteria = "safe-to-deploy"

[[exemptions.jobserver]]
version = "0.1.24"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -455,10 +453,6 @@ criteria = "safe-to-deploy"
version = "0.4.3"
criteria = "safe-to-run"

[[exemptions.num-traits]]
version = "0.2.14"
criteria = "safe-to-deploy"

[[exemptions.num_cpus]]
version = "1.13.1"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -491,10 +485,6 @@ criteria = "safe-to-deploy"
version = "0.9.8"
criteria = "safe-to-deploy"

[[exemptions.paste]]
version = "1.0.6"
criteria = "safe-to-deploy"

[[exemptions.phf]]
version = "0.10.1"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -539,14 +529,6 @@ criteria = "safe-to-deploy"
version = "1.0.4"
criteria = "safe-to-deploy"

[[exemptions.proc-macro-hack]]
version = "0.5.19"
criteria = "safe-to-deploy"

[[exemptions.proc-macro2]]
version = "1.0.63"
criteria = "safe-to-deploy"

[[exemptions.psm]]
version = "0.1.17"
criteria = "safe-to-deploy"
Expand All @@ -567,14 +549,6 @@ criteria = "safe-to-deploy"
version = "0.6.3"
criteria = "safe-to-deploy"

[[exemptions.rayon]]
version = "1.5.1"
criteria = "safe-to-deploy"

[[exemptions.rayon-core]]
version = "1.9.1"
criteria = "safe-to-deploy"

[[exemptions.redox_syscall]]
version = "0.2.10"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -619,14 +593,6 @@ criteria = "safe-to-deploy"
version = "0.37.3"
criteria = "safe-to-deploy"

[[exemptions.rustversion]]
version = "1.0.12"
criteria = "safe-to-deploy"

[[exemptions.ryu]]
version = "1.0.9"
criteria = "safe-to-deploy"

[[exemptions.same-file]]
version = "1.0.6"
criteria = "safe-to-deploy"
Expand All @@ -639,10 +605,6 @@ criteria = "safe-to-deploy"
version = "1.0.1"
criteria = "safe-to-deploy"

[[exemptions.scopeguard]]
version = "1.1.0"
criteria = "safe-to-deploy"

[[exemptions.security-framework]]
version = "2.9.1"
criteria = "safe-to-deploy"
Expand All @@ -659,26 +621,10 @@ criteria = "safe-to-deploy"
version = "0.7.0"
criteria = "safe-to-deploy"

[[exemptions.serde]]
version = "1.0.136"
criteria = "safe-to-deploy"

[[exemptions.serde-transcode]]
version = "1.1.1"
criteria = "safe-to-deploy"

[[exemptions.serde_bytes]]
version = "0.11.7"
criteria = "safe-to-run"

[[exemptions.serde_derive]]
version = "1.0.136"
criteria = "safe-to-deploy"

[[exemptions.serde_json]]
version = "1.0.79"
criteria = "safe-to-deploy"

[[exemptions.sha2]]
version = "0.10.6"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -799,14 +745,6 @@ criteria = "safe-to-deploy"
version = "0.5.8"
criteria = "safe-to-deploy"

[[exemptions.syn]]
version = "1.0.109"
criteria = "safe-to-deploy"

[[exemptions.syn]]
version = "2.0.22"
criteria = "safe-to-deploy"

[[exemptions.target-lexicon]]
version = "0.12.3"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -880,10 +818,6 @@ criteria = "safe-to-deploy"
version = "0.3.3"
criteria = "safe-to-deploy"

[[exemptions.unicode-ident]]
version = "1.0.6"
criteria = "safe-to-deploy"

[[exemptions.uuid]]
version = "0.8.2"
criteria = "safe-to-run"
Expand Down Expand Up @@ -1040,6 +974,10 @@ criteria = "safe-to-deploy"
version = "0.9.1"
criteria = "safe-to-deploy"

[[exemptions.wizer]]
version = "1.6.1-beta.4@git:3acc39cc561e7f985f163a2c8e89259a0dfc2f2f"
criteria = "safe-to-deploy"

[[exemptions.zstd]]
version = "0.11.2+zstd.1.5.2"
criteria = "safe-to-deploy"
Expand Down
Loading