#1493
Bug: HTTPS requests fail when a sandbox blocks access to the macOS system keychain
Issue details
Environment
- fx 0.0.15, build
7f2383af7098 - macOS, Apple Silicon
- Provider: Codex subscription
- fx runs inside an Agent Safehouse sandbox
Steps to reproduce
- Run fx inside a sandbox that does not permit reading
/Library/Keychains/System.keychain. - Send a prompt to a remote model.
Expected behavior
fx can make HTTPS requests using trusted CA certificates without requiring the sandboxed agent and its subprocesses to read the system keychain file.
Is there a supported way to provide trusted certificates separately, or could fx support one?
Actual behavior
The request fails:
system: request failed: CertificateBundleLoadFailureThe macOS sandbox log reports that fx was denied access to the system keychain:
Sandbox: fx(16809) deny(1) file-read-data /Library/Keychains/System.keychainI have not tested whether granting read access to the system keychain resolves the error. I would prefer to keep that file inaccessible to the agent and its subprocesses while retaining TLS certificate verification.
Trace
No response
Sensitive information
- I reviewed the information above and removed secrets and other sensitive data.
Activity
0No activity yet.