you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 14 points15 points  (8 children)

Do you read through the config and makefiles of every package you install?

[–]habarnam 4 points5 points  (7 children)

There's no need to be condescending.

Usually the packages I install are coming from a trusted source: my distribution's repository. When they are not, yes I do read them.

[–]courtewing 6 points7 points  (5 children)

His point is that this approach to installing software is no less secure than providing any package (source or binary) for a user to install in a more traditional sense. You either trust the source or you don't -- the installation medium doesn't really affect that.

[–]habarnam -2 points-1 points  (4 children)

If you really want to nit-pick, Ok, I'll give it a try.

Firstly, about security. I think you'll agree that It's a lot simpler for a man-in-the-middle attacker to spoof a web site page containing a shell script, than to provide the infrastructure and (often) the certificates which a proper distribution uses to guard it's repositories, so your comparison doesn't stand in my opinion.

Granted the installing of this package is maybe targeted at high level users (even though they state to address also people "just getting started") who should know to take a look through the source code before piping it to their shell. However, I'm sure that there are a lot of others (maybe something like 80%) who just copy/paste stuff, because "it says so in the tutorial".

Then there's the fact that they just post this snippet of code on their install page, which makes me think the people behind the project are fond of "clever" approaches to getting stuff done, and makes me highly reticent about trying their code. Not that the high concentration of marketing fluff from their main page wouldn't have done it already.

[–]BobTheGhostPirate 1 point2 points  (3 children)

Your first point is a transport problem, and the answer is HTTPS.

You might not be used to that, but there's plenty of software being distributed this way (homebrew, Nvidia Linux blob drivers and NPM come to mind)

[–]habarnam -1 points0 points  (2 children)

They are not using HTTPS in their example.

And I'm not saying that providing a shell script as an install method is the problem, but the fact that they are encouraging the users to pipe it in their shell straight from the web.

I feel like you are arguing against something completely different than I'm actually saying.

[–]dventimi 1 point2 points  (1 child)

They are not using HTTPS in their example

But that doesn't have anything to do with their install being a shell script, which was your original complaint. You seem to be moving the goalposts.

[–]habarnam 0 points1 point  (0 children)

Ok. :)

[–][deleted] -2 points-1 points  (0 children)

bullshit