mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 05:12:29 +00:00
This implementation uses Zig's bun.sys.dlopen to dynamically load the macOS Security framework and CoreFoundation functions, then implements the CA loading logic in C++ for better integration with the existing OpenSSL certificate store. Key features: - Uses BUN_USE_SYSTEM_CA environment variable to enable feature - Dynamically loads Security.framework without static linking - Integrates system CAs with existing bundled and extra CAs - Follows existing Bun patterns for framework loading - Platform-specific code only runs on macOS 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>