clawchain/alloy/deny.toml

68 lines
1.8 KiB
TOML

[advisories]
version = 2
yanked = "warn"
ignore = [
# https://rustsec.org/advisories/RUSTSEC-2024-0437, trezor-client dependency, no fix available yet
"RUSTSEC-2024-0437",
# https://rustsec.org/advisories/RUSTSEC-2024-0436
"RUSTSEC-2024-0436",
# https://rustsec.org/advisories/RUSTSEC-2025-0137 `reciprocal_mg10` OOB, unused
"RUSTSEC-2025-0137",
# https://rustsec.org/advisories/RUSTSEC-2025-0141 bincode is unmaintained, need to transition all deps to wincode first
"RUSTSEC-2025-0141",
]
[bans]
multiple-versions = "warn"
wildcards = "deny"
highlight = "all"
[licenses]
version = 2
confidence-threshold = 0.8
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-3-Clause",
"BSD-2-Clause",
"0BSD",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Unlicense",
"MPL-2.0",
"Zlib",
# https://github.com/briansmith/ring/issues/902
"LicenseRef-ring",
"CDLA-Permissive-2.0",
]
exceptions = [
# CC0 is a permissive license but somewhat unclear status for source code
# so we prefer to not have dependencies using it
# https://tldrlegal.com/license/creative-commons-cc0-1.0-universal
{ allow = ["CC0-1.0"], name = "tiny-keccak" },
{ allow = ["CC0-1.0"], name = "trezor-client" },
{ allow = ["CC0-1.0"], name = "secp256k1" },
{ allow = ["CC0-1.0"], name = "secp256k1-sys" },
{ allow = ["BSD-2-Clause"], name = "zerocopy" },
# aws-lc-sys includes OpenSSL-licensed code from AWS-LC
{ allow = ["OpenSSL"], name = "aws-lc-sys" },
]
[[licenses.clarify]]
name = "ring"
expression = "LicenseRef-ring"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[[licenses.clarify]]
name = "webpki"
expression = "LicenseRef-webpki"
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]
[sources]
unknown-registry = "deny"
unknown-git = "deny"