Re:What The Rails Security Issue Means For Your Startup
by rlpb on Thursday January 31, 2013 @11:57AM
(#5145883)
You do all deploy from your own cache of all the gems you depend on, right? No? Why not?
[ Parent
| on HN ]
Re:What The Rails Security Issue Means For Your Startup
by josephlord on Thursday January 31, 2013 @12:04PM
(#5145912)
That only helps you with availability though doesn't it? You are just as likely to have pulled backdoored files and cached them as to get backdoored files directly. Also at some point you need to update.
So I think it only helps if you are likely to need to deploy additional/alternative servers of the same versions. For significant deployed services this makes sense but if you are only in development/testing or using a service like Heroku it doesn't really help you very much does it?
Re:What The Rails Security Issue Means For Your Startup
by rlpb on Thursday January 31, 2013 @01:16PM
(#5146363)
> You are just as likely to have pulled backdoored files and cached them as to get backdoored files directly.
At least your deployments will be consistent. This is a great starting point. Now all you have to do is check your cache against the backdoored version, and you instantly and verifiably know where your deployment stands.
Re:What The Rails Security Issue Means For Your Startup
by purephase on Thursday January 31, 2013 @12:29PM
(#5146067)
I'd love to. Any helpful guides on how to proceed?
Re:What The Rails Security Issue Means For Your Startup
by squidsoup on Thursday January 31, 2013 @01:56PM
(#5146618)
bundle package
will cache all of your deps in vendor/cache.
You can install from this cache using: bundle install --local
Re:What The Rails Security Issue Means For Your Startup
by steveklabnik on Thursday January 31, 2013 @02:29PM
(#5146826)
I just wrote a blog post: http://words.steveklabnik.com/how-to-not-rely-on-rubygemsorg...
Re:What The Rails Security Issue Means For Your Startup
by squidsoup on Thursday January 31, 2013 @05:12PM
(#5147819)
Wasn't aware of bundle --deployment, that's very helpful thank you steve.
Re:What The Rails Security Issue Means For Your Startup
by steveklabnik on Thursday January 31, 2013 @05:39PM
(#5147952)
Any time! Not enough people are.