[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5660) SHA-2 hash support



Full_Name: Jeff Turner
Version: 2.3.30
OS: Linux
URL: http://confluence.atlassian.com/download/attachments/162431971/openldap-sha2contrib.tar.gz
Submission from: (NULL) (203.63.130.33)


OpenLDAP currently supports MD5, CRYPT and SHA1 hash formats. I needed support
for SHA-512, so I have created a module to support SHA512, and the other SHA-2
formats (SHA256 and SHA384). I'd be happy for it to be included in OpenLDAP's
contrib/slapd-modules/passwd/ directory. Code suitable for inclusion is linked
in the ticket URL, and there is a fuller description of its use in the included
README, or at http://confluence.atlassian.com/display/JIRAEXT/OpenLDAP+support+for+SHA-2+%28SHA-256%2C+SHA-384%2C+SHA-512%29+and+atlassian-sha1+passwords

As for the code, it is a thin module wrapper on an unmodified version of the
BSD-licenced sha2.{c,h} by Aaron Gifford:

http://www.aarongifford.com/computers/sha.html

This also appears to be the SHA2 implementation used by OpenBSD.

Please let me know if you have any questions.