4 ms·
Not sure if you are trying to make a joke (and if so, it's incredibly subtle), or you are being serious. In case you are serious, to explain how HTTPS as it's
by jasonlotito 14y ago
Not sure if you are trying to make a joke (and if so, it's incredibly subtle), or you are being serious. In case you are serious, to explain how HTTPS as it's used means anything about the trust-worthiness of the two parties involved?
- Dylan16807 14y agoLook at the original post. "curl -s http://getcomposer.org/installer http://getcomposer.org/installer | php" It's not just about trusting Composer, it's about trusting every point between you and their server. If I want to know that I am actually executing Composer I need to use a secure download method.
- eli 14y agoI don't disagree with you, but if you've got someone actively trying to exploit you sitting between you and the Internet, you've got bigger problems.
- simonbrown 14y agoSomeone trying to find an exploit is a bigger problem than giving them one?
- eli 14y agoOh, definitely. If someone has a launched a targeted attack against you and they already have the ability to seamlessly view and modify your internet traffic, you are in pretty serious trouble whether you download your development tools from wget or apt-get.
- anthonyb 14y agoExcept that apt-get will check GPG signatures and detect that kind of attack. How is a MITM attack going to find a 3rd party's private key?
- anthonyb 14y agoIt does not help you if the originating server has been hacked, which is by far the most likely attack vector (after people being assholes on the internet or making mistakes in their script). Protecting against that is the whole fucking point of using things like apt-get/PEAR and GPG/code signing.
- jasonlotito 14y agoI'm looking at the post you replied to. So maybe you replied to the wrong post, or ignore context and tried to be witty or smart. In context, what you say makes no sense. Regardless, https would be better, but if you are that nervous as you suggest you are, then https doesn't solve your problem either. Neither does some hash thrown up on some site for you to compare against.
- Dylan16807 14y agoHere, how about I summarize my view of the conversation for you. aw3c2: 'curl | php' is creepy timaelliott: apt-get is just as scary kudos: no, it has signing udo: that's cargo cult me: no, it protects like https (meaning it authenticates and stops MitM) I was responding perfectly in context to point out how the protections apt-get have are useful. I also tied it back into the original comment but you can ignore that part if you like. I don't know why you think I was 'trying to be witty' and ignoring context.
- jasonlotito 14y agoAhh, gotcha, that better explains it. Still, https doesn't validate anything. You could add a certificate, but then that only means you are talking to the server assigned the cert, not that the actual package is good. I still stand by what I said: mountain and mole hills.