News for hackers. Stuff that matters.
Re:Is curl|bash insecure? by raesene4 on Friday September 25, 2015 @08:37AM (#10277765)
But curl|bash is a one step process, as soon as you get the script you execute it, with no opportunity to check a signature...
Re:Is curl|bash insecure? by tokenizerrr on Friday September 25, 2015 @10:27AM (#10278332)
You do realize you don't have to use curl|bash, right? You can wget, verify with gpg and then bash it.
Re:Is curl|bash insecure? by raesene4 on Friday September 25, 2015 @11:19AM (#10278637)
Of course, but the article being discussed is about curl|bash so I felt that comment was relevant :)
Re:Is curl|bash insecure? by snowwrestler on Friday September 25, 2015 @10:34AM (#10278364)
Of course, but then we're not talking about curl|bash anymore. It seems kind of contradictory to say that curl|bash is secure as long as one doesn't actually curl|bash.
Re:Is curl|bash insecure? by zokier on Friday September 25, 2015 @10:59AM (#10278535)
curl|bash is just a shorthand way to say "here is an URL for install script you can run with bash" which happens to be also conveniently copy-pasteable. You can do whatever you want with that information.
Re:Is curl|bash insecure? by tokenizerrr on Friday September 25, 2015 @10:39AM (#10278397)
I feel like curl|bash is for the masses, who don't care. Then there are more secure options for those who do care.
Re:Is curl|bash insecure? by snowwrestler on Friday September 25, 2015 @10:58AM (#10278530)
I think that once we're talking about installing server software at the command line, we're already beyond most of the masses.

I'd also argue that secure defaults are most important for folks who don't care. And there are more secure options: the package managers.

Re:Is curl|bash insecure? by tokenizerrr on Friday September 25, 2015 @11:05AM (#10278563)
Don't forget about workstations, but you're right. Though personally I install a lot of stuff on one-off VMs to try it out. I don't really care about security there because the VM is in an isolated network and will be erased an hour later anyway.
Re:Is curl|bash insecure? by lmm on Friday September 25, 2015 @01:22PM (#10279399)
I don't think it's possible to make things secure for people who don't care, except by disallowing third-party software entirely. Deciding who you trust is fundamental.
Re:Is curl|bash insecure? by zokier on Friday September 25, 2015 @11:14AM (#10278614)
> And there are more secure options: the package managers.

So sandstorms installation guide should in your opinion just say "wait a couple of years and maybe someone will have packaged it for your distro"? Yes, that sounds excellent way of getting users. And hey, the most secure way of installing software is not to!

Re:Is curl|bash insecure? by throwaway2048 on Friday September 25, 2015 @02:19PM (#10279760)
you can host your own repos pretty easily, and still provide the bash script for oddball distros.