Skip to content

Add verify_ssl passthrough, bump to 11.1.0#278

Merged
liquidsec merged 9 commits into
devfrom
verify-ssl-passthrough
Jun 23, 2026
Merged

Add verify_ssl passthrough, bump to 11.1.0#278
liquidsec merged 9 commits into
devfrom
verify-ssl-passthrough

Conversation

@liquidsec

Copy link
Copy Markdown
Collaborator

Summary

Cuts v11.1.0, implementing the cloudcheck side of bbot#3226 — its blocking dependency, #272: a verify_ssl constructor parameter so SSL certificate verification can be disabled when fetching cloud provider signatures (corporate proxies, custom CAs, SSL-intercepting infrastructure).

cloudcheck = CloudCheck(verify_ssl=False)  # default: True

Changes

  • src/lib.rs — new verify_ssl: bool field on CloudCheck, threaded through with_config (defaults to true). The signature fetch now builds a reqwest::Client with .danger_accept_invalid_certs(!verify_ssl) instead of the bare default client, and logs a warning when verification is disabled.
  • src/python.rsverify_ssl=None added to the PyO3 constructor and passed through. Default behavior unchanged.
  • Version 11.0.011.1.0 (Cargo.toml, pyproject.toml, Cargo.lock, uv.lock).
  • docker-tests.yml — image tags v11.0/v11.0.0v11.1/v11.1.0 (floating v11 unchanged).
  • Tests — Rust test_lookup_with_ssl_verification_disabled + Python test_lookup_with_ssl_verification_disabled.

Verification

  • cargo fmt --check, cargo clippy --all-targets --all-features -D warnings: clean
  • cargo test --all-features: pass
  • maturin develop + pytest test_cloudcheck.py: 16/16 pass
  • Live Python-client smoke test, including a forced fresh network fetch with verify_ssl=False: pass

Closes #272.

liquidsec and others added 9 commits June 17, 2026 14:12
Adds a `verify_ssl` keyword argument to the CloudCheck constructor
(Rust `with_config` + PyO3 binding) mapping to reqwest's
`danger_accept_invalid_certs`. Lets callers disable SSL verification
when fetching cloud provider signatures (corporate proxies, custom CAs,
SSL-intercepting infrastructure). Defaults to True.

Closes #272; unblocks bbot#3226 (ssl_verify_infrastructure passthrough).

- src/lib.rs: verify_ssl field; build a reqwest::Client with
  danger_accept_invalid_certs(!verify_ssl) instead of the default client;
  warn when verification is disabled
- src/python.rs: verify_ssl=None kwarg passed through to with_config
- bump 11.0.0 -> 11.1.0 (Cargo.toml, pyproject.toml, lockfiles)
- docker-tests.yml: image tags v11.0/v11.0.0 -> v11.1/v11.1.0
- tests: Rust + Python coverage for verify_ssl=False
@liquidsec
liquidsec merged commit a4d24d3 into dev Jun 23, 2026
19 checks passed
@liquidsec liquidsec mentioned this pull request Jun 23, 2026
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