forked from doy/rbw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
65 lines (59 loc) · 1.5 KB
/
deny.toml
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
[graph]
targets = [
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-apple-darwin" },
{ triple = "aarch64-apple-darwin" },
]
[advisories]
version = 2
yanked = "deny"
ignore = [
# this is a timing attack against using the rsa crate for encryption, but
# we only use rsa decryption here
"RUSTSEC-2023-0071",
]
[bans]
multiple-versions = "deny"
wildcards = "deny"
deny = [
{ name = "openssl-sys" },
]
skip = [
# the ecosystem is pretty split on these at the moment, should keep an
# eye on this to remove once more things have standardized on version 2
{ name = "bitflags", version = "1.3.2" },
{ name = "bitflags", version = "2.4.1" },
# see https://github.com/dignifiedquire/num-bigint/pull/58 and
# https://github.com/RustCrypto/RSA/issues/390 which should hopefully
# resolve this soon
{ name = "spin", version = "0.5.2" },
{ name = "spin", version = "0.9.8" },
]
[licenses]
version = 2
allow = [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause",
"Apache-2.0",
"ISC",
"Unicode-DFS-2016",
]
exceptions = [
{ name = "ring", allow = ["OpenSSL", "MIT", "ISC"] }
]
[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]
[[licenses.clarify]]
name = "encoding_rs"
version = "*"
expression = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
license-files = [
{ path = "COPYRIGHT", hash = 0x39f8ad31 }
]