Skip to content

fix(security): patch rustls across daemon and platform SDK - #262

Merged
benfavre merged 2 commits into
mainfrom
fix/rustls-security-2026-0285
Sep 30, 2026
Merged

benfavre merged 2 commits into
mainfrom
fix/rustls-security-2026-0285

Conversation

@benfavre

Copy link
Copy Markdown
Contributor

The daemon workspace and independently locked Rust platform SDK used rustls 0.23.43, affected by RUSTSEC-2026-0285. Pin and lock patched rustls 0.23.45 in both dependency graphs, without adding advisory exemptions.

Validation exposed an existing mobile contract test race: two parallel tests rebuilt the same emitted JavaScript while importing it. A separate test-only commit builds the SDK once before either reader starts, preserving both live HTTP contracts and their assertions.

Validation:

  • Full locked Rust workspace/all-targets suite passes (test process file-descriptor limit raised from 1024 to 65536).
  • Workspace/all-targets Clippy passes with warnings denied; formatting and licence boundary checks pass.
  • cargo deny passes advisories, bans, licences and sources.
  • Independently locked Rust SDK: 34 tests pass.
  • TLS/network connector suites: 539 tests pass.

The first broad run exhausted the default test-process descriptor budget; after raising it, the parallel SDK build race was reproduced and fixed. The final full suite passes.

Production deployment has not been performed. Companion desktop patch: benfavre/shelldeck#176.

@benfavre
benfavre merged commit 1be3c3c into main Sep 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant