Migrating users from devise to bcrpyt-ruby

19 views
Skip to first unread message

bertly_the_coder

unread,
Aug 18, 2012, 3:34:36 PM8/18/12
to rubyonra...@googlegroups.com
Hi guys,

How would one migrate users on a rails site using the devise gem for authentication to using the bcrpyt-ruby gem(has_secure_password rails option) for the same? I know that both use bcrpyt, but devise has the stretches and pepper configurations in the devise.rb file and I'm a little uninformed on how to translate these for the bcrypt-ruby gem. 

Is the pepper configuration in devise an active configuration when using bcrypt or is that skipped. I know the stretches config is pretty important(that's the same as the workload right?). How would that translate?

Any help will be greatly appreciated.

Thanks Guys,

Regards,
Robert
Reply all
Reply to author
Forward
0 new messages