So, #OpenLDAP has had a /contrib module for using SHA2 for password hashing, sin...

@hyc@mastodon.social

So, #OpenLDAP has had a /contrib module for using SHA2 for password hashing, since 2009. It includes an implementation of SHA2 written by Aaron Gifford, dated 2001. Recently it was discovered that when compiled with some versions of gcc, it produces invalid hashes.

Searching the web for Aaron, to see if he released any later versions of the code, you find zillions of projects using the same copy from 2001. Worth noting that it still works fine, compiled with clang.