Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

[flagged]


Whats the viable alternative?


    sudo apt install gnat
:-)


bash: sudo: command not found

:)


Thank goodness, someone with a decent distro


If you

   curl > install.sh
   sh install.sh
then you have a copy of what you just executed


Because downloading an installer from the same website you curl from is so much safer, right? /s


Yes, it is. Because the server can detect curl | sh, serve different content and you will never know about it. Discussed numerous times on this site.

https://web.archive.org/web/20230304061743/https://www.idont...


When you download an installer, unless you reverse engineer it you also have no idea what it's doing.

As others said, you must trust the domain you're downloading from in both cases.

I really don't understand why people still argue about it. When you study security threat models, you should immediately understand that there's no difference from a security point of view. Perhaps the only alternative that's more secure is when you install the package from a package manager or app store... as in that case you have some sort of guarantee that the binaries are "vetoed" by someone who knows what they're doing it, hopefully.. i.e. you transfer your trust to the package manager's owners/maintainers... but you still need to trust the package publisher is not bent on trying to get you, because if they are, they will still find ways around package managers.


Under what threat model would that matter?


Yeah, but your trust is always on the domain owner anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: