- Apr 21, 2020
-
-
The defaults vary by crypto library and possibly even version, so it's not worth trying to keep them accurate.
-
-
-
-
* use 'crypto_pwhash_str_alg(..., crypto_pwhash_ALG_ARGON2ID13)' to set the algorithm to Argon2. According to libsodium's documentation, the original 'crypto_pwhash_str()' only guarantees a "memory-hard, CPU-intensive hash function", but not necessarily Argon2. Although in released versions of libsodium Argon2 is the only implemented backend, this may chane in the future. * multiply the 'memory' parameter by 1024 to align it with the libargon2 implementation. The objective is to have consistent configuration in OpenLDAP's pw-argon2 module no matter what backend implementation is used. Signed-off-by:
Peter Marschall <peter@adpm.de>
-
Based on initial patch by Peter Marschall.
-
Add manual page slapd-pw-argon2.5 and make sure it gets installed. Signed-off-by:
Peter Marschall <peter@adpm.de>
-
-
-
This change implements argon2, which won the Password Hashing Competition (https://password-hashing.net/) as a contrib-module in order to provide a modern password hashing alternative in openldap. The currently available password hashing algorithms are relatively old, and modern hardware, especially GPUs can compute quite a few (ranging from tens of thousands to millions) of hashes per second. Argon2 was designed to withstand such attacks. This implementation uses the default work factors used in the argon2 command line client, but the resulting hashes are stored in a way that would allow retroactive changes to these values, or even exposing them as configuration in the module.
-
- Jan 09, 2020
-
-
Quanah Gibson-Mount authored
-
- Jan 14, 2019
-
-
Quanah Gibson-Mount authored
-
- Nov 08, 2018
-
-
- Mar 22, 2018
-
-
Quanah Gibson-Mount authored
-
- Jan 03, 2017
-
-
Quanah Gibson-Mount authored
-
- Oct 17, 2016
-
-
These were provided as part of the original ITS but not previously committed. Perl scripts to convert between Apache and OpenLDAP hash formats.
-
- Jan 29, 2016
-
-
Quanah Gibson-Mount authored
-
- Oct 29, 2015
-
-
- Aug 31, 2015
-
-
Reserve #else for actual fallback cases.
-
OpenLDAP can be configured to be either built with OpenSSL or GnuTLS. This commit adds support for building pw-pbkbdf2 module without OpenSSL, by using PBKDF2 crypto primitives provided by libnettle. Closes hamano/openldap-pbkdf2#2 Signed-off-by:
Luca Bruno <luca.bruno@rocket-internet.de>
-
Fixed asprintf return value check, in order to properly catch error conditions. This has been caught by clang -Wtautological-compare: pw-pbkdf2.c:132:17: warning: comparison of unsigned expression < 0 is always false if(msg->bv_len < 0){ ~~~~~~~~~~~ ^ ~ Signed-off-by:
Luca Bruno <luca.bruno@rocket-internet.de>
-
- Feb 11, 2015
-
-
Quanah Gibson-Mount authored
-
- Dec 17, 2014
-
-
Set LDAP_BUILD=$(LDAP_SRC) by default
-
- Dec 11, 2014
-
-
- Jul 22, 2014
-
-
-
-
-
-
Similar to #7858, another easy patch.
-
- May 29, 2014
-
-
Signed-off-by:
HAMANO Tsukasa <hamano@osstech.co.jp>
-
- Jan 25, 2014
-
-
Kurt Zeilenga authored
-
- Jan 27, 2013
-
-
Quanah Gibson-Mount authored
Zero out the complete context buffer From mhardin@symas.com
-
- Jan 14, 2013
-
-
Quanah Gibson-Mount authored
-
- Dec 10, 2012
-
-
Quanah Gibson-Mount authored
-
- Aug 22, 2012
-
-
- May 30, 2012
-
-
Support {SSHA256}, {SSHA384} and {SSHA512} hash schemes
-
Remove sha*_hex_hash() and replace chk_sha*() with libraries/liblutil/passwd.c:chk_sha1() implementation to avoid a race condition.
-
- May 09, 2012
-
-
contrib/slapd-modules/passwd/sha2/sha2.[ch] need portable.h and some macros to be portable source. contrib/slapd-modules/passwd/sha2/slapd-sha2.c:hash_sha*() must declare "struct berval digest" before a statement for K&R C, and must replace C++ "// foo"-style comments with C style.
-