Re:Ruby Security Have You Not
by InAnEmergency on Wednesday April 30, 2014 @06:08PM
(#7676803)
For what it's worth, --trust-policy has been broken since RubyGems 2.0.0 and will not be fixed until 2.3: https://github.com/rubygems/rubygems/issues/859
Ruby: recompile with minimized OpenSSL 1.0.1+ (LibreSSL when possible) and with patches that improve Ruby's default OpenSSL security.
https://gist.github.com/steakknife/8228264
https://gist.github.com/steakknife/10092587
https://gist.github.com/steakknife/10096008
For Rails apps: use brakeman as one part of security audit strategy
For gem authors, sign them (please!): I wrote waxseal to make it dead simple
For gem users, find which aren't signed For anyone using git, sign your tags (git tag -s ...) and commits (git commit -S ...) por favor