Hi!
I've just committed new login hashing functionality to SVN trunk that uses SHA1 salted hashes instead of plain md5.
I'd need help from anyone wanting to test it out. I'll prepare a blog.s9y.org blog-posting for tomorrow once the updated snapshots are up.
Feedback much appreciated.
http://svn.berlios.de/viewcvs/serendipi ... ision=2469
Regards,
Garvin
New login hashing
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
New login hashing
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Jensthebrain
- Posts: 1
- Joined: Wed Feb 18, 2009 7:42 pm
- Location: Germany, Darmstadt
Re: New login hashing
I would prefer a more random salt for SHA1. Furthermore you should use SSHA - a different salt for each user. This would make it even more secure.
Furthermore you could use serendipityHashType = 1 for SHA1 and if supported by the local PHP installation 2 for SHA256 (maybe using the hashtype as string would be better...).
hash_algos() is supported since 5.1.2 and the Hash Framework supports up to sha512.
Furthermore you could use serendipityHashType = 1 for SHA1 and if supported by the local PHP installation 2 for SHA256 (maybe using the hashtype as string would be better...).
hash_algos() is supported since 5.1.2 and the Hash Framework supports up to sha512.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: New login hashing
Hi!
Regards,
Garvin
What do you mean?Jensthebrain wrote:I would prefer a more random salt for SHA1.
That's an interesting idea, should be easy to create a hash on per-user.Furthermore you should use SSHA - a different salt for each user. This would make it even more secure.
Also a good suggestion, do you know how this affects performance?Furthermore you could use serendipityHashType = 1 for SHA1 and if supported by the local PHP installation 2 for SHA256 (maybe using the hashtype as string would be better...).
hash_algos() is supported since 5.1.2 and the Hash Framework supports up to sha512.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/