-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
--insecure arg added back #403
Conversation
I'm not aware of the context here but I think I would prefer not to support systems that can't handle certificate validation in Homebrew/brew. |
-- although I don't want to relitigate something that's already been discussed; have folks already talked about this? |
Context was that cask supports OS versions under 10.6 and have the line in utils code |
Committed wrong piece, sorry. |
I see. I think it's really dangerous to silently disable certificate verification. Assuming (without checking) that the curl on 10.6 and below is too old to support SNI or TLS 1.2 I think we shouldn't attempt to use it on the modern Internet. If supporting < 10.6 is a firm requirement (and maybe we should push back on that), maybe this is a candidate for vendoring for old systems, à la git and ruby in #404? /cc @xu-cheng @DomT4 If I'm wrong and the problem is just certificates, maybe we bundle the Mozilla certificate bundle from https://curl.haxx.se/docs/caextract.html? |
Yeah, I'd be pretty unhappy to say the least if we stuck this back in. I'm not convinced it was an entirely good idea when we originally tolerated it, I think there's even less of a case for it today. I'm a little confused how this PR meshes with the 10.6 check in It's perhaps worth noting that the code for handling We also have added a My PR there is kind of paused at the moment because I managed to end up dumping far too much on my plate at once, but it isn't dead, FWIW. |
Ok, did not expect that. It seemed pretty similar to the old state on first glance. Will try to handle this differently. |
I'm not sure of the broader context here, beyond your original comment. For obvious reasons I've been keeping my nose out of other GSoC stuff, beside when directly pinged. If your need to do this is limited to how Homebrew currently uses 10.8 and below users will still be nagged to install Homebrew's If you're planning to piggyback on the existing fetch mechanism no changes should be required to that purely in terms of which |
Thanks @AnastasiaSulyagina! I agree we probably don't need this. That said, we should eventually aim to have Homebrew/brew be effectively a merge of Tigerbrew and Linuxbrew's core but I agree unconditionally passing |
Adding this since Homebrew core and Cask are being merged and cask supports <10.6 OS versions.