I would like to migrate users from my old phpfusion site but I have
there
hash password md5(md5) how to convert this passwords to bcrypt?
I creating Sinatra app whre i use this passwords with Warden.
Is that even possible? I don’t think so…
I’d say that the best way is to reset all the passwords, notify them and
allow them to change it.
Linus
On 28 January 2012 17:38, regedarek [email protected] wrote:
I solved this → 1694730’s gists · GitHub
Rails-related how?
?:-/
I would like to migrate users from my old phpfusion site but I have there hash
password md5(md5) how to convert this passwords to bcrypt?
I creating Sinatra app whre i use this passwords with Warden.
If you can configure Warden to use the md5 passwords, then do that.
Then, modify the login process so that upon successful login you save
their password (which you have at the moment in plain text) as a
bcrypt-ed string. On next login, verify against bcrypt.
For more info, take a look at authlogic’s “migrate from restful
authentication” to see how it handles it…
-philip