After installing the Devise Security Extension to add password expiration to my Devise models, I started getting the following error on an RSpec test for a controller that does not perform authentication of the user: Failure/Error: get :index NoMethodError: undefined method `authenticate?’ for nil:NilClass After a bit of digging, I found that the helpers.rb in […]
Monthly Archives: February 2015
How safe is an MD5 hash of a plain password?
First of all, I hope that you’ve moved beyond MD5 hashes and hashing passwords by themselves, adding salts, etc., but I do recall systems in which an MD5 hash of a password by itself was “good enough”. You can look up some md5 hashes on this md5 cracker page. I found many two word combinations […]