cargo deny check failed on the advisories of the base lock: - rustls 0.23.45 (RUSTSEC-2026-0346 to 0349: Debug output of client session values, buffered data after ECH rejection, unbounded brotli certificate decompression, ServerHello downgrade): cargo update -p rustls --precise 0.23.46, which the advisories name as the fix. - yoke-derive 0.8.3 was yanked: cargo update -p yoke-derive --precise 0.8.4. - wasapi 0.24.0 (RUSTSEC-2026-0332, unsound WaveFormat::parse): the fix is wasapi 0.25.0, a breaking release of a Windows-only dependency of voelin-media, which the Linux CI can neither build nor test, so it is not a semver update. voelin-media never calls WaveFormat::parse (it only builds formats with WaveFormat::new). deny.toml ignores the advisory with that reason and a date: remove by 2026-12-20, by upgrading wasapi on a Windows machine. cargo-deny cannot enforce the date; the comment and the reason say it. Cargo.lock changes only those two packages (cargo's re-resolution also moved tempfile to getrandom 0.3.4; that is put back to 0.4.3 by hand so the diff is the advisories' and nothing else; cargo metadata --locked accepts it). THIRD_PARTY_NOTICES.md is regenerated (scripts/notices.sh, cargo-about 0.9.2) for the two version numbers. cargo deny --locked --workspace check: advisories, bans, licenses and sources ok. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
63 lines
2.4 KiB
TOML
63 lines
2.4 KiB
TOML
# cargo-deny configuration: https://embarkstudios.github.io/cargo-deny/
|
|
|
|
[graph]
|
|
all-features = false
|
|
|
|
[advisories]
|
|
# Unmaintained crates are reported but only fail for direct dependencies.
|
|
unmaintained = "workspace"
|
|
ignore = [
|
|
# Marvin attack: timing side channel in RSA *private-key* operations of the
|
|
# `rsa` crate, pulled in by russh. TeamSpeak SSH query servers use RSA host
|
|
# keys, so russh needs RSA to verify the server's signature (a public-key
|
|
# operation). We never hold an RSA private key: query logins use passwords.
|
|
{ id = "RUSTSEC-2023-0071", reason = "only RSA signature verification is used (SSH host keys)" },
|
|
# TIME-LIMITED, remove by 2026-12-20 (entered 2026-10-20). `wasapi` 0.24.0:
|
|
# `WaveFormat::parse` is a safe fn that reads past the end of the
|
|
# `&WAVEFORMATEX` it is given. The fix is `wasapi` 0.25.0, a breaking
|
|
# release (the fn became `unsafe`) of a Windows-only dependency of
|
|
# voelin-media that the Linux CI can neither build nor test, so it is not
|
|
# a semver update. voelin-media never calls `WaveFormat::parse` (it only
|
|
# builds formats with `WaveFormat::new`); upgrade `wasapi` to 0.25 on a
|
|
# Windows machine, then delete this entry.
|
|
{ id = "RUSTSEC-2026-0332", reason = "voelin-media does not call wasapi's WaveFormat::parse; the fix is the breaking wasapi 0.25 (Windows-only), upgrade by 2026-12-20" },
|
|
]
|
|
|
|
[licenses]
|
|
# Permissive licenses only. AGPL/GPL code (e.g. astrum-ts6) must never be
|
|
# linked; LGPL may be revisited for dynamically linked codecs.
|
|
allow = [
|
|
"MIT",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Zlib",
|
|
"Unicode-3.0",
|
|
"CDLA-Permissive-2.0",
|
|
"MPL-2.0",
|
|
"BSL-1.0",
|
|
"Unlicense",
|
|
# Slint is triple licensed (GPL-3.0-only OR royalty-free OR commercial); we
|
|
# use the royalty-free license, which requires the attribution shown in the
|
|
# app's About page and the README.
|
|
"LicenseRef-Slint-Royalty-free-2.0",
|
|
# Permissive BSD-style license of bzip2, kept by its pure Rust port
|
|
# (libbz2-rs-sys), which voelin-media uses to unpack Cisco's OpenH264 download.
|
|
"bzip2-1.0.6",
|
|
]
|
|
confidence-threshold = 0.9
|
|
|
|
[bans]
|
|
multiple-versions = "allow"
|
|
wildcards = "deny"
|
|
allow-wildcard-paths = true
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
# The private protocol repository (voelin-identity and its voelin-proto);
|
|
# docs/building.md, "Depending on VoelinProtocol".
|
|
allow-git = ["ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git"]
|