|
|
|
|
|
by statictype
5787 days ago
|
|
I'm reading this thread from top to bottom and it looks like both sides are talking past each other. His point: His plugin is a wrapper that provides a basic framework for handling authentication. He's not implementing his own cryptography. He happens to use an SHA256 construction as part of it because that's what he's seen as one of the standard ways of handling passwords. Your point: Don't use salted SHA256 for passwords. Use bcrypt. I think this whole conversation could have been snipped off if you had started with "change auto_hash to use bcrypt instead of SHA256 since it's more secure". |
|
Just be aware that once he replaces auto_hash with bcrypt, auto_hash has literally no functionality anymore; bcrypt-ruby already does all of what auto_hash does, better.