Issue 5660 - SHA-2 hash support
Summary: SHA-2 hash support
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: contrib (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 09:47 UTC by jeff@atlassian.com
Modified: 2014-08-01 21:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jeff@atlassian.com 2008-08-18 09:47:19 UTC
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.

Comment 1 ando@openldap.org 2008-09-03 22:44:39 UTC
moved from Incoming to Contrib
Comment 2 Howard Chu 2009-01-26 03:08:50 UTC
changed notes
changed state Open to Test
Comment 3 Quanah Gibson-Mount 2009-01-26 21:07:18 UTC
changed notes
changed state Test to Release
Comment 4 Quanah Gibson-Mount 2009-02-15 02:02:07 UTC
changed notes
changed state Release to Closed
Comment 5 OpenLDAP project 2014-08-01 21:03:28 UTC
Added to HEAD
Added to RE24