Update rustls and yoke-derive for cargo deny, ignore wasapi until 0.25

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>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-20 08:46:58 +03:00
1 parent 3c59f24608
commit 2e026a043c
3 files changed
+15 -6

No files matched your search

+9
View File
@@ -12,6 +12,15 @@ ignore = [
# 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]