Skip to content

Commit 5e728a8

Browse files
lxsaahclaude
andcommitted
fix(cli): join HTTP client uses system trust roots (042 WP4 follow-up)
reqwest's rustls-tls feature bundles webpki-roots, whose CDLA-Permissive-2.0 license is not on the deny.toml allowlist — make check failed at cargo-deny. Switch to rustls-tls-native-roots (system trust store), which also matches how TLS trust works everywhere else in the workspace. cargo deny is green again; the join unit/mock tests are unaffected. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5d504d9 commit 5e728a8

2 files changed

Lines changed: 39 additions & 15 deletions

File tree

Cargo.lock

Lines changed: 35 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/aimdb-cli/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ serde_yaml = { version = "0.9", optional = true }
5959

6060
# `join` only (design 043): HTTP client for the provisioning endpoint + the
6161
# GitHub device flow, and TOML for the station profile. rustls so released
62-
# binaries don't depend on a system OpenSSL.
62+
# binaries don't depend on a system OpenSSL; native roots (system trust
63+
# store) rather than the bundled webpki-roots, whose CDLA license is not on
64+
# the deny.toml allowlist.
6365
reqwest = { version = "0.12", default-features = false, features = [
64-
"rustls-tls",
66+
"rustls-tls-native-roots",
6567
"json",
6668
], optional = true }
6769
toml = { version = "0.8", optional = true }

0 commit comments

Comments
 (0)