Le 04/05/2016 11:01, [email protected] a écrit :
Le 04/05/2016 10:58, [email protected] a écrit :
Hi,


"{CRYPT}$6$"+SecurityUtils.hash("SHA-512",p);

Note that the static strings in
http://tools.lsc-project.org/projects/lsc/repository/entry/lsc/trunk/src/main/java/org/lsc/utils/SecurityUtils.java
have wrong values :

HASH_SHA512 = "SHA512" should be "SHA-512", same for 256

The documentation should be updated accordingly too. I'm gonna open a
issue request for this.


Thanks for the report. But I don't understand if you want to store password with CRYPT or with SHA512? If this is the second option, then you need to store it as {SHA512}XXXX, not {CRYPT}XXXX.

--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
87, rue de Turbigo - 75003 PARIS
Blog: http://sflx.ca/coudot

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to