3 ms·
Luarocks is a clunky package manager. But its biggest crime is that packages are neither signed nor are they transported over https. http://luarocks.org/en/Doc
by sitkack 12y ago
Luarocks is a clunky package manager. But its biggest crime is that packages are neither signed nor are they transported over https.
http://luarocks.org/en/Documentation http://luarocks.org/en/Documentation
That said, some of moonrocks goes over http, https://rocks.moonscript.org/ https://rocks.moonscript.org/
The only excusable way for packages to go over http is if they were signed and the signing chain is secure.
- agersant 12y agoDo you think this is a factor that slows adoption down?
- sitkack 12y agoIt does for me. But probably not for a lot of folks. Most people dont care. What does speed adoption is to have a very well designed command line interface. Here go and npm excel.
- catwell 12y agoThere is basically only one person working on LuaRocks. He is also a PhD student and the maintainer of htop. Given this I think anything is "excusable". Package signing is an important feature to have but it requires resources to set up. If you want to help: http://luarocks.org/en/Mailing_list http://luarocks.org/en/Mailing_list :)
- fuzzythinker 12y agoWow, didn't know he also authored htop. After visiting his site[1], discovered gobolinux[2] too! 1. http://hisham.hm/ http://hisham.hm/ 2. http://www.gobolinux.org/ http://www.gobolinux.org/
- hisham_hm 12y agoLuaRocks dev here, thanks for the feedback! > But its biggest crime is that packages are neither signed nor are they transported over https. Do you mean the actual LuaRocks source code tarballs? If you need to download the source code over https, you can fetch it from Github. We could mirror the tarballs there too, if there's interest. > That said, some of moonrocks goes over http, https://rocks.moonscript.org/ https://rocks.moonscript.org/ Rocks nowadays are transported by the `luarocks` tool over https by default. There are also http-only mirrors.
- sitkack 12y agoOh wow! It blows my mind that the author of htop and gobolinux and luarocks are the same person. Much respect. I use htop every day. And Nix and GoboLinux are architectural inspirations. What I am saying about luarocks is that all code pulled over the wire should be signed and or encrypted to maintain the chain of trust. Maven just went through this, as it was only accessible over HTTP unless users paid a fee. http://www.infoq.com/news/2014/08/Maven-SSL-Default http://www.infoq.com/news/2014/08/Maven-SSL-Default I could setup a MITM on a local wifi network (hacker space, coffee shop, school network, etc) and installed backdoors via luarocks because the traffic goes in the clear and the packages are not signed. Luarocks should be secure by default. I found it really hard to activate SSL in luarocks.