You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renamed http_client_builder() → client_builder() (leaving the old name as possible to use, but with deprecated warning)
TLS 1.3 minimum enforced
https_only(true) in production, enforced by clippy ( see below)
CA pinning: 9 specific CAs (Amazon Root CA 1–4, Starfield G2, Google Trust Services R1–R4), system trust store disabled
SHA256 hash verification of embedded cert bytes at runtime
allow-http = []in security-utils feature for crates with local HTTP test servers, only to be used as dev-dependency feature flag.
All production reqwest clients migrated to security_utils :: client_builder()
orb-backend-status
orb-connd
orb-speed-test
orb-attest
orb-se050-reprovision
Explicit exceptions
update-agent + update-agent-loader: system certs retained to keep update path alive after extended offline periods. Both now have TLS 1.3 minimum and https_only(true) set manually.
Clippy enforcement
clippy.toml at workspace root bans reqwest::Client::builder, reqwest::Client::new, and blocking equivalents with reason messages pointing to client_builder()from security utils
Pending
Test orb-software changes on the orb
priv-orb-core: bump orb-security-utils rev, rename http_client_builder() → client_builder(), add clippy.toml — deferred until orb-software changes are tested
security-utils/src/reqwest.rs:154: This changes the shared client from TLS 1.2 minimum to TLS 1.3 minimum. That disables TLS 1.2 fallback entirely, so any pinned-CA endpoint that still only supports TLS 1.2 will fail even though the previous helper allowed it and TLS negotiation would still prefer 1.3 when available. Use TLS_1_2 unless the intended policy is explicitly TLS 1.3-only.
security-utils/Cargo.toml:18 / security-utils/src/reqwest.rs:156: allow-http can be enabled in any build, including release, and then the shared helper silently disables https_only for all consumers in that Cargo build graph. Since this crate is meant to enforce HTTPS-only, this should have a hard guard like compile_error! for feature = "allow-http" outside debug/test builds, or be split into test-only construction that cannot be selected for production artifacts.
I could not run cargo check in this sandbox because rustup tried to write under a read-only home directory.
security-utils/src/reqwest.rs:154: This changes the shared client from TLS 1.2 minimum to TLS 1.3 minimum. That disables TLS 1.2 fallback entirely, so any pinned-CA endpoint that still only supports TLS 1.2 will fail even though the previous helper allowed it and TLS negotiation would still prefer 1.3 when available. Use TLS_1_2 unless the intended policy is explicitly TLS 1.3-only.
security-utils/Cargo.toml:18 / security-utils/src/reqwest.rs:156: allow-http can be enabled in any build, including release, and then the shared helper silently disables https_only for all consumers in that Cargo build graph. Since this crate is meant to enforce HTTPS-only, this should have a hard guard like compile_error! for feature = "allow-http" outside debug/test builds, or be split into test-only construction that cannot be selected for production artifacts.
I could not run cargo check in this sandbox because rustup tried to write under a read-only home directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wip
Shared client builder (security-utils)
Renamed http_client_builder() → client_builder() (leaving the old name as possible to use, but with deprecated warning)
TLS 1.3 minimum enforced
https_only(true) in production, enforced by clippy ( see below)
CA pinning: 9 specific CAs (Amazon Root CA 1–4, Starfield G2, Google Trust Services R1–R4), system trust store disabled
SHA256 hash verification of embedded cert bytes at runtime
allow-http = []in security-utils feature for crates with local HTTP test servers, only to be used as dev-dependency feature flag.
All production reqwest clients migrated to security_utils :: client_builder()
orb-backend-status
orb-connd
orb-speed-test
orb-attest
orb-se050-reprovision
Explicit exceptions
Clippy enforcement
Pending
Test orb-software changes on the orb
priv-orb-core: bump orb-security-utils rev, rename http_client_builder() → client_builder(), add clippy.toml — deferred until orb-software changes are tested
Check orb-relay-messages