Repository navigation
Release 0.6.5
·
10 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Cordon 0.6.5
Cordon is a Crystal shard that runs shell commands inside a platform-native sandbox with a configurable access policy. It works on macOS (via sandbox-exec / Seatbelt) and Linux (via bwrap / Bubblewrap), presenting both as a single clean API.
Changes
- HTTPS works on macOS when network access is allowed - With
allow_networkenabled, the macOS runner now also grants read access to the system TLS directory,/private/etc/ssl. Previously the network was reachable but TLS configuration was not.- Linux already bound
/etc/ssland/etc/ca-certificateswhen network access is allowed. Coverage across distributions with other layouts is tracked separately.
- Linux already bound
cordon inspect --platform macosoutput is a valid profile - The header line is now an SBPL comment (;) rather than#, socordon inspect ... > profile.sbcan be passed straight tosandbox-exec -f, as the debugging workflow in DEVELOPMENT.md describes.
Known issues
Policy#envandPolicy#unset_envare honoured on Linux but silently ignored by the macOS runner, which inherits the parent environment instead. See #24.
For architecture, design decisions, and debugging workflows see DEVELOPMENT.md.