Skip to content

The agent that grows with you

docs(auth): say when the credential context falls back to the platform store

kshitijk4poord1f586242d9a
diff --git a/hermes_cli/auth_device_flow.py b/hermes_cli/auth_device_flow.py
index 3dd5d268bd9..6664c5dac6e 100644
--- a/hermes_cli/auth_device_flow.py
+++ b/hermes_cli/auth_device_flow.py
@@ -224,7 +224,8 @@ def _default_verify() -> bool | ssl.SSLContext:
from agent.ssl_verify import certifi_bundle_path, platform_ssl_context
bundle = certifi_bundle_path()
if bundle is None:
- # httpx's own ``True`` would resolve through the same dead path.
+ # No usable certifi bundle (absent, or deleted by a rotation and not re-derivable):
+ # httpx's ``True`` would still resolve through certifi, so hand over the platform store.
return platform_ssl_context()
if sys.platform == "darwin":
return ssl.create_default_context(cafile=bundle)