forked from wireapp/core-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeny.toml
78 lines (70 loc) · 2.02 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
66
67
68
69
70
71
72
73
74
75
76
77
78
targets = [
# Desktop
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "aarch64-apple-darwin" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
# WASM
{ triple = "wasm32-unknown-unknown" },
# iOS
{ triple = "aarch64-apple-ios-sim" },
{ triple = "x86_64-apple-ios" },
{ triple = "aarch64-apple-ios" },
# Android
{ triple = "aarch64-linux-android" },
{ triple = "armv7-linux-androideabi" },
{ triple = "x86_64-linux-android" },
]
[advisories]
vulnerability = "deny"
ignore = [
# ? ansi_term works well as is, despite being unmaintained
"RUSTSEC-2021-0139",
# ? `time` is only used in the interop runner
"RUSTSEC-2020-0071",
# ? `sodiumoxide` is only used in tests
"RUSTSEC-2021-0137",
# ? `atty` only has a vuln on windows
"RUSTSEC-2021-0145",
]
[bans]
multiple-versions = "allow"
[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "both"
copyleft = "allow"
unused-allowed-license = "warn"
confidence-threshold = 0.93
allow = ["Apache-2.0", "MIT", "MPL-2.0", "GPL-3.0", "OpenSSL"]
exceptions = [{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" }]
[[licenses.clarify]]
name = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]
[[licenses.clarify]]
name = "encoding_rs"
expression = "MIT OR Apache-2.0"
license-files = [
{ path = "COPYRIGHT", hash = 0x39f8ad31 }
]
[[licenses.clarify]]
name = "webpki"
expression = "ISC"
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]
[sources]
allow-git = [
# ? Needed fork for PQ crypto
"https://github.com/bwesterb/argyle-kyber",
# ? Needed for our interop runner.
# "https://github.com/otak/fantoccini",
# ? Needed for rusqlite
"https://github.com/alexcrichton/openssl-src-rs",
# ? Used in a devdep within wiree2eidentity
"https://github.com/briansmith/ring",
]
[sources.allow-org]
github = ["wireapp"]