cirruslabs / tart

macOS and Linux VMs on Apple Silicon to use in CI and other automations
https://tart.run
Other
3.8k stars 112 forks source link

Fix the --insecure flag issue by disabling ATS in Info.plist #760

Closed JeckLabs closed 6 months ago

JeckLabs commented 6 months ago

After upgrading tart to version 2.7.0, I encountered an issue with the --insecure flag.

➜  ~ tart push tart-build --insecure macregistry.example.com/macos/sonoma
pushing tart-build to macregistry.example.com/macos/sonoma:latest...
pushing config...
Error: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

I managed to fix it by disabling App Transport Security. I'm not sure this is the best approach, but right now, --insecure is broken.

Fixes #761

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.