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
#790 adds ca_bundle to foca.utils.http.GuardedClient, but fetch_json() and the service registry reads of backend lists (foca/plugins/backends/registry.py) still verify registries with the public certificate authorities only. A registry behind a private CA (e.g., an internal Cloud Registry) can't be read.
Adding ca_bundle to fetch_json() alone breaks mypy in registry.py, which passes its options as **dict[str, bool]; so both change together (this is why #790 left them out).
A registry entry option (e.g., registry_ca_bundle, next to registry_allow_private_addresses), passed to fetch_json(); the options dict in registry.py typed accordingly (or passed explicitly).
Tests (TLS registry with its own CA), docs (docs/plugins.md backend lists, docs/utilities.md).
Done when
A registry with a certificate of a private CA can be read with its CA bundle configured; verification can't be turned off.
Activity