-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
79 lines (73 loc) · 2.61 KB
/
Copy pathdeny.toml
File metadata and controls
79 lines (73 loc) · 2.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Configuration for `cargo deny` — used by the weekly Security audit
# workflow. Tweak rules conservatively: this gate runs on every Cargo.lock
# change and false positives are friction.
[graph]
# Only check the targets we actually support.
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "aarch64-apple-darwin" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
]
[advisories]
version = 2
yanked = "deny"
ignore = [
# RUSTSEC-2023-0071 — "Marvin Attack" timing side-channel in PKCS#1 v1.5
# RSA decryption (rsa crate, no fixed upstream release as of 2026-04).
#
# Not applicable to this crate. We only ever ENCRYPT with IG's public
# key in `session::encryption::encrypt_password` (RsaPublicKey::encrypt),
# never decrypt. The Marvin attack requires a victim that decrypts
# ciphertexts and exposes timing information; we hold no private key
# and run no decryption code. See SECURITY.md for the full rationale.
#
# This ignore should be removed once `rsa` ships a fix
# (https://github.com/RustCrypto/RSA/issues/19).
"RUSTSEC-2023-0071",
]
[licenses]
version = 2
# License families we accept upstream. All permissive, OSI-approved,
# commercial-friendly. No copyleft (GPL/LGPL/AGPL).
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0", # Boost — pulled in transitively by polars (xxhash-rust)
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"MPL-2.0",
"CDLA-Permissive-2.0",
"OpenSSL",
]
confidence-threshold = 0.9
exceptions = []
# Some crates ship a LICENSE file but forget to declare `license = "..."`
# in their Cargo.toml. cargo-deny treats these as "no license" and
# rejects them by default. The clarifications below override that
# verdict with the license actually present in the package's source.
[[licenses.clarify]]
crate = "polars-arrow-format@0.1.0"
expression = "Apache-2.0"
# `license-files = []` means "trust the maintainer-asserted expression
# above without hashing the LICENSE file" — acceptable here because the
# package is a thin re-export of the upstream Apache-2.0 arrow-format
# crate from the polars project. If you bump the version, double-check
# the LICENSE file before extending this clarification.
license-files = []
[bans]
multiple-versions = "warn" # only warn — transitive duplicates are common
wildcards = "warn"
highlight = "all"
allow = []
deny = []
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []