miguelgrinberg / REST-auth

Example application for my RESTful Authentication with Flask article.
http://blog.miguelgrinberg.com/post/restful-authentication-with-flask
MIT License
921 stars 337 forks source link

db column for password_hash to small #19

Closed marioneubert closed 4 years ago

marioneubert commented 4 years ago

Thanks for your tutorial. The size of the database field for the hash is too small. The hash is 64 bytes, but before that there is the method and the salt. For me that's 94 bytes. 'pbkdf2:sha256:150000$49dV4TkV$7fae72c74524d30be8baa0e137f53e1f5e01a34b811793f455586c55dd9f1745'

miguelgrinberg commented 4 years ago

Thanks!