Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

JeckLabs
Copy link
Contributor

@JeckLabs JeckLabs commented Mar 18, 2024

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
Copy link

CLAassistant commented Mar 18, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@fkorotkov fkorotkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for investigating it and finding out a fix. LGTM.

@fkorotkov fkorotkov merged commit 7eac457 into cirruslabs:main Mar 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--insecure flag no longer works as of Tart 2.7
4 participants