Re: [Catalyst] Migrate from SHA hashed passwords to Bcrypt crypted passwords

2011-07-11 Thread Pavel Karoukin
On 07/11/2011 10:34 AM, Mark Blackman wrote: > >> 2) How I should update my application to have first check against new >> hashing algorithm and if password returns incorrect, try old one (SHA)? >> Should I do it through realms, or just check password in my authentication >> controller directly

Re: [Catalyst] Migrate from SHA hashed passwords to Bcrypt crypted passwords

2011-07-11 Thread Florian Ragwitz
Pavel Karoukin writes: > Right now I am using SHA hashed passwords in my Catalyst application > (https://github.com/hippich/Bitcoin-Poker-Room). While SHA is better > then MD5, I still want to migrate to Bcrypt. > > I have two questions: > > 1) Catalyst::Authentication::Credential::Password seems

Re: [Catalyst] Migrate from SHA hashed passwords to Bcrypt crypted passwords

2011-07-11 Thread Mark Blackman
On 11 Jul 2011, at 15:59, Pavel Karoukin wrote: > Hello, > > Right now I am using SHA hashed passwords in my Catalyst application > (https://github.com/hippich/Bitcoin-Poker-Room). While SHA is better then > MD5, I still want to migrate to Bcrypt. > > I have two questions: > > 1) Catalyst::A

[Catalyst] Migrate from SHA hashed passwords to Bcrypt crypted passwords

2011-07-11 Thread Pavel Karoukin
Hello, Right now I am using SHA hashed passwords in my Catalyst application (https://github.com/hippich/Bitcoin-Poker-Room). While SHA is better then MD5, I still want to migrate to Bcrypt. I have two questions: 1) Catalyst::Authentication::Credential::Password seems to not support Bcrypt since