Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
28 lines (26 loc) · 1.46 KB
/
Copy pathdeny.toml
File metadata and controls
28 lines (26 loc) · 1.46 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
# Licences remain covered by `cargo xtask licences --check`.
[advisories]
# The nightly command downgrades only this diagnostic with --warn unmaintained.
unmaintained = "all"
yanked = "warn"
ignore = [
# rsa and crypto-bigint are used only to verify OpenPGP signatures with public keys. The
# advisories concern private-key operations (Marvin timing on decryption, constant-time
# arithmetic on secrets), which SolidCraft never performs: it signs through GnuPG and never
# gives these crates a private key.
{ id = "RUSTSEC-2023-0071", reason = "rsa here verifies public-key OpenPGP signatures only; no private-key operations" },
{ id = "RUSTSEC-2026-0387", reason = "crypto-bigint here is used for public-key signature verification only; no secret-key arithmetic" },
# curve25519-dalek 4.1.3 (through pgp) picks its AVX-512 backend only when built with a nightly
# compiler; every SolidCraft build uses the stable rustc in rust-toolchain.toml, so it runs the
# serial or AVX2 backend, which the advisory says are fine. The fix is only in 5.1.0, which pgp
# 0.21 cannot take yet: drop this line when pgp moves to curve25519-dalek 5.1.
{ id = "RUSTSEC-2026-0620", reason = "AVX-512 backend of curve25519-dalek 4.x needs a nightly compiler; we build with stable only" },
]
[bans]
multiple-versions = "warn"
wildcards = "warn"
allow-wildcard-paths = true
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]