Thank you for your help. I'll think in a better way to check the passwords 
then, maybe using the web2py version as an API until most of the users 
changed their passwords.

Em segunda-feira, 16 de março de 2015 19:45:40 UTC-3, Niphlod escreveu:
>
> uhm. web2py's format means 1000 iterations and 20 chars length, with 
> sha512 as hash function.
>
> the missing variable here is "20 char length"....... iterations are the 
> same (1000) and so the hash function (sha512).
>
> from werzeug docs, it seems that the key length is the digest size...which 
> for sha512 is 64.
>
> not sure if you can migrate them at this point, because werzeug doesn't 
> take into consideration key length as a parameter...(inspecting "
> check_password_hash" that in turn is compatible only with what 
> "generate_password_hash" 
> does).
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to