Repository navigation
Release v0.5.0
·
12 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Corvex v0.5.0 Release Notes
Highlights
Rootless macOS proxy management — no more sudo required. Native Touch ID / password dialog for privilege escalation.
What's New
Rootless macOS Proxy
corvex no longer requires sudo to set system proxy on macOS. When networksetup write operations fail due to missing admin privileges, corvex automatically falls back to osascript which shows a native macOS authorization dialog (Touch ID or password).
- macOS caches authorization for ~5 minutes — only one dialog per session even though
enable_proxymakes 6networksetupcalls sudo corvex startbypasses the dialog entirely (direct call succeeds)- SSH / headless — clear error message: "No GUI session available — run with sudo instead"
- User cancel — clean abort: "Authorization denied — proxy settings were not changed"
- Read operations (
corvex status) continue to work without any escalation - Uses full path
/usr/sbin/networksetupin privileged context to prevent PATH hijacking
Windows Improvements
- Fixed config paths for
%APPDATA%/%LOCALAPPDATA% - Reworked xray process lifecycle on Windows (direct
TerminateProcessinstead of unreliableGenerateConsoleCtrlEvent) - Clippy fixes
Usage
corvex start # Shows auth dialog if needed (macOS)
sudo corvex start # Bypasses dialog
corvex stop # Same auth behavior
corvex status # No auth needed (read-only)Migration from v0.4.0
No configuration changes required. Existing corvex.json files are fully compatible.
Full Changelog: v0.4.0...v0.5.0