You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a `DangerousDisableCoderSignatureValidation` UserDefaults key (MDM-settable) that disables `SecStaticCode` signature validation of the downloaded tunnel binary, mirroring the Windows app's `Manager:TunnelBinarySignatureSigner` registry key.
The setting flows through the existing pipeline:
```
Main App (UserDefaults) → providerConfiguration → Network Extension → XPC → Helper → Manager
```
When enabled, signature validation is skipped with a warning log. Version validation is always performed.
Closes#240, where a user would like to user Coder Desktop alongside a Coder deployment built from source.
### Usage
```bash
defaults write com.coder.Coder-Desktop DangerousDisableCoderSignatureValidation -bool true
```
or, like all UserDefaults, can be configured via your MDM platform to apply this rule to an entire org.
Then restart the app, and log out and back in.
### Files changed
- `State.swift` — new UserDefaults key + providerConfiguration plumbing
- `PacketTunnelProvider.swift` — reads flag, forwards to XPC
- `VPNLib/XPC.swift` — updated `HelperNEXPCInterface.startDaemon` signature
- `NEHelperXPCClient.swift` — updated XPC client wrapper
- `HelperXPCListeners.swift` — updated XPC server implementation
- `Manager.swift` — new `ManagerConfig` field + conditional skip in `Manager.init`
0 commit comments